The internet's most comprehensive Swift resource.




by Christian Tietze     christiantietze.de
Swift Version: 2.2
Now that TableFlip is nearing completion, I want to share details of how I created this piece of software with you. Today, I'll start with the bigger picture: ...

by Christian Tietze     christiantietze.de
Swift Version: 2.0
How do you test NSURLSession properly? After all, using it in tests directly will hit the servers; that's not what you want to do 1000s of times per day. ...

by Christian Tietze     christiantietze.de
Swift Version: 2.0
Matt Galagher is back writing at Cocoa with Love. His goal is maintainability, which is the greatest of all, I think. It's easy to copy code samples together ...

by Christian Tietze     christiantietze.de
Swift Version: 2.0
Recently on Google+, someone recommended Wallace Wang's Swift OS X Programming for Absolute Beginners. Well, I'm not a beginner anymore, but the book sounded ...

by Christian Tietze     christiantietze.de
Swift Version: 1.2
From the department of Domain-Driven Design code patterns, I today present to you: well-named value objects! You can go a lot farther than you have previously ...

by Christian Tietze     christiantietze.de
Swift Version: 1.2
I found a very useful distinction by Matthijs Hollemans to grasp what protocol extensions in Swift 2 can be: instead of interfaces, they are traits or ...

by Christian Tietze     christiantietze.de
Swift Version: 1.2
I just found a shortcut to use Dependency Injection (https://en.wikipedia.org/wiki/Dependency_injection) less during tests. In "Unit Testing in Swift ...

by Christian Tietze     christiantietze.de
Swift Version: 1.1
The other day, I wrote a post about bind() and the >>= operator and how it can help chain function calls together. The example was a bit too contrived ...

by Christian Tietze     christiantietze.de
Swift Version: 1.1
East-Oriented programming can, for example, be implemented through delegates or callback blocks. "East" is all about Tell, Don't Ask (https://pragprog.com/articles/tell-dont-ask): ...

by Christian Tietze     christiantietze.de
Swift Version: 1.1
Singletons have their use. I use two Singletons regularly in my projects: a DomainPublisher and a ServiceLocator. The latter is a registry of service objects ...

by Christian Tietze     christiantietze.de
Swift Version: 1.1
Refactoring Legacy Code is hard. There are a few safe refactorings you can do with caution. But most chirurgical cuts require you to put the code in a ...

by Christian Tietze     christiantietze.de
Swift Version: 1.1
How I use blocks and functions to vary behavior in objects.

by Christian Tietze     christiantietze.de
Swift Version: 1.1
Brent Simmons starts with Swift. And just as I, he struggles with value types, protocols, and generics: once a protocol references another or has a dependency ...

by Christian Tietze     christiantietze.de
Swift Version: 1.1
I'm writing unit tests for my Storyboard-based view controllers. Button interaction can be tested in view automation tests, but that's slow, and it's complicated, ...

by Christian Tietze     christiantietze.de
Swift Version: 1.1
I like when the code is explicit. Unlike Brent Simmons, I don't feel comfortable using string literals in code especially not when I'm still fleshing things ...



© 2015 SoSoSwift. Blog · About · Contact · Privacy policy · Terms of service · RSS