TGTGInsighttelegram intelligenceLIVE / telegram public index
← GitHub Trends

TGINSIGHT SIMILAR POSTS

Find similar content

Source channel @githubtrending · Post #15583 · Mar 24

#python#ai_prompts#ai_skill#bluesky#claude#claude_code#clawhub#deep_research#hackernews#instagram#openclaw#polymarket#recency#reddit#research#social_media#tiktok#trends#twitter#web_search#youtube /last30days is a Claude Code skill that scans Reddit, X, Bluesky, YouTube, TikTok, Instagram, Hacker News, Polymarket, and web for your topic's top discussions, upvotes, bets, and videos from the last 30 days, then synthesizes a cited briefing with ready-to-use prompts. New v2.9.5 adds Bluesky, "X vs Y" comparisons, and auto-saves to build your research library. Install easily via `/plugin install last30days@last30days-skill`. You stay ahead on AI trends, tools, and techniques with real community insights in minutes, skipping hours of manual searching. https://github.com/mvanhorn/last30days-skill

Results

2 similar posts found

Search: #endif

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

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

Пока сообщество (точнее, хэйтеры) занято обсуждением метода 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/