If you’ve been wishing that you could have Ruby’s number objects and iterators in Objective-C here’s an open source set of categories made to do just that.
Marin Usalj has created a set of additions for Objective-C arrays, dictionaries, number objects and sets providing a vast number of convenience methods called Objective-C sugar.
Using Objective-C literals along with the methods included in Objective-C sugar it’s possible to achieve a very concise Ruby like syntax for instance here’s an example from the readme printing the same statement 3 times:
Some great additions in these categories.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.