TGTGInsighttelegram intelligenceLIVE / telegram public index
← OnePlus Guide

TGINSIGHT SIMILAR POSTS

Trouver du contenu similaire

Chaîne source @OnePlusGuide · Post #2808 · 22 sept.

🔻PANORAMA MODDING - ONEPLUS NORD🔻 #ONEPLUSNORD#MODDING Il Nord è uscito ormai da un po' di tempo e alcuni sviluppatori si sono messi subito all'opera per portare delle Custom ROMs e kernel agli utenti di questo dispositivo. Vi lasciamo qui sotto un Telegraph, per praticità, all'interno del quale troverete il quadro generale di tutte le ROMs e kernel disponibili: 🔸Custom ROMs e Kernels per OnePlus Nord — Già che ci siamo vi ricordiamo che abbiamo fatto delle guide sul modding! 🔸 Come Sbloccare il bootloader 🔸 Come estrarre il payload.bin 🔸 Come ottenere i permessi di Root N.B. All'interno della guida sui permessi di Root ho aggiunto una guida su come ottenerli tramite TWRP! Se avete domande, scriveteci nel nostro gruppo @opnordit ! Pit — Il nostro canale 👉🏻@oneplusguide I nostri gruppi 👉🏻@oneplusitcommunity

Résultats

1 post similaire trouvé

Recherche : #elseif

当前筛选 #elseif清除筛选
мобилки at home

@apphomie · Post #100 · 13/03/2018 09:00

Пока сообщество (точнее, хэйтеры) занято обсуждением метода toggle для Bool, в Swift 4.1 появились две директивы: canImport и targetEnvironment, предложенные Эрикой Садун. Попробовать их можно уже сейчас в Xcode 9.3 beta 4. Первая будет полезна для кроссплатформенных решений и позволяет определить, можно ли импортировать тот или иной модуль. #if canImport(UIKit) // UIKit-based code #elseif canImport(Cocoa) // OSX code #elseif // Workaround/text, whatever #endif Вторая директива с единственно возможным аргументом simulator позволяет выполнить условную компиляцию для симулятора или реального девайса. Теперь не нужно перечислять все любимые нам архитектуры и ОС (arch(i386) || arch(x86_64)) && (!os(macOS)), а достаточно будет этого: // Test for a simulator destination #if targetEnvironment(simulator) print("Simulator") #else print("Device") #endif http://ericasadun.com/2018/03/05/new-to-swift-in-xcode-9-3-beta-4-se-0075-and-se-0190-allow-better-configuration-testing/