Created
July 30, 2012 07:39
-
-
Save ikesyo/3205528 to your computer and use it in GitHub Desktop.
DescriptionBuilder.podspec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Pod::Spec.new do |s| | |
| s.name = 'DescriptionBuilder' | |
| s.version = '0.1' | |
| s.platform = :ios | |
| s.summary = 'DescriptionBuilder is helper class to make easier implementing NSObject description method. | |
| Or dump all instance variables of any object. ' | |
| s.homepage = 'https://github.com/kishikawakatsumi/DescriptionBuilder' | |
| s.author = { 'KISHIKAWA Katsumi' => 'kishikawakatsumi@gmail.com' } | |
| s.source = { :git => 'https://github.com/kishikawakatsumi/DescriptionBuilder.git', :branch => 'master' } | |
| s.description = '* Usage | |
| - (NSString *)description { | |
| return [DescriptionBuilder reflectDescription:self]; | |
| } | |
| Or, | |
| - (NSString *)description { | |
| return [DescriptionBuilder reflectDescription:self style:DescriptionStyleMultiLine]; | |
| } | |
| Output: | |
| <Settings: 0xd188b0; version = 100; autoLock = NO; twentyFourHourTime = YES; alarmSound = "digital-alarm"; alarmVolume = 1.000000>' | |
| s.requires_arc = false | |
| s.source_files = 'Classes/DescriptionBuilder.{h,m}' | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment