CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

Jonathon Mah

3pods

DMAutoInvalidation

The DMAutoInvalidation class provides behavior to attach an observer object to an owning object. When the owning object is about to deallocate, -invalidate is sent to the observer object.

This library includes pre-built observers for NSNotifcation, key-value observing, Core Data managed objects (observing NSManagedObjectContextObjectsDidChangeNotification and testing if an observed managed object's attributes or relationships have changed), and FSEvents (on Mac desktop only).

The purpose of this is to model observer registration as an object, each with an associated block. This removes the need for the owning objects to dispatch to the desired code (if the observation always funnels through a single callback, such as key-value observing), and removes the need to manually unregister for notifications. With that, the possibility of forgetting to unregister for a notification (and the subsequent crash or bad behavior) is removed.

License: Custom

  • Objective C

JMAttributedFormat

This library adds functionality to create NSAttributedString instances using a format string with format specifiers. Like NSString, the format specifiers can change the order of arguments, so your styled strings can be flexibly localized.

License: MIT

  • Objective C

NSData+FastHex

NSData+FastHex adds a category on NSData to convert to and from a hexadecimal string representation. As the name implies, it has a focus on performance, without sacrificing code clarity.

License: MIT

  • Objective C