In perfect world every action finish with the success. In real world it's not. In perfect world sending network request returns with a result. In real world it fail sometimes due to dozen of reasons, and since we're living in the real world I have to…
Linux compatible Swift and Swift Package Manager
Apple opensourced Swift [https://swift.org/] today, as promised in early 2015. This is great, awesome etc... but I'm not about that here. Together with Swift - programming language, Apple presented Linux port of Swift compiler and some tools. One of the tools is Swift Package Manager [https:…
Swift reflection about food
Reflection in practice Reflection [https://en.wikipedia.org/wiki/Reflection_(computer_programming)] technique may be useful to build quasi generic functions that operate at runtime. It may be quasi type safe, though it uses runtime too - as such can't be optimised/validated during compilation. With Objective-C we…
Where "where" may be used?
This is by far the most faved/retweeted Swift [https://developer.apple.com/swift/] tip of mine lately: > don't forget you can do this 🎉 in Swift #swiftlang [https://twitter.com/hashtag/swiftlang?src=hash] pic.twitter.com/izVlfcqOYv [https://t.co/izVlfcqOYv] — Marcin Krzyzanowski (@krzyzanowskim) November 10,…
Swift London about Natalie, the talk
Earlier this month (October 19, 2015), I had the pleasure to be part of Swift London [http://www.meetup.com/swiftlondon/events/226121906/] meetup. I talked about Natalie - Storyboard Code Generator [https://github.com/krzyzanowskim/Natalie] presenting my approach to the "problem" of Storyboards [https://developer.apple.…