TGTGInsighttelegram intelligenceLIVE / telegram public index
← OnePlus Guide

TGINSIGHT SIMILAR POSTS

Trouver du contenu similaire

Chaîne source @OnePlusGuide · Post #2028 · 15 févr.

~ Aggiornamento HavocOS 2.2 del 15 febbraio ~ #Havocos • Nuova implementazione del display ambient • Aggiunto il color picker per lo sfondo del tema • Aggiunto l'AOD in ricarica • Aggiunta l'opzione dell'accento per i Quick Settings • Aggiunto feedback aptico per le gestures OnePlus • Aggiunto l'home button wake per alcuni dispositivi • Riorganizzazione delle impostazioni Havoc • Migliorata la UI • Rimozione della musica ambient dalla schermata di blocco • Aggiustati i toast con le lingue RTL • Aggiustato il gradient dei QS con l'header attivo • Rimossi i glitch con il music ticker • Aggiustato il layout della navbar compatta • Aggiustata la finestra dell'autofill con il tema scuro • Aggiustato il tema scuro del wellbeing Le modifiche saranno integrate in tutte le builds uscite a partire da ora. Come al solito, pubblicheremo qui le nuove uscite. Pierre

Hashtags

Résultats

2 posts similaires trouvés

Recherche : #endif

当前筛选 #endif清除筛选
мобилки 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/