Subscribe And Get 4 FREE Power Swift Playgrounds With The Latest Swift 3.0 Syntax
You'll learn: Error Handling with Swift 3.0, Protocol-Oriented Programming, Reference vs Value Types, and Higher Order Functions
I keep having a hard time remembering how Implicitly Unwrapped Optionals (IUOs) work in Swift 3, so I went back and watched that part of the What’s New in Swift WWDC16 talk again. This time, I want to write it down as a reference to myself and for anyone else who needs it.
Last week I attended iOSDevCampDC, where I had the pleasure of hearing @ayanonagon‘s talk on testing. For testing purposes and to my surprise, she implemented a default Equatable on a protocol similar to this...
Last week, I spoke at and attended iOSDevCampDC, where I had the pleasure of listening to @atomicbird‘s great talk on StackViews. I already wrote about how easy it is to do a simple animation with StackView, but I was also impressed by how easy it is to support screen rotation from Portrait to Landscape using StackViews.
Last week, I spoke at and attended iOSDevCampDC, where I had the pleasure of listening to @atomicbird‘s great talk on StackViews. I knew StackView basics, but I had no idea how easy it is to create some impressive-looking animations with them! Here is an example of the cool animation that @atomicbird demoed and I reproduced […]
I've finally have little bit of time set aside this weekend to work on a fun side project. Ever since I saw my friend @chiuki's Fit Cat app on the Android Watch, I knew I needed to have it on my Apple Watch and @chiuki agreed to let me make it.
Of course when I started my new project, I opened the Assets Catalog, and was immediately tempted to create Fit Cat stickers. After all, wouldn't it be fun to share these with your friends?!!!
So today I’m going to talk about a topic that I’m completely uncomfortable talking about publicly - diversity in tech and in our community. Wish me luck 🙈
At the try! Swift Conference in Tokyo, @purpleyay gave a mind-blowing talk on Type Erasure (full video and slides here). I’m honestly still trying to wrap my head around it, and especially the use-cases, but for now, I wanted to write down the example from the talk to keep in my mind and refer to later when it suddenly fits the problem I’m solving.
I’m currently reading Refactoring to Patterns (affiliate link). Yesterday, when I wrote about the Creation Method for an object that has a lot of parameters, it made me think of @modocache‘s amazing talk on Swift Patterns in iOS API Design, specifically the part of about Parameter Objects. This has come up for me a few times since I initially saw the talk, so I wanted to document it here.
As I spoke at and attended several conferences last month, the book Refactoring to Patterns (affiliate link) kept coming up again and again, especially in my favorite talks. I finally have a little time to read it (before all the after-WWDC-announcement craziness ascends), and I’d like to document the patterns I like for future reference. I also found it better to remember the information by translating the Java in the book to Swift. The first pattern is the Creation Method.
It's a common pattern in Swift (and a really nice one!) to configure constants right when they are initialized in a closure vs later on in a viewDidLoad or another such method... but it can get awkward!