CocoaUPnP is a logical progression of upnpx - designed to be easy, modern and block-based.
Currently it supports most of the methods required by the audio video device control protocols.
It features a comprehensive suite of unit tests
Quickly and easily create an in-memory context for Unit Testing Core Data entities. Despite the name, SQFInMemoryContext is actually just a simple category on NSManagedObjectContext.
Install by either dragging the header and implementation files into your project, or by installing using CocoaPods:
Import the convenience header.
Instantiate a new context for your tests:
NSManagedObjectContext *moc = [NSManagedObjectContext memoryStoreForModel:@"MyCoreDataModel"];
Returns either black or white based on the contrast against the current colour.
There are currently two options for determining which colour to use: the 50% method, or the YIQ method.
UIDeviceHardware is a class which allows querying of the current users device, and returns a human formatted string.
UIImage+ColorFromImage is a category on
UIImage which returns a
UIColor based on the image this method is called from.