Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 1.23 KB do |s| = 'NSContainers-PrettyPrint'
s.version = '0.0.1'
s.license = 'FDOSL'
s.summary = 'Print your own object descriptions just like Apple\'s own NSArray and NSDictionary.'
s.homepage = '' = { 'Chris Miller' => '' }
s.source = { :git => '', :tag => '0.0.1' }
s.description = 'What part of "{\n foo : bar,\n someArray: (\n foo,\n bar\n )\n}" don\'t you understand? Apple has documented that NSArray, NSDictionary, NSSet, and friends should honor the descriptionWithLocale:indent: method should it be present in an object, printing that object without newline-escaping it or anything. Well, ever since Snow Leopard, it doesn\'t for "security reasons." This is a quick swizzle which adds it back. Because your objects are beautiful (so are you) and they deserve the limelight, too! Note that I do not condone this for production use; while debugging, however, this little number can be a total shot of awesome to your day!'
s.source_files = 'PrettyPrint/*.{h,m}'
s.framework = 'Foundation'
s.requires_arc = true
s.dependency 'JRSwizzle', '~> 1.0'
Jump to Line
Something went wrong with that request. Please try again.