S Link
Mega Swift Bundle
The ultimate iOS library β 8 books with everything you need to become an iOS 9 and Swift 2 master! Includes books on beginning Swift & iOS development, intermediate topics like watchOS & tvOS development, and advanced topics like new iOS 9 APIs, Core Data and iOS animations.
The Worldβs First Logging Platform for Swift
The popular logging framework SwiftyBeaver (1,000+ stars on Github) just unveiled its own cloud platform in private beta. It is making it even more convenient to log in Swift 2 and 3 not just only during development but now also on release without the need to change frameworks in between.
Besides being the first of its kind and 100% Swift, the new cloud platform also offers unique end-to-end encryption, the option to use in-house servers and a native Mac App for a Twitter-like experience.
The private beta is free and an own community Slack channel helps on getting started.
Swift Around the Web
Swift Associated Types, cont.
"what the heck is an existential?"
I honestly still have no idea after reading this, but I've been obsessed by protocols with associated types lately, and this helps me go a bit deeper into the rabbit hole, or at least see how complicated this stuff is and feel better about myself when protocols with associated types don't work the way I want them to work.
Swift's nonmutating Keyword
Whoa! Swift has a nonmutating
keyword:
"I'd consider it nonmutating, though, because it doesn't change the instance itself, just global state." - @Sidnicious
π€
Coding
Coordinators with Storyboards
Whoa! The power of the Coordinator pattern combined with Storyboards!
"where a button has been tapped the source view controller's @IBAction calls its coordinator without any knowledge of what that tap signifies. The coordinator triggers the segue, which will be created by the storyboard, which in turn will create the destination view controller and present it onscreen. The source view controller is at this point completely isolated from the view hierarchy, while coordination is provided by a module consisting of the storyboard, its segues and a very lightweight coordinator object."
UITextChecker
Apparently this has been around since iOS 3.2. Mind blown π₯
"UIKit includes a class to help you with your userβs typing inside your app"
Apple News
"Sober up" the type checker by improving type inference over dictionary
"From reddit post to fix in less than 12 hours" πππ
You can read about the original 12 hour compile time bug here, and some great tips on debugging it here. Amazing to see the Swift team respond so swiftly π
Other Cool Stuff
In Case You Missed It
try! Swift NYC
I'm extremely excited to bring try! Swift to New York City in September, featuring a brand new amazing speaker lineup of the best in the industry (more to be announced!). There are only a few more tickets left at the discounted price, so I've extended the sale until midnight tonight (EST)! Thank you so much to all the Swift Bird supporters who have already purchased a ticket π€ππ
Videos
Prototyping Magic, with Adam Bell
TL;DR by @NeoNacho: "Talk by @b3ll is basically: MAKE APPS GREAT AGAIN!"
But seriously, this is an amazing talk on how Swift Playgrounds combined with SwiftyGestureRecognition and POP can help you prototype animations, making your apps amazing magic again β¨
Backend-driven native UIs
I watched @johnsundell give this talk at @appbuilders_ch last week and was genuinely impressed by the idea of having such a crazy flexible UI. Luckily he gave this talk at a the @Scale conference earlier and there is a video! Must watch!
ο£ΏWATCH
ClockKit complications cheat sheet
Glad to have this as a reference! I've downloaded the WWDC slides for this very reason a few times already!
Swift Code
- RxBluetoothKit - iOS & OSX Bluetooth library for RxSwift (Blog post here)
- DefaultStringConvertible - A default CustomStringConvertible implementation for Swift types
- OnOffButton - On & Off by Creativedash
- TabDrawer - TabDrawer is a customizable TabBar UI element that allows you to run a block of code upon TabBarItem selection, or display a customizable drawer.
- Cuckoo - First boilerplate-free mocking framework for Swift!
- Jukebox - Player for streaming local and remote audio files. Written in Swift.
Business
So you want to build a data business? Play the long game
Chipotle first quarter sales estimate by @foursquare:
- Foursquare: -30%
- Chipotle actual: -29.7% $CMG
Impressive and a great point on how to think about data when starting your own long-term app business.
Swift Thoughts
I'll admit it - when I heard developers wish for Xcode on their iPad or iPhone, I honestly didn't get it. I like to code on my computer and doing it on an iPad just doesn't sound that appealing. But last week, I saw this and immediately wanted it! I guess it's something about the reframing of a playground on the iPad vs all of Xcode that made it click.
I like the idea of using my iPad as a second screen for experimenting with Swift in a playground while coding, especially since I'm now always traveling and don't have an external monitor. Of course, IBM already has a Swift Sandbox on the web, so maybe I'll give that a try while waiting for the native app version :)