Some spam/fraud robocaller managed to call the emergency phone in our building’s elevator and blasted the “we’re just calling blah blah renew your auto insurance” on repeat. Hilarious and also a bit annoying 😂
Discovery of the day: the more cores your Mac has, the slowest to compile Swift it will be. Can anyone explain why writing a wrapper that forces Swift to use 4 jobs (passing `-j4` to swiftc) makes our build 30% faster on a machine with 8 cores? 🤔
https://t.co/BPis7Y3k4z
Please RT if you aren't new to tech but still get the "Imposter syndrome" amidst all your experience.
Having people Realize their favorites/mentors/role model also go through that, helps a lot on their tech journey and personal development.
@marmelroy It’s defined in both UIKit and the Swift UIKit overlay. The compiler doesn’t have retain enough info to be able to distinguish them and pick the right one (the one from UIKit)
https://t.co/0fYGzKkXpL
😬
If you need your app to behave differently based on device traits, you can store a configuration plist as data in your asset catalog and set different property lists for different devices, amounts of memory, Metal version, etc. Use NSDataAsset to load.
Sooo `NSMutableDictionary` does not import with the Key and Value type hints in Swift 4. That caused a nice really hard to debug crash…
I.e. this compiles fine
foo: NSMutableDictionary<NSString *, id>
foo[false] = true
😱
See the lines with breakpoints in the screenshot
Remember Sublime Text's multiple cursors? For the new refactoring engine, the Xcode team developed a simple implementation for testing, but kept it disabled:
defaults write https://t.co/D0YvLBgPdY.dt.Xcode PegasusMultipleCursorsEnabled -bool true
Oh noes 😨
I think I’m in a “how many ads can humans take before they stop using our service” A/B cell on YouTube. Keep getting 8 ads for videos. Even for videos that are 10-15 minutes long. Pre-roll, mid-roll and post-roll 😭
Xcode 9.3 beta (out as of yesterday) includes Swift 4.1 in it. Higlights include recursive protocols and conditional conformances support (w/o runtime casts). Feedback about build times, source compat, Osize optimization mode welcome as well as any other. :)
I'm not sure what I want to do with it first, but I really want to try out @luna_language. It looks like magic! It also looks like what a programmer on a TV show would be programming in.
https://t.co/3rkCLkZqq6