Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rename some files and update copyright information.

  • Loading branch information...
commit b148f0dff0d7903fe8e2fcccdd9207090b94aed1 1 parent 55b6adf
@anagromataf anagromataf authored
Showing with 457 additions and 313 deletions.
  1. +58 −58 SoundCloudUI.xcodeproj/project.pbxproj
  2. +0 −17 Sources/CocoaExtensions/NSData+SoundCloudAPI.h
  3. +29 −0 Sources/CocoaExtensions/NSData+SoundCloudUI.h
  4. +22 −10 Sources/CocoaExtensions/{NSData+SoundCloudAPI.m → NSData+SoundCloudUI.m}
  5. +2 −2 Sources/CocoaExtensions/{NSString+SoundCloudAPI.h → NSString+SoundCloudUI.h}
  6. +3 −3 Sources/CocoaExtensions/{NSString+SoundCloudAPI.m → NSString+SoundCloudUI.m}
  7. +0 −19 Sources/CocoaExtensions/QuartzCore+SoundCloudAPI.h
  8. +30 −0 Sources/CocoaExtensions/QuartzCore+SoundCloudUI.h
  9. +17 −6 Sources/CocoaExtensions/{QuartzCore+SoundCloudAPI.m → QuartzCore+SoundCloudUI.m}
  10. +0 −21 Sources/CocoaExtensions/UIColor+SoundCloudAPI.h
  11. +0 −44 Sources/CocoaExtensions/UIColor+SoundCloudAPI.m
  12. +33 −0 Sources/CocoaExtensions/UIColor+SoundCloudUI.h
  13. +56 −0 Sources/CocoaExtensions/UIColor+SoundCloudUI.m
  14. +19 −7 Sources/CocoaExtensions/UIDevie+SoundCloudUI.h
  15. +19 −7 Sources/CocoaExtensions/UIDevie+SoundCloudUI.m
  16. +0 −24 Sources/CocoaExtensions/UIImage+SoundCloudAPI.h
  17. +36 −0 Sources/CocoaExtensions/UIImage+SoundCloudUI.h
  18. +21 −9 Sources/CocoaExtensions/{UIImage+SoundCloudAPI.m → UIImage+SoundCloudUI.m}
  19. +0 −19 Sources/CocoaExtensions/UIView+SoundCloudAPI.h
  20. +0 −46 Sources/CocoaExtensions/UIView+SoundCloudAPI.m
  21. +32 −0 Sources/CocoaExtensions/UIView+SoundCloudUI.h
  22. +59 −0 Sources/CocoaExtensions/UIView+SoundCloudUI.m
  23. +1 −1  Sources/CocoaExtensions/UIViewController+SoundCloudUI.h
  24. +1 −1  Sources/CocoaExtensions/UIViewController+SoundCloudUI.m
  25. +2 −2 Sources/SoundCloudUI/SCAddConnectionViewController.m
  26. +2 −2 Sources/SoundCloudUI/SCCoverImageButton.m
  27. +2 −2 Sources/SoundCloudUI/SCFoursquarePlacePickerController.m
  28. +1 −1  Sources/SoundCloudUI/SCNameAndEmailCell.m
  29. +3 −3 Sources/SoundCloudUI/SCRecordingSaveViewController.m
  30. +3 −3 Sources/SoundCloudUI/SCRecordingSaveViewControllerHeaderView.m
  31. +2 −2 Sources/SoundCloudUI/SCRecordingUploadProgressView.m
  32. +2 −2 Sources/SoundCloudUI/SCSwitch.m
  33. +1 −1  Sources/SoundCloudUI/SCTableCellBackgroundView.m
  34. +1 −1  Sources/SoundCloudUI/SCTextField.m
View
116 SoundCloudUI.xcodeproj/project.pbxproj
@@ -17,18 +17,18 @@
F69FA35314162F0B007AB53A /* OHAttributedLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = F69FA34F14162F0B007AB53A /* OHAttributedLabel.m */; };
F69FA35A1416311A007AB53A /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F69FA3591416311A007AB53A /* CoreText.framework */; };
F6EF8C6513F929D700B20B40 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F6EF8C6413F929D700B20B40 /* Foundation.framework */; };
- F6EF8CC213F92CF900B20B40 /* NSData+SoundCloudAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C8713F92CF900B20B40 /* NSData+SoundCloudAPI.h */; };
- F6EF8CC313F92CF900B20B40 /* NSData+SoundCloudAPI.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C8813F92CF900B20B40 /* NSData+SoundCloudAPI.m */; };
- F6EF8CC413F92CF900B20B40 /* NSString+SoundCloudAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C8913F92CF900B20B40 /* NSString+SoundCloudAPI.h */; };
- F6EF8CC513F92CF900B20B40 /* NSString+SoundCloudAPI.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C8A13F92CF900B20B40 /* NSString+SoundCloudAPI.m */; };
- F6EF8CC613F92CF900B20B40 /* QuartzCore+SoundCloudAPI.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C8B13F92CF900B20B40 /* QuartzCore+SoundCloudAPI.m */; };
- F6EF8CC713F92CF900B20B40 /* QuartzCore+SoundCloudAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C8C13F92CF900B20B40 /* QuartzCore+SoundCloudAPI.h */; };
- F6EF8CC813F92CF900B20B40 /* UIColor+SoundCloudAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C8D13F92CF900B20B40 /* UIColor+SoundCloudAPI.h */; };
- F6EF8CC913F92CF900B20B40 /* UIColor+SoundCloudAPI.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C8E13F92CF900B20B40 /* UIColor+SoundCloudAPI.m */; };
- F6EF8CCA13F92CF900B20B40 /* UIImage+SoundCloudAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C8F13F92CF900B20B40 /* UIImage+SoundCloudAPI.h */; };
- F6EF8CCB13F92CF900B20B40 /* UIImage+SoundCloudAPI.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C9013F92CF900B20B40 /* UIImage+SoundCloudAPI.m */; };
- F6EF8CCC13F92CF900B20B40 /* UIView+SoundCloudAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C9113F92CF900B20B40 /* UIView+SoundCloudAPI.h */; };
- F6EF8CCD13F92CF900B20B40 /* UIView+SoundCloudAPI.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C9213F92CF900B20B40 /* UIView+SoundCloudAPI.m */; };
+ F6EF8CC213F92CF900B20B40 /* NSData+SoundCloudUI.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C8713F92CF900B20B40 /* NSData+SoundCloudUI.h */; };
+ F6EF8CC313F92CF900B20B40 /* NSData+SoundCloudUI.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C8813F92CF900B20B40 /* NSData+SoundCloudUI.m */; };
+ F6EF8CC413F92CF900B20B40 /* NSString+SoundCloudUI.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C8913F92CF900B20B40 /* NSString+SoundCloudUI.h */; };
+ F6EF8CC513F92CF900B20B40 /* NSString+SoundCloudUI.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C8A13F92CF900B20B40 /* NSString+SoundCloudUI.m */; };
+ F6EF8CC613F92CF900B20B40 /* QuartzCore+SoundCloudUI.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C8B13F92CF900B20B40 /* QuartzCore+SoundCloudUI.m */; };
+ F6EF8CC713F92CF900B20B40 /* QuartzCore+SoundCloudUI.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C8C13F92CF900B20B40 /* QuartzCore+SoundCloudUI.h */; };
+ F6EF8CC813F92CF900B20B40 /* UIColor+SoundCloudUI.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C8D13F92CF900B20B40 /* UIColor+SoundCloudUI.h */; };
+ F6EF8CC913F92CF900B20B40 /* UIColor+SoundCloudUI.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C8E13F92CF900B20B40 /* UIColor+SoundCloudUI.m */; };
+ F6EF8CCA13F92CF900B20B40 /* UIImage+SoundCloudUI.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C8F13F92CF900B20B40 /* UIImage+SoundCloudUI.h */; };
+ F6EF8CCB13F92CF900B20B40 /* UIImage+SoundCloudUI.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C9013F92CF900B20B40 /* UIImage+SoundCloudUI.m */; };
+ F6EF8CCC13F92CF900B20B40 /* UIView+SoundCloudUI.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C9113F92CF900B20B40 /* UIView+SoundCloudUI.h */; };
+ F6EF8CCD13F92CF900B20B40 /* UIView+SoundCloudUI.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C9213F92CF900B20B40 /* UIView+SoundCloudUI.m */; };
F6EF8CD013F92CF900B20B40 /* SCAddConnectionViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C9613F92CF900B20B40 /* SCAddConnectionViewController.h */; };
F6EF8CD113F92CF900B20B40 /* SCAddConnectionViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F6EF8C9713F92CF900B20B40 /* SCAddConnectionViewController.m */; };
F6EF8CD213F92CF900B20B40 /* SCAddConnectionViewControllerDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = F6EF8C9813F92CF900B20B40 /* SCAddConnectionViewControllerDelegate.h */; };
@@ -92,27 +92,27 @@
F69FA3591416311A007AB53A /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = System/Library/Frameworks/CoreText.framework; sourceTree = SDKROOT; };
F6EF8C6113F929D700B20B40 /* libSoundCloudUI.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSoundCloudUI.a; sourceTree = BUILT_PRODUCTS_DIR; };
F6EF8C6413F929D700B20B40 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- F6EF8C8713F92CF900B20B40 /* NSData+SoundCloudAPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSData+SoundCloudAPI.h"; sourceTree = "<group>"; };
- F6EF8C8813F92CF900B20B40 /* NSData+SoundCloudAPI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSData+SoundCloudAPI.m"; sourceTree = "<group>"; };
- F6EF8C8913F92CF900B20B40 /* NSString+SoundCloudAPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+SoundCloudAPI.h"; sourceTree = "<group>"; };
- F6EF8C8A13F92CF900B20B40 /* NSString+SoundCloudAPI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+SoundCloudAPI.m"; sourceTree = "<group>"; };
- F6EF8C8B13F92CF900B20B40 /* QuartzCore+SoundCloudAPI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "QuartzCore+SoundCloudAPI.m"; sourceTree = "<group>"; };
- F6EF8C8C13F92CF900B20B40 /* QuartzCore+SoundCloudAPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "QuartzCore+SoundCloudAPI.h"; sourceTree = "<group>"; };
- F6EF8C8D13F92CF900B20B40 /* UIColor+SoundCloudAPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIColor+SoundCloudAPI.h"; sourceTree = "<group>"; };
- F6EF8C8E13F92CF900B20B40 /* UIColor+SoundCloudAPI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIColor+SoundCloudAPI.m"; sourceTree = "<group>"; };
- F6EF8C8F13F92CF900B20B40 /* UIImage+SoundCloudAPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+SoundCloudAPI.h"; sourceTree = "<group>"; };
- F6EF8C9013F92CF900B20B40 /* UIImage+SoundCloudAPI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+SoundCloudAPI.m"; sourceTree = "<group>"; };
- F6EF8C9113F92CF900B20B40 /* UIView+SoundCloudAPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+SoundCloudAPI.h"; sourceTree = "<group>"; };
- F6EF8C9213F92CF900B20B40 /* UIView+SoundCloudAPI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+SoundCloudAPI.m"; sourceTree = "<group>"; };
+ F6EF8C8713F92CF900B20B40 /* NSData+SoundCloudUI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSData+SoundCloudUI.h"; sourceTree = "<group>"; };
+ F6EF8C8813F92CF900B20B40 /* NSData+SoundCloudUI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = "NSData+SoundCloudUI.m"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
+ F6EF8C8913F92CF900B20B40 /* NSString+SoundCloudUI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = "NSString+SoundCloudUI.h"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+ F6EF8C8A13F92CF900B20B40 /* NSString+SoundCloudUI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = "NSString+SoundCloudUI.m"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
+ F6EF8C8B13F92CF900B20B40 /* QuartzCore+SoundCloudUI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = "QuartzCore+SoundCloudUI.m"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
+ F6EF8C8C13F92CF900B20B40 /* QuartzCore+SoundCloudUI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = "QuartzCore+SoundCloudUI.h"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+ F6EF8C8D13F92CF900B20B40 /* UIColor+SoundCloudUI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = "UIColor+SoundCloudUI.h"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+ F6EF8C8E13F92CF900B20B40 /* UIColor+SoundCloudUI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = "UIColor+SoundCloudUI.m"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
+ F6EF8C8F13F92CF900B20B40 /* UIImage+SoundCloudUI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = "UIImage+SoundCloudUI.h"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+ F6EF8C9013F92CF900B20B40 /* UIImage+SoundCloudUI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = "UIImage+SoundCloudUI.m"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
+ F6EF8C9113F92CF900B20B40 /* UIView+SoundCloudUI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = "UIView+SoundCloudUI.h"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+ F6EF8C9213F92CF900B20B40 /* UIView+SoundCloudUI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = "UIView+SoundCloudUI.m"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
F6EF8C9613F92CF900B20B40 /* SCAddConnectionViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCAddConnectionViewController.h; sourceTree = "<group>"; };
- F6EF8C9713F92CF900B20B40 /* SCAddConnectionViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCAddConnectionViewController.m; sourceTree = "<group>"; };
+ F6EF8C9713F92CF900B20B40 /* SCAddConnectionViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SCAddConnectionViewController.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
F6EF8C9813F92CF900B20B40 /* SCAddConnectionViewControllerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCAddConnectionViewControllerDelegate.h; sourceTree = "<group>"; };
F6EF8C9B13F92CF900B20B40 /* SCBundle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCBundle.h; sourceTree = "<group>"; };
F6EF8C9C13F92CF900B20B40 /* SCBundle.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCBundle.m; sourceTree = "<group>"; };
F6EF8C9D13F92CF900B20B40 /* SCCoverImageButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCCoverImageButton.h; sourceTree = "<group>"; };
- F6EF8C9E13F92CF900B20B40 /* SCCoverImageButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCCoverImageButton.m; sourceTree = "<group>"; };
+ F6EF8C9E13F92CF900B20B40 /* SCCoverImageButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SCCoverImageButton.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
F6EF8C9F13F92CF900B20B40 /* SCFoursquarePlacePickerController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCFoursquarePlacePickerController.h; sourceTree = "<group>"; };
- F6EF8CA013F92CF900B20B40 /* SCFoursquarePlacePickerController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCFoursquarePlacePickerController.m; sourceTree = "<group>"; };
+ F6EF8CA013F92CF900B20B40 /* SCFoursquarePlacePickerController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SCFoursquarePlacePickerController.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
F6EF8CA113F92CF900B20B40 /* SCFoursquarePlacePickerControllerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCFoursquarePlacePickerControllerDelegate.h; sourceTree = "<group>"; };
F6EF8CA213F92CF900B20B40 /* SCHorizontalLineView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCHorizontalLineView.h; sourceTree = "<group>"; };
F6EF8CA313F92CF900B20B40 /* SCHorizontalLineView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCHorizontalLineView.m; sourceTree = "<group>"; };
@@ -121,13 +121,13 @@
F6EF8CA613F92CF900B20B40 /* SCLoginViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCLoginViewController.h; sourceTree = "<group>"; };
F6EF8CA713F92CF900B20B40 /* SCLoginViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCLoginViewController.m; sourceTree = "<group>"; };
F6EF8CA813F92CF900B20B40 /* SCNameAndEmailCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCNameAndEmailCell.h; sourceTree = "<group>"; };
- F6EF8CA913F92CF900B20B40 /* SCNameAndEmailCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCNameAndEmailCell.m; sourceTree = "<group>"; };
+ F6EF8CA913F92CF900B20B40 /* SCNameAndEmailCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SCNameAndEmailCell.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
F6EF8CAA13F92CF900B20B40 /* SCRecordingSaveViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCRecordingSaveViewController.h; sourceTree = "<group>"; };
- F6EF8CAB13F92CF900B20B40 /* SCRecordingSaveViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCRecordingSaveViewController.m; sourceTree = "<group>"; };
+ F6EF8CAB13F92CF900B20B40 /* SCRecordingSaveViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SCRecordingSaveViewController.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
F6EF8CAD13F92CF900B20B40 /* SCRecordingSaveViewControllerHeaderView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCRecordingSaveViewControllerHeaderView.h; sourceTree = "<group>"; };
- F6EF8CAE13F92CF900B20B40 /* SCRecordingSaveViewControllerHeaderView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCRecordingSaveViewControllerHeaderView.m; sourceTree = "<group>"; };
+ F6EF8CAE13F92CF900B20B40 /* SCRecordingSaveViewControllerHeaderView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SCRecordingSaveViewControllerHeaderView.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
F6EF8CAF13F92CF900B20B40 /* SCRecordingUploadProgressView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCRecordingUploadProgressView.h; sourceTree = "<group>"; };
- F6EF8CB013F92CF900B20B40 /* SCRecordingUploadProgressView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCRecordingUploadProgressView.m; sourceTree = "<group>"; };
+ F6EF8CB013F92CF900B20B40 /* SCRecordingUploadProgressView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SCRecordingUploadProgressView.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
F6EF8CB113F92CF900B20B40 /* SCShareToSoundCloudTitleView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCShareToSoundCloudTitleView.h; sourceTree = "<group>"; };
F6EF8CB213F92CF900B20B40 /* SCShareToSoundCloudTitleView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCShareToSoundCloudTitleView.m; sourceTree = "<group>"; };
F6EF8CB313F92CF900B20B40 /* SCShareViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCShareViewController.h; sourceTree = "<group>"; };
@@ -135,13 +135,13 @@
F6EF8CB513F92CF900B20B40 /* SCSharingMailPickerController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCSharingMailPickerController.h; sourceTree = "<group>"; };
F6EF8CB613F92CF900B20B40 /* SCSharingMailPickerController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCSharingMailPickerController.m; sourceTree = "<group>"; };
F6EF8CB713F92CF900B20B40 /* SCSwitch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCSwitch.h; sourceTree = "<group>"; };
- F6EF8CB813F92CF900B20B40 /* SCSwitch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCSwitch.m; sourceTree = "<group>"; };
+ F6EF8CB813F92CF900B20B40 /* SCSwitch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SCSwitch.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
F6EF8CB913F92CF900B20B40 /* SCSwitchLabel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCSwitchLabel.h; sourceTree = "<group>"; };
F6EF8CBA13F92CF900B20B40 /* SCSwitchLabel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCSwitchLabel.m; sourceTree = "<group>"; };
F6EF8CBB13F92CF900B20B40 /* SCTableCellBackgroundView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCTableCellBackgroundView.h; sourceTree = "<group>"; };
- F6EF8CBC13F92CF900B20B40 /* SCTableCellBackgroundView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCTableCellBackgroundView.m; sourceTree = "<group>"; };
+ F6EF8CBC13F92CF900B20B40 /* SCTableCellBackgroundView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SCTableCellBackgroundView.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
F6EF8CBD13F92CF900B20B40 /* SCTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCTextField.h; sourceTree = "<group>"; };
- F6EF8CBE13F92CF900B20B40 /* SCTextField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCTextField.m; sourceTree = "<group>"; };
+ F6EF8CBE13F92CF900B20B40 /* SCTextField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SCTextField.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
F6EF8CBF13F92CF900B20B40 /* SCUI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCUI.h; sourceTree = "<group>"; };
F6EF8CC013F92CF900B20B40 /* SCUnderlinedButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCUnderlinedButton.h; sourceTree = "<group>"; };
F6EF8CC113F92CF900B20B40 /* SCUnderlinedButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCUnderlinedButton.m; sourceTree = "<group>"; };
@@ -277,18 +277,18 @@
F6EF8C8613F92CF900B20B40 /* CocoaExtensions */ = {
isa = PBXGroup;
children = (
- F6EF8C8713F92CF900B20B40 /* NSData+SoundCloudAPI.h */,
- F6EF8C8813F92CF900B20B40 /* NSData+SoundCloudAPI.m */,
- F6EF8C8913F92CF900B20B40 /* NSString+SoundCloudAPI.h */,
- F6EF8C8A13F92CF900B20B40 /* NSString+SoundCloudAPI.m */,
- F6EF8C8C13F92CF900B20B40 /* QuartzCore+SoundCloudAPI.h */,
- F6EF8C8B13F92CF900B20B40 /* QuartzCore+SoundCloudAPI.m */,
- F6EF8C8D13F92CF900B20B40 /* UIColor+SoundCloudAPI.h */,
- F6EF8C8E13F92CF900B20B40 /* UIColor+SoundCloudAPI.m */,
- F6EF8C8F13F92CF900B20B40 /* UIImage+SoundCloudAPI.h */,
- F6EF8C9013F92CF900B20B40 /* UIImage+SoundCloudAPI.m */,
- F6EF8C9113F92CF900B20B40 /* UIView+SoundCloudAPI.h */,
- F6EF8C9213F92CF900B20B40 /* UIView+SoundCloudAPI.m */,
+ F6EF8C8713F92CF900B20B40 /* NSData+SoundCloudUI.h */,
+ F6EF8C8813F92CF900B20B40 /* NSData+SoundCloudUI.m */,
+ F6EF8C8913F92CF900B20B40 /* NSString+SoundCloudUI.h */,
+ F6EF8C8A13F92CF900B20B40 /* NSString+SoundCloudUI.m */,
+ F6EF8C8C13F92CF900B20B40 /* QuartzCore+SoundCloudUI.h */,
+ F6EF8C8B13F92CF900B20B40 /* QuartzCore+SoundCloudUI.m */,
+ F6EF8C8D13F92CF900B20B40 /* UIColor+SoundCloudUI.h */,
+ F6EF8C8E13F92CF900B20B40 /* UIColor+SoundCloudUI.m */,
+ F6EF8C8F13F92CF900B20B40 /* UIImage+SoundCloudUI.h */,
+ F6EF8C9013F92CF900B20B40 /* UIImage+SoundCloudUI.m */,
+ F6EF8C9113F92CF900B20B40 /* UIView+SoundCloudUI.h */,
+ F6EF8C9213F92CF900B20B40 /* UIView+SoundCloudUI.m */,
F6F5E4EB13F963B700492B2B /* UIDevie+SoundCloudUI.h */,
F6F5E4EC13F963B700492B2B /* UIDevie+SoundCloudUI.m */,
F6F9D0561456A8F5004106BA /* UIViewController+SoundCloudUI.h */,
@@ -386,12 +386,12 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
- F6EF8CC213F92CF900B20B40 /* NSData+SoundCloudAPI.h in Headers */,
- F6EF8CC413F92CF900B20B40 /* NSString+SoundCloudAPI.h in Headers */,
- F6EF8CC713F92CF900B20B40 /* QuartzCore+SoundCloudAPI.h in Headers */,
- F6EF8CC813F92CF900B20B40 /* UIColor+SoundCloudAPI.h in Headers */,
- F6EF8CCA13F92CF900B20B40 /* UIImage+SoundCloudAPI.h in Headers */,
- F6EF8CCC13F92CF900B20B40 /* UIView+SoundCloudAPI.h in Headers */,
+ F6EF8CC213F92CF900B20B40 /* NSData+SoundCloudUI.h in Headers */,
+ F6EF8CC413F92CF900B20B40 /* NSString+SoundCloudUI.h in Headers */,
+ F6EF8CC713F92CF900B20B40 /* QuartzCore+SoundCloudUI.h in Headers */,
+ F6EF8CC813F92CF900B20B40 /* UIColor+SoundCloudUI.h in Headers */,
+ F6EF8CCA13F92CF900B20B40 /* UIImage+SoundCloudUI.h in Headers */,
+ F6EF8CCC13F92CF900B20B40 /* UIView+SoundCloudUI.h in Headers */,
F6EF8CD013F92CF900B20B40 /* SCAddConnectionViewController.h in Headers */,
F6EF8CD213F92CF900B20B40 /* SCAddConnectionViewControllerDelegate.h in Headers */,
F6EF8CD513F92CF900B20B40 /* SCBundle.h in Headers */,
@@ -475,12 +475,12 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- F6EF8CC313F92CF900B20B40 /* NSData+SoundCloudAPI.m in Sources */,
- F6EF8CC513F92CF900B20B40 /* NSString+SoundCloudAPI.m in Sources */,
- F6EF8CC613F92CF900B20B40 /* QuartzCore+SoundCloudAPI.m in Sources */,
- F6EF8CC913F92CF900B20B40 /* UIColor+SoundCloudAPI.m in Sources */,
- F6EF8CCB13F92CF900B20B40 /* UIImage+SoundCloudAPI.m in Sources */,
- F6EF8CCD13F92CF900B20B40 /* UIView+SoundCloudAPI.m in Sources */,
+ F6EF8CC313F92CF900B20B40 /* NSData+SoundCloudUI.m in Sources */,
+ F6EF8CC513F92CF900B20B40 /* NSString+SoundCloudUI.m in Sources */,
+ F6EF8CC613F92CF900B20B40 /* QuartzCore+SoundCloudUI.m in Sources */,
+ F6EF8CC913F92CF900B20B40 /* UIColor+SoundCloudUI.m in Sources */,
+ F6EF8CCB13F92CF900B20B40 /* UIImage+SoundCloudUI.m in Sources */,
+ F6EF8CCD13F92CF900B20B40 /* UIView+SoundCloudUI.m in Sources */,
F6EF8CD113F92CF900B20B40 /* SCAddConnectionViewController.m in Sources */,
F6EF8CD613F92CF900B20B40 /* SCBundle.m in Sources */,
F6EF8CD813F92CF900B20B40 /* SCCoverImageButton.m in Sources */,
View
17 Sources/CocoaExtensions/NSData+SoundCloudAPI.h
@@ -1,17 +0,0 @@
-//
-// NSData+SoundCloudAPI.h
-// SCKit
-//
-// Created by Ullrich Schäfer on 16.03.11.
-// Copyright 2011 nxtbgthng. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-
-@interface NSData (SoundCloudAPI)
-
-- (id)JSONObject;
-- (NSString *)errorMessageFrom422Error;
-
-@end
View
29 Sources/CocoaExtensions/NSData+SoundCloudUI.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ * For more information and documentation refer to
+ * http://soundcloud.com/api
+ *
+ */
+
+#import <Foundation/Foundation.h>
+
+
+@interface NSData (SoundCloudUI)
+
+- (id)JSONObject;
+- (NSString *)errorMessageFrom422Error;
+
+@end
View
32 ...es/CocoaExtensions/NSData+SoundCloudAPI.m → ...ces/CocoaExtensions/NSData+SoundCloudUI.m
@@ -1,17 +1,29 @@
-//
-// NSData+SoundCloudAPI.m
-// SCKit
-//
-// Created by Ullrich Schäfer on 16.03.11.
-// Copyright 2011 nxtbgthng. All rights reserved.
-//
+/*
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ * For more information and documentation refer to
+ * http://soundcloud.com/api
+ *
+ */
-#import "NSString+SoundCloudAPI.h"
+#import "NSString+SoundCloudUI.h"
-#import "NSData+SoundCloudAPI.h"
+#import "NSData+SoundCloudUI.h"
-@implementation NSData (SoundCloudAPI)
+@implementation NSData (SoundCloudUI)
- (id)JSONObject;
{
View
4 .../CocoaExtensions/NSString+SoundCloudAPI.h → ...s/CocoaExtensions/NSString+SoundCloudUI.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2010 nxtbgthng for SoundCloud Ltd.
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
@@ -21,7 +21,7 @@
#import <Foundation/Foundation.h>
-@interface NSString (SoundCloudAPI)
+@interface NSString (SoundCloudUI)
+ (NSString *)stringWithSeconds:(NSTimeInterval)seconds;
+ (NSString *)stringWithMilliseconds:(NSInteger)seconds;
View
6 .../CocoaExtensions/NSString+SoundCloudAPI.m → ...s/CocoaExtensions/NSString+SoundCloudUI.m
@@ -1,5 +1,5 @@
/*
- * Copyright 2010 nxtbgthng for SoundCloud Ltd.
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
@@ -22,10 +22,10 @@
#import "JSONKit.h"
-#import "NSString+SoundCloudAPI.h"
+#import "NSString+SoundCloudUI.h"
-@implementation NSString (SoundCloudAPI)
+@implementation NSString (SoundCloudUI)
#pragma mark UUID
View
19 Sources/CocoaExtensions/QuartzCore+SoundCloudAPI.h
@@ -1,19 +0,0 @@
-/*
- * QuartzCore+SoundCloudAPI.h
- * Soundcloud
- *
- * Created by Gernot Poetsch on 23.11.10.
- * Copyright 2010 nxtbgthng. All rights reserved.
- *
- */
-
-#import <QuartzCore/QuartzCore.h>
-
-extern void SC_CGContextAddRoundedRect(CGContextRef context,
- CGRect rect,
- CGFloat radius);
-
-extern void SC_CGPathAddRoundedRect(CGMutablePathRef path,
- const CGAffineTransform *m,
- CGRect rect,
- CGFloat radius);
View
30 Sources/CocoaExtensions/QuartzCore+SoundCloudUI.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ * For more information and documentation refer to
+ * http://soundcloud.com/api
+ *
+ */
+
+#import <QuartzCore/QuartzCore.h>
+
+extern void SC_CGContextAddRoundedRect(CGContextRef context,
+ CGRect rect,
+ CGFloat radius);
+
+extern void SC_CGPathAddRoundedRect(CGMutablePathRef path,
+ const CGAffineTransform *m,
+ CGRect rect,
+ CGFloat radius);
View
23 ...ocoaExtensions/QuartzCore+SoundCloudAPI.m → ...CocoaExtensions/QuartzCore+SoundCloudUI.m
@@ -1,13 +1,24 @@
/*
- * QuartzCore_GPKit.c
- * Soundcloud
- *
- * Created by Gernot Poetsch on 23.11.10.
- * Copyright 2010 nxtbgthng. All rights reserved.
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
*
+ * For more information and documentation refer to
+ * http://soundcloud.com/api
+ *
*/
-#import "QuartzCore+SoundCloudAPI.h"
+#import "QuartzCore+SoundCloudUI.h"
void SC_CGContextAddRoundedRect(CGContextRef context,
CGRect rect,
View
21 Sources/CocoaExtensions/UIColor+SoundCloudAPI.h
@@ -1,21 +0,0 @@
-//
-// UIColor+SoundCloudAPI.h
-// SoundCloud
-//
-// Created by Thomas Kollbach on 21.07.11.
-// Copyright 2011 nxtbgthng. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface UIColor (SoundCloudAPI)
-
-+ (UIColor *)transparentBlack;
-+ (UIColor *)almostBlackColor;
-+ (UIColor *)listSubtitleColor;
-+ (UIColor *)soundCloudListShineThroughWhite;
-
-+ (UIColor *)soundCloudOrangeWithAlpha:(CGFloat)alpha;
-+ (UIColor *)soundCloudOrange;
-
-@end
View
44 Sources/CocoaExtensions/UIColor+SoundCloudAPI.m
@@ -1,44 +0,0 @@
-//
-// UIColor+SoundCloudAPI.m
-// SoundCloud
-//
-// Created by Thomas Kollbach on 21.07.11.
-// Copyright 2011 nxtbgthng. All rights reserved.
-//
-
-#import "UIColor+SoundCloudAPI.h"
-
-@implementation UIColor (SoundCloudAPI)
-
-+ (UIColor *)transparentBlack;
-{
- return [UIColor colorWithWhite:0 alpha:0.2];
-}
-
-+ (UIColor *)almostBlackColor;
-{
- return [UIColor colorWithWhite:0.200 alpha:1.0];
-}
-
-
-+ (UIColor *)listSubtitleColor;
-{
- return [UIColor colorWithWhite:0.510 alpha:1.000];
-}
-
-+ (UIColor *)soundCloudOrangeWithAlpha:(CGFloat)alpha;
-{
- return [UIColor colorWithRed:0.984 green:0.388 blue:0.106 alpha:alpha];
-}
-
-+ (UIColor *)soundCloudOrange;
-{
- return [UIColor soundCloudOrangeWithAlpha:1.0];
-}
-
-+ (UIColor *)soundCloudListShineThroughWhite;
-{
- return [UIColor colorWithWhite:1.0 alpha:0.8];
-}
-
-@end
View
33 Sources/CocoaExtensions/UIColor+SoundCloudUI.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ * For more information and documentation refer to
+ * http://soundcloud.com/api
+ *
+ */
+
+#import <UIKit/UIKit.h>
+
+@interface UIColor (SoundCloudUI)
+
++ (UIColor *)transparentBlack;
++ (UIColor *)almostBlackColor;
++ (UIColor *)listSubtitleColor;
++ (UIColor *)soundCloudListShineThroughWhite;
+
++ (UIColor *)soundCloudOrangeWithAlpha:(CGFloat)alpha;
++ (UIColor *)soundCloudOrange;
+
+@end
View
56 Sources/CocoaExtensions/UIColor+SoundCloudUI.m
@@ -0,0 +1,56 @@
+/*
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ * For more information and documentation refer to
+ * http://soundcloud.com/api
+ *
+ */
+
+#import "UIColor+SoundCloudUI.h"
+
+@implementation UIColor (SoundCloudUI)
+
++ (UIColor *)transparentBlack;
+{
+ return [UIColor colorWithWhite:0 alpha:0.2];
+}
+
++ (UIColor *)almostBlackColor;
+{
+ return [UIColor colorWithWhite:0.200 alpha:1.0];
+}
+
+
++ (UIColor *)listSubtitleColor;
+{
+ return [UIColor colorWithWhite:0.510 alpha:1.000];
+}
+
++ (UIColor *)soundCloudOrangeWithAlpha:(CGFloat)alpha;
+{
+ return [UIColor colorWithRed:0.984 green:0.388 blue:0.106 alpha:alpha];
+}
+
++ (UIColor *)soundCloudOrange;
+{
+ return [UIColor soundCloudOrangeWithAlpha:1.0];
+}
+
++ (UIColor *)soundCloudListShineThroughWhite;
+{
+ return [UIColor colorWithWhite:1.0 alpha:0.8];
+}
+
+@end
View
26 Sources/CocoaExtensions/UIDevie+SoundCloudUI.h
@@ -1,10 +1,22 @@
-//
-// UIDevie+SoundCloudUI.h
-// SoundCloudUI
-//
-// Created by Tobias Kräntzer on 15.08.11.
-// Copyright 2011 nxtbgthng. All rights reserved.
-//
+/*
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ * For more information and documentation refer to
+ * http://soundcloud.com/api
+ *
+ */
#import <UIKit/UIKit.h>
View
26 Sources/CocoaExtensions/UIDevie+SoundCloudUI.m
@@ -1,10 +1,22 @@
-//
-// UIDevie+SoundCloudUI.m
-// SoundCloudUI
-//
-// Created by Tobias Kräntzer on 15.08.11.
-// Copyright 2011 nxtbgthng. All rights reserved.
-//
+/*
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ * For more information and documentation refer to
+ * http://soundcloud.com/api
+ *
+ */
#import "UIDevie+SoundCloudUI.h"
View
24 Sources/CocoaExtensions/UIImage+SoundCloudAPI.h
@@ -1,24 +0,0 @@
-//
-// UIImage+SoundCloudAPI.h
-// YouAreHere
-//
-// Created by Gernot Poetsch on 12.03.08.
-// Copyright 2008 Gernot Poetsch. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-
-@interface UIImage (SoundCloudAPI)
-
-+ (UIImage *)imageNamed:(NSString *)name leftCapWidth:(NSInteger)leftCapWidth topCapHeight:(NSInteger)topCapHeight;
-
-+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;
-+ (UIImage *)imageWithColor:(UIColor *)color;
-
-- (UIImage *)imageByResizingTo:(CGSize)newSize;
-- (UIImage *)imageByResizingTo:(CGSize)newSize forRetinaDisplay:(BOOL)forRetinaDisplay;
-
-- (UIImage *)imagebyRotationToOrientation:(UIImageOrientation)orient;
-
-@end
View
36 Sources/CocoaExtensions/UIImage+SoundCloudUI.h
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ * For more information and documentation refer to
+ * http://soundcloud.com/api
+ *
+ */
+
+#import <UIKit/UIKit.h>
+
+
+@interface UIImage (SoundCloudUI)
+
++ (UIImage *)imageNamed:(NSString *)name leftCapWidth:(NSInteger)leftCapWidth topCapHeight:(NSInteger)topCapHeight;
+
++ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;
++ (UIImage *)imageWithColor:(UIColor *)color;
+
+- (UIImage *)imageByResizingTo:(CGSize)newSize;
+- (UIImage *)imageByResizingTo:(CGSize)newSize forRetinaDisplay:(BOOL)forRetinaDisplay;
+
+- (UIImage *)imagebyRotationToOrientation:(UIImageOrientation)orient;
+
+@end
View
30 ...s/CocoaExtensions/UIImage+SoundCloudAPI.m → ...es/CocoaExtensions/UIImage+SoundCloudUI.m
@@ -1,15 +1,27 @@
-//
-// UIImage+SoundCloudAPI.m
-// YouAreHere
-//
-// Created by Gernot Poetsch on 12.03.08.
-// Copyright 2008 Gernot Poetsch. All rights reserved.
-//
+/*
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ * For more information and documentation refer to
+ * http://soundcloud.com/api
+ *
+ */
-#import "UIImage+SoundCloudAPI.h"
+#import "UIImage+SoundCloudUI.h"
-@implementation UIImage (SoundCloudAPI)
+@implementation UIImage (SoundCloudUI)
+ (UIImage *)imageNamed:(NSString *)name leftCapWidth:(NSInteger)leftCapWidth topCapHeight:(NSInteger)topCapHeight;
{
View
19 Sources/CocoaExtensions/UIView+SoundCloudAPI.h
@@ -1,19 +0,0 @@
-//
-// UIView+SoundCloudAPI.h
-//
-// Created by Ullrich Schäfer on 28.04.09.
-// Copyright 2009 __MyCompanyName__. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import <UIKit/UIKit.h>
-
-
-@interface UIView (SoundCloudAPI)
-
-- (void)resignFirstResponderOfAllSubviews;
-- (UIView *)firstResponderFromSubviews;
-
-- (UIScrollView *)enclosingScrollView;
-
-@end
View
46 Sources/CocoaExtensions/UIView+SoundCloudAPI.m
@@ -1,46 +0,0 @@
-//
-// UIView+SoundCloudAPI.m
-//
-// Created by Ullrich Schäfer on 28.04.09.
-// Copyright 2009 __MyCompanyName__. All rights reserved.
-//
-
-#import "UIView+SoundCloudAPI.h"
-
-
-@implementation UIView (SoundCloudAPI)
-
-- (void)resignFirstResponderOfAllSubviews;
-{
- [self resignFirstResponder];
- for (UIView *subView in self.subviews) {
- [subView resignFirstResponderOfAllSubviews];
- }
-}
-
-- (UIView *)firstResponderFromSubviews;
-{
- if ([self isFirstResponder])
- return self;
- for (UIView *subView in self.subviews) {
- UIView *childFirstResponder = [subView firstResponderFromSubviews];
- if (childFirstResponder)
- return childFirstResponder;
- }
- return nil;
-}
-
-- (UIScrollView *)enclosingScrollView;
-{
- UIView *superView = self.superview;
- if (superView) {
- if ([superView isKindOfClass:[UIScrollView class]]) {
- return (UIScrollView *)superView;
- } else {
- return superView.enclosingScrollView;
- }
- }
- return nil;
-}
-
-@end
View
32 Sources/CocoaExtensions/UIView+SoundCloudUI.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ * For more information and documentation refer to
+ * http://soundcloud.com/api
+ *
+ */
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
+
+@interface UIView (SoundCloudUI)
+
+- (void)resignFirstResponderOfAllSubviews;
+- (UIView *)firstResponderFromSubviews;
+
+- (UIScrollView *)enclosingScrollView;
+
+@end
View
59 Sources/CocoaExtensions/UIView+SoundCloudUI.m
@@ -0,0 +1,59 @@
+/*
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ *
+ * For more information and documentation refer to
+ * http://soundcloud.com/api
+ *
+ */
+
+#import "UIView+SoundCloudUI.h"
+
+
+@implementation UIView (SoundCloudUI)
+
+- (void)resignFirstResponderOfAllSubviews;
+{
+ [self resignFirstResponder];
+ for (UIView *subView in self.subviews) {
+ [subView resignFirstResponderOfAllSubviews];
+ }
+}
+
+- (UIView *)firstResponderFromSubviews;
+{
+ if ([self isFirstResponder])
+ return self;
+ for (UIView *subView in self.subviews) {
+ UIView *childFirstResponder = [subView firstResponderFromSubviews];
+ if (childFirstResponder)
+ return childFirstResponder;
+ }
+ return nil;
+}
+
+- (UIScrollView *)enclosingScrollView;
+{
+ UIView *superView = self.superview;
+ if (superView) {
+ if ([superView isKindOfClass:[UIScrollView class]]) {
+ return (UIScrollView *)superView;
+ } else {
+ return superView.enclosingScrollView;
+ }
+ }
+ return nil;
+}
+
+@end
View
2  Sources/CocoaExtensions/UIViewController+SoundCloudUI.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2011 nxtbgthng for SoundCloud Ltd.
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
View
2  Sources/CocoaExtensions/UIViewController+SoundCloudUI.m
@@ -1,5 +1,5 @@
/*
- * Copyright 2011 nxtbgthng for SoundCloud Ltd.
+ * Copyright 2010, 2011 nxtbgthng for SoundCloud Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
View
4 Sources/SoundCloudUI/SCAddConnectionViewController.m
@@ -18,9 +18,9 @@
*
*/
-#import "NSData+SoundCloudAPI.h"
+#import "NSData+SoundCloudUI.h"
-#import "NSString+SoundCloudAPI.h"
+#import "NSString+SoundCloudUI.h"
#import "SCAccount.h"
View
4 Sources/SoundCloudUI/SCCoverImageButton.m
@@ -18,8 +18,8 @@
*
*/
-#import "QuartzCore+SoundCloudAPI.h"
-#import "UIColor+SoundCloudAPI.h"
+#import "QuartzCore+SoundCloudUI.h"
+#import "UIColor+SoundCloudUI.h"
#import "SCCoverImageButton.h"
View
4 Sources/SoundCloudUI/SCFoursquarePlacePickerController.m
@@ -20,8 +20,8 @@
#import <CoreLocation/CoreLocation.h>
-#import "NSData+SoundCloudAPI.h"
-#import "UIColor+SoundCloudAPI.h"
+#import "NSData+SoundCloudUI.h"
+#import "UIColor+SoundCloudUI.h"
#import "SCConstants.h"
#import "SCBundle.h"
View
2  Sources/SoundCloudUI/SCNameAndEmailCell.m
@@ -18,7 +18,7 @@
*
*/
-#import "UIColor+SoundCloudAPI.h"
+#import "UIColor+SoundCloudUI.h"
#import "SCNameAndEmailCell.h"
View
6 Sources/SoundCloudUI/SCRecordingSaveViewController.m
@@ -25,9 +25,9 @@
#import "SCAccount+Private.h"
#import "UIDevie+SoundCloudUI.h"
-#import "UIColor+SoundCloudAPI.h"
-#import "UIImage+SoundCloudAPI.h"
-#import "QuartzCore+SoundCloudAPI.h"
+#import "UIColor+SoundCloudUI.h"
+#import "UIImage+SoundCloudUI.h"
+#import "QuartzCore+SoundCloudUI.h"
#import "SCUIErrors.h"
View
6 Sources/SoundCloudUI/SCRecordingSaveViewControllerHeaderView.m
@@ -18,9 +18,9 @@
*
*/
-#import "QuartzCore+SoundCloudAPI.h"
-#import "UIImage+SoundCloudAPI.h"
-#import "UIColor+SoundCloudAPI.h"
+#import "QuartzCore+SoundCloudUI.h"
+#import "UIImage+SoundCloudUI.h"
+#import "UIColor+SoundCloudUI.h"
#import "SCHorizontalLineView.h"
#import "SCUnderlinedButton.h"
View
4 Sources/SoundCloudUI/SCRecordingUploadProgressView.m
@@ -23,8 +23,8 @@
#import "OHAttributedLabel.h"
#import "NSAttributedString+Attributes.h"
-#import "QuartzCore+SoundCloudAPI.h"
-#import "UIImage+SoundCloudAPI.h"
+#import "QuartzCore+SoundCloudUI.h"
+#import "UIImage+SoundCloudUI.h"
#import "UIDevie+SoundCloudUI.h"
#import "SCBundle.h"
View
4 Sources/SoundCloudUI/SCSwitch.m
@@ -18,8 +18,8 @@
*
*/
-#import "UIView+SoundCloudAPI.h"
-#import "UIImage+SoundCloudAPI.h"
+#import "UIView+SoundCloudUI.h"
+#import "UIImage+SoundCloudUI.h"
#import "SCBundle.h"
#import "SCSwitchLabel.h"
View
2  Sources/SoundCloudUI/SCTableCellBackgroundView.m
@@ -20,7 +20,7 @@
// http://stackoverflow.com/questions/400965/how-to-customize-the-background-border-colors-of-a-grouped-table-view
-#import "QuartzCore+SoundCloudAPI.h"
+#import "QuartzCore+SoundCloudUI.h"
#import "SCTableCellBackgroundView.h"
View
2  Sources/SoundCloudUI/SCTextField.m
@@ -19,7 +19,7 @@
*/
#import "SCTextField.h"
-#import "UIColor+SoundCloudAPI.h"
+#import "UIColor+SoundCloudUI.h"
@implementation SCTextField
Please sign in to comment.
Something went wrong with that request. Please try again.