TGTGInsightintelligence telegramLIVE / telegram public index
← Writing Way

TGINSIGHT SIMILAR POSTS

Trova contenuti simili

Canale sorgente @WritingWay · Post #803 · 16 gen

⁣I PRINCIPALI PROBLEMI DEI TESTI SONO QUESTI Fare editing ad un testo non significa soltanto valutarne la forma, trovare gli errori ortografici, sintattici e grammaticali – questo lo può fare il correttore di bozze – ma anche testarne efficacia e leggibilità. In una parola: vagliare le sue potenzialità per un’eventuale pubblicazione sia che si tratti di post o articolo sia di un romanzo o un manuale. Gli aspetti di cui tenere conto sono tanti e nel mio quotidiano lavoro di editor mi accorgo che alcune problematiche sono diffuse e riscontrabili in molte delle opere che analizzo. Nell'articolo che condivido con te potrai trovare alcuni fra i principali problemi che i testi presentano nel quotidiano e con maggiore frequenza. 👩‍💼@AlessandraPerotti #scrivere#scrittura#editing

Risultati

1 post simile trovati

Cerca: #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/