Found on GitHub: ObjectiveSugar


Marin Usalj has written a collection of extensions for the NSNumber, NSArray, NSSet, NSString, and NSDictionary classes that brings many of the commonly used methods from their Ruby counterparts such as each or times. If you’re familiar with Ruby and doing some iOS or Mac development these extensions can definitely save you some work.

Check out the samples below, pulled from the ObjectiveSugar ReadMe and add the code to your project using Cocoapods.


Steven Huey

Steven Huey

Senior Software Engineer at Art & Logic
Mac and iOS developer and project manager at Art+Logic. Twitter | GitHub
Steven Huey


Father of 4 |  Developer
@chimehq Can I get a beta invite? - 1 month ago
Steven Huey


Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.