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.…
ChunkSequence 🔪🍰
Have cake and eat it Have a cake and consume the cake by the Swift [https://developer.apple.com/swift/] function, at the same time. Magic. The nature of the Swift type is that it is copied or copied on write [https://en.wikipedia.org/wiki/Copy-on-write]. When I assign…
CryptoSwift 0.1.0
Finally major update to CryptoSwift [https://github.com/krzyzanowskim/CryptoSwift] framework. > Crypto related functions and helpers for Swift implemented in Swift. I really enjoy working on CryptoSwift in my spare time, this is why today I'm glad to announce version 0.1 with a major changes to…