Protocols in Swift, the ongoing discussion August 18, 2015
Protocols in Swift are really powerful thanks to be able to be generic and to protocol extensions. But there is some things that drive us nuts. Mainly the usage of...
A world of coding 💻, by Alejandro Martinez
Protocols in Swift are really powerful thanks to be able to be generic and to protocol extensions. But there is some things that drive us nuts. Mainly the usage of...
Last week I had to made some changes on the colors of the WorkAngel app. The colors of that app are retrieved through an object called ThemeColor (we have another...
Yes, the title is not wrong. Apple just released Xcode 6.3 beta that includes multiple huge improvements to Swift 1.2 solving a lot of concerns that we all had. But...
Matt talks on NSHipster about default protocol implementations. I already said that it's a feature that I miss in Siwft (and in Objective-C). I'd never saw any big talk about...
For now, the Siwft and Objective-C protocols are two diferent things. The biggest differences is that Swift protocols can have structs and enums and can be adopted by value types.This...
Today I released AMPActivityIndicator. I wrote this little class a year ago and today I made a little clean up and made it available through Cocoapods.It's been very pleasant to...
I really recommend watching this talk. It's about metaprogramming in Ruby but the majority of things are applicable to our loved Objective-C, since both languages take advantage of the Smalltalk...
Really interesting talk about Object-Oriented Programming in a time when I wasn't even born! It´s really amazing how the tools that I use every day were created so many years...
This is a case of direct translation from Objective-C methods that don’t really look right in swift. The reason this works is swift’s external parameter names, which I think...
Yes, now we have a cool and simplified clousure syntax with Swift. But it's good not forget the Objective-C block syntax. Here is a little .m that I used a...
The good thing is that I've never used prefixes in App code. And I hate category methods with prefixes. Just remember, we are talking about app code, if you are shipping...
LinkedIn has open sourced Isaac, it's library to convert JSON into Objective-C model objects. I think it's a a cool library, although I normally use KZPropertyMapper. But I see a problem,...
The use of blocks has spread over all Objective-C code. Normally we see them as callbacks (completion blocks) for animations or for async tasks (GCD, another cool kid) but they...