17
17

Working with collections seems to be one of the most common tasks for a programmer. As a result, every modern language tries to make this as easy and clean as possible. Fast enumeration and blocks are great examples of how language support can make collection operations cleaner.

Read More »

17
16
16

Here’s a custom UICollectionViewFlowLayout that uses hexagonal cells submitted by Cyril Chandelier called CCHexagonFlowLayout. With CCHexagonFlowLayout you can easily customize the orientation, size and spacing, and add in supplementary views.

Read More »

16

Redefine makes easier to overwrite methods implementations during runtime using the objc runtime. It also makes possible to switch back and forth through implementations, the original and the new one. It uses the C++ concept of RAII, so the user just have to make sure to maintain a reference to the redefinition object for it to take place. When it is deallocated, everything goes back to normal.

Read More »

15
15
15

Automated tests are very useful to test your app “while you sleep”. It enables you to quickly track regressions and performance issues, and also develop new features without worrying to break your app.

Since iOS 4.0, Apple has released a framework called UIAutomation, which can be used to perform automated tests on real devices and on the iPhone Simulator. The documentation on UIAutomation is quite small and there is not a lot of resources on the web. This tutorial will show you how to integrate UIAutomation in your workflow.

Read More »

15

Here’s an open source iOS library from Pierre-Oliver Latour that provides a lightweight embeddable http web server called GCDWebServer.

GCDWebServer is built with an event-driven design using grand central dispatch, and provides a number of very nice extra features such as JSON parsing and serialization, http compression with gzip and more. There are also extensions providing an interface for uploading/downloading files, and a WEBDAVServer.

Read More »