mokacoding

unit and acceptance testing, automation, productivity

Posts tagged "objective-c"

AFNetworking custom response serializer to add error information

How to implement a custom AFNetworking response serializer to read the failure response data and populate the callback error with it.

Explicit Dependencies for Code with No Surprises

Sometimes the idea we get when reading a class interface is different from what is actually going on inside its implementation, for example there could be several hidden dependencies. Making a class dependency explicit in its interface is a useful technique to make the code simpler to understand, and easier to test.

Bringing font icons in iOS with MTFontIcon

Introducing MTFontIcon, a CocoaPod library for iOS to improve application development efficiency by using font icons.