Skip to content
Browse files

Stashing working implementation

  • Loading branch information...
1 parent d1e993f commit eaa9059cd20ded46190dcda939882c02611f5333 @mattt mattt committed Jun 19, 2012
Showing with 5,355 additions and 4,916 deletions.
  1. +2 −2 AFNetworking.xcworkspace/contents.xcworkspacedata
  2. +373 −0 Example/AFNetworking Mac Example.xcodeproj/project.pbxproj
  3. +12 −12 {iOS Example → Example}/AFNetworking iOS Example.xcodeproj/project.pbxproj
  4. +17 −0 {iOS Example → Example}/AppDelegate.h
  5. +37 −15 {iOS Example → Example}/AppDelegate.m
  6. 0 {iOS Example → Example}/Classes/AFTwitterAPIClient.h
  7. 0 {iOS Example → Example}/Classes/AFTwitterAPIClient.m
  8. 0 {iOS Example → Example}/Classes/Controllers/PublicTimelineViewController.h
  9. 0 {iOS Example → Example}/Classes/Controllers/PublicTimelineViewController.m
  10. 0 {iOS Example → Example}/Classes/Models/Tweet.h
  11. +6 −5 {iOS Example → Example}/Classes/Models/Tweet.m
  12. 0 {iOS Example → Example}/Classes/Models/User.h
  13. 0 {iOS Example → Example}/Classes/Models/User.m
  14. 0 {iOS Example → Example}/Classes/Views/TweetTableViewCell.h
  15. 0 {iOS Example → Example}/Classes/Views/TweetTableViewCell.m
  16. 0 {iOS Example → Example}/Default.png
  17. 0 {iOS Example → Example}/Default@2x.png
  18. 0 {iOS Example → Example}/Icon.png
  19. 0 {iOS Example → Example}/Icon@2x.png
  20. 0 {iOS Example → Example}/Images/profile-image-placeholder.png
  21. 0 {iOS Example → Example}/Images/profile-image-placeholder@2x.png
  22. +1 −3 Mac Example/Info.plist → Example/Mac-Info.plist
  23. +279 −137 {Mac Example/en.lproj → Example}/MainMenu.xib
  24. +17 −0 Example/Prefix.pch
  25. +4,587 −0 Example/en.lproj/MainMenu.xib
  26. 0 iOS Example/Info.plist → Example/iOS-Info.plist
  27. +24 −0 Example/main.m
  28. +0 −420 Mac Example/AFNetworking Mac Example.xcodeproj/project.pbxproj
  29. +0 −75 ...ng Mac Example.xcodeproj/xcuserdata/mattt.xcuserdatad/xcschemes/AFNetworking Mac Example.xcscheme
  30. +0 −22 ...FNetworking Mac Example.xcodeproj/xcuserdata/mattt.xcuserdatad/xcschemes/xcschememanagement.plist
  31. +0 −32 Mac Example/AppDelegate.h
  32. +0 −33 Mac Example/AppDelegate.m
  33. +0 −31 Mac Example/Classes/AFGowallaAPIClient.h
  34. +0 −64 Mac Example/Classes/AFGowallaAPIClient.m
  35. +0 −30 Mac Example/Classes/Controllers/NearbySpotsController.h
  36. +0 −83 Mac Example/Classes/Controllers/NearbySpotsController.m
  37. +0 −43 Mac Example/Classes/Models/Spot.h
  38. +0 −78 Mac Example/Classes/Models/Spot.m
  39. BIN Mac Example/Images/placeholder-stamp.png
  40. +0 −7 Mac Example/Prefix.pch
  41. +0 −251 Mac Example/Vendor/JSONKit/JSONKit.h
  42. +0 −3,011 Mac Example/Vendor/JSONKit/JSONKit.m
  43. +0 −83 Mac Example/Vendor/TTT/TTTLocationFormatter.h
  44. +0 −299 Mac Example/Vendor/TTT/TTTLocationFormatter.m
  45. +0 −13 Mac Example/en.lproj/Credits.rtf
  46. +0 −29 Mac Example/main.m
  47. +0 −75 ...ng iOS Example.xcodeproj/xcuserdata/mattt.xcuserdatad/xcschemes/AFNetworking iOS Example.xcscheme
  48. +0 −22 ...FNetworking iOS Example.xcodeproj/xcuserdata/mattt.xcuserdatad/xcschemes/xcschememanagement.plist
  49. +0 −11 iOS Example/Prefix.pch
  50. +0 −30 iOS Example/main.m
View
4 AFNetworking.xcworkspace/contents.xcworkspacedata
@@ -2,9 +2,9 @@
<Workspace
version = "1.0">
<FileRef
- location = "group:iOS Example/AFNetworking iOS Example.xcodeproj">
+ location = "group:Example/AFNetworking iOS Example.xcodeproj">
</FileRef>
<FileRef
- location = "group:Mac Example/AFNetworking Mac Example.xcodeproj">
+ location = "group:Example/AFNetworking Mac Example.xcodeproj">
</FileRef>
</Workspace>
View
373 Example/AFNetworking Mac Example.xcodeproj/project.pbxproj
@@ -0,0 +1,373 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ F8129C001591061B009BFE23 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8129BFF1591061B009BFE23 /* Cocoa.framework */; };
+ F8129C321591073C009BFE23 /* AFTwitterAPIClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C251591073C009BFE23 /* AFTwitterAPIClient.m */; };
+ F8129C341591073C009BFE23 /* Tweet.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C2B1591073C009BFE23 /* Tweet.m */; };
+ F8129C351591073C009BFE23 /* User.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C2D1591073C009BFE23 /* User.m */; };
+ F8129C631591090B009BFE23 /* AFHTTPClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C4F1591090B009BFE23 /* AFHTTPClient.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
+ F8129C641591090B009BFE23 /* AFHTTPRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C511591090B009BFE23 /* AFHTTPRequestOperation.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
+ F8129C651591090B009BFE23 /* AFImageRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C531591090B009BFE23 /* AFImageRequestOperation.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
+ F8129C661591090B009BFE23 /* AFJSONRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C551591090B009BFE23 /* AFJSONRequestOperation.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
+ F8129C671591090B009BFE23 /* AFJSONUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C571591090B009BFE23 /* AFJSONUtilities.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
+ F8129C681591090B009BFE23 /* AFNetworkActivityIndicatorManager.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C591591090B009BFE23 /* AFNetworkActivityIndicatorManager.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
+ F8129C691591090B009BFE23 /* AFPropertyListRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C5C1591090B009BFE23 /* AFPropertyListRequestOperation.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
+ F8129C6A1591090B009BFE23 /* AFURLConnectionOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C5E1591090B009BFE23 /* AFURLConnectionOperation.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
+ F8129C6B1591090B009BFE23 /* AFXMLRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C601591090B009BFE23 /* AFXMLRequestOperation.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
+ F8129C6C1591090B009BFE23 /* UIImageView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C621591090B009BFE23 /* UIImageView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
+ F8129C6F15910B15009BFE23 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C6E15910B15009BFE23 /* main.m */; };
+ F8129C7115910B3E009BFE23 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = F8129C7015910B3E009BFE23 /* MainMenu.xib */; };
+ F8129C7715910C40009BFE23 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C7515910C40009BFE23 /* AppDelegate.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ F8129BFB1591061B009BFE23 /* AFNetworking Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "AFNetworking Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ F8129BFF1591061B009BFE23 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
+ F8129C021591061B009BFE23 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
+ F8129C031591061B009BFE23 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
+ F8129C041591061B009BFE23 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ F8129C251591073C009BFE23 /* AFTwitterAPIClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFTwitterAPIClient.m; path = Classes/AFTwitterAPIClient.m; sourceTree = SOURCE_ROOT; };
+ F8129C2A1591073C009BFE23 /* Tweet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Tweet.h; sourceTree = "<group>"; };
+ F8129C2B1591073C009BFE23 /* Tweet.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Tweet.m; sourceTree = "<group>"; };
+ F8129C2C1591073C009BFE23 /* User.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = User.h; sourceTree = "<group>"; };
+ F8129C2D1591073C009BFE23 /* User.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = User.m; sourceTree = "<group>"; };
+ F8129C311591073C009BFE23 /* AFTwitterAPIClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFTwitterAPIClient.h; path = Classes/AFTwitterAPIClient.h; sourceTree = SOURCE_ROOT; };
+ F8129C4E1591090B009BFE23 /* AFHTTPClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFHTTPClient.h; path = ../AFNetworking/AFHTTPClient.h; sourceTree = "<group>"; };
+ F8129C4F1591090B009BFE23 /* AFHTTPClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFHTTPClient.m; path = ../AFNetworking/AFHTTPClient.m; sourceTree = "<group>"; };
+ F8129C501591090B009BFE23 /* AFHTTPRequestOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFHTTPRequestOperation.h; path = ../AFNetworking/AFHTTPRequestOperation.h; sourceTree = "<group>"; };
+ F8129C511591090B009BFE23 /* AFHTTPRequestOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFHTTPRequestOperation.m; path = ../AFNetworking/AFHTTPRequestOperation.m; sourceTree = "<group>"; };
+ F8129C521591090B009BFE23 /* AFImageRequestOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFImageRequestOperation.h; path = ../AFNetworking/AFImageRequestOperation.h; sourceTree = "<group>"; };
+ F8129C531591090B009BFE23 /* AFImageRequestOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFImageRequestOperation.m; path = ../AFNetworking/AFImageRequestOperation.m; sourceTree = "<group>"; };
+ F8129C541591090B009BFE23 /* AFJSONRequestOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFJSONRequestOperation.h; path = ../AFNetworking/AFJSONRequestOperation.h; sourceTree = "<group>"; };
+ F8129C551591090B009BFE23 /* AFJSONRequestOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFJSONRequestOperation.m; path = ../AFNetworking/AFJSONRequestOperation.m; sourceTree = "<group>"; };
+ F8129C561591090B009BFE23 /* AFJSONUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFJSONUtilities.h; path = ../AFNetworking/AFJSONUtilities.h; sourceTree = "<group>"; };
+ F8129C571591090B009BFE23 /* AFJSONUtilities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFJSONUtilities.m; path = ../AFNetworking/AFJSONUtilities.m; sourceTree = "<group>"; };
+ F8129C581591090B009BFE23 /* AFNetworkActivityIndicatorManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFNetworkActivityIndicatorManager.h; path = ../AFNetworking/AFNetworkActivityIndicatorManager.h; sourceTree = "<group>"; };
+ F8129C591591090B009BFE23 /* AFNetworkActivityIndicatorManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFNetworkActivityIndicatorManager.m; path = ../AFNetworking/AFNetworkActivityIndicatorManager.m; sourceTree = "<group>"; };
+ F8129C5A1591090B009BFE23 /* AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFNetworking.h; path = ../AFNetworking/AFNetworking.h; sourceTree = "<group>"; };
+ F8129C5B1591090B009BFE23 /* AFPropertyListRequestOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFPropertyListRequestOperation.h; path = ../AFNetworking/AFPropertyListRequestOperation.h; sourceTree = "<group>"; };
+ F8129C5C1591090B009BFE23 /* AFPropertyListRequestOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFPropertyListRequestOperation.m; path = ../AFNetworking/AFPropertyListRequestOperation.m; sourceTree = "<group>"; };
+ F8129C5D1591090B009BFE23 /* AFURLConnectionOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFURLConnectionOperation.h; path = ../AFNetworking/AFURLConnectionOperation.h; sourceTree = "<group>"; };
+ F8129C5E1591090B009BFE23 /* AFURLConnectionOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFURLConnectionOperation.m; path = ../AFNetworking/AFURLConnectionOperation.m; sourceTree = "<group>"; };
+ F8129C5F1591090B009BFE23 /* AFXMLRequestOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFXMLRequestOperation.h; path = ../AFNetworking/AFXMLRequestOperation.h; sourceTree = "<group>"; };
+ F8129C601591090B009BFE23 /* AFXMLRequestOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFXMLRequestOperation.m; path = ../AFNetworking/AFXMLRequestOperation.m; sourceTree = "<group>"; };
+ F8129C611591090B009BFE23 /* UIImageView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIImageView+AFNetworking.h"; path = "../AFNetworking/UIImageView+AFNetworking.h"; sourceTree = "<group>"; };
+ F8129C621591090B009BFE23 /* UIImageView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UIImageView+AFNetworking.m"; path = "../AFNetworking/UIImageView+AFNetworking.m"; sourceTree = "<group>"; };
+ F8129C6E15910B15009BFE23 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = SOURCE_ROOT; };
+ F8129C7015910B3E009BFE23 /* MainMenu.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainMenu.xib; sourceTree = SOURCE_ROOT; };
+ F8129C7515910C40009BFE23 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = SOURCE_ROOT; };
+ F8129C7615910C40009BFE23 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = SOURCE_ROOT; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ F8129BF81591061B009BFE23 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F8129C001591061B009BFE23 /* Cocoa.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ F8129BF01591061B009BFE23 = {
+ isa = PBXGroup;
+ children = (
+ F8129C051591061B009BFE23 /* Classes */,
+ F8129C4C15910901009BFE23 /* Vendor */,
+ F8129BFE1591061B009BFE23 /* Frameworks */,
+ F8129BFC1591061B009BFE23 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ F8129BFC1591061B009BFE23 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ F8129BFB1591061B009BFE23 /* AFNetworking Example.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ F8129BFE1591061B009BFE23 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ F8129BFF1591061B009BFE23 /* Cocoa.framework */,
+ F8129C011591061B009BFE23 /* Other Frameworks */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ F8129C011591061B009BFE23 /* Other Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ F8129C021591061B009BFE23 /* AppKit.framework */,
+ F8129C031591061B009BFE23 /* CoreData.framework */,
+ F8129C041591061B009BFE23 /* Foundation.framework */,
+ );
+ name = "Other Frameworks";
+ sourceTree = "<group>";
+ };
+ F8129C051591061B009BFE23 /* Classes */ = {
+ isa = PBXGroup;
+ children = (
+ F8129C311591073C009BFE23 /* AFTwitterAPIClient.h */,
+ F8129C251591073C009BFE23 /* AFTwitterAPIClient.m */,
+ F8129C261591073C009BFE23 /* Controllers */,
+ F8129C291591073C009BFE23 /* Models */,
+ F8129C2E1591073C009BFE23 /* Views */,
+ F8129C061591061B009BFE23 /* Supporting Files */,
+ );
+ name = Classes;
+ path = "AFNetworking-Mac-Example";
+ sourceTree = "<group>";
+ };
+ F8129C061591061B009BFE23 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ F8129C7615910C40009BFE23 /* AppDelegate.h */,
+ F8129C7515910C40009BFE23 /* AppDelegate.m */,
+ F8129C6E15910B15009BFE23 /* main.m */,
+ F8129C7015910B3E009BFE23 /* MainMenu.xib */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ F8129C261591073C009BFE23 /* Controllers */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Controllers;
+ path = Classes/Controllers;
+ sourceTree = SOURCE_ROOT;
+ };
+ F8129C291591073C009BFE23 /* Models */ = {
+ isa = PBXGroup;
+ children = (
+ F8129C2A1591073C009BFE23 /* Tweet.h */,
+ F8129C2B1591073C009BFE23 /* Tweet.m */,
+ F8129C2C1591073C009BFE23 /* User.h */,
+ F8129C2D1591073C009BFE23 /* User.m */,
+ );
+ name = Models;
+ path = Classes/Models;
+ sourceTree = SOURCE_ROOT;
+ };
+ F8129C2E1591073C009BFE23 /* Views */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Views;
+ path = Classes/Views;
+ sourceTree = SOURCE_ROOT;
+ };
+ F8129C4C15910901009BFE23 /* Vendor */ = {
+ isa = PBXGroup;
+ children = (
+ F8129C4E1591090B009BFE23 /* AFHTTPClient.h */,
+ F8129C4F1591090B009BFE23 /* AFHTTPClient.m */,
+ F8129C501591090B009BFE23 /* AFHTTPRequestOperation.h */,
+ F8129C511591090B009BFE23 /* AFHTTPRequestOperation.m */,
+ F8129C521591090B009BFE23 /* AFImageRequestOperation.h */,
+ F8129C531591090B009BFE23 /* AFImageRequestOperation.m */,
+ F8129C541591090B009BFE23 /* AFJSONRequestOperation.h */,
+ F8129C551591090B009BFE23 /* AFJSONRequestOperation.m */,
+ F8129C561591090B009BFE23 /* AFJSONUtilities.h */,
+ F8129C571591090B009BFE23 /* AFJSONUtilities.m */,
+ F8129C581591090B009BFE23 /* AFNetworkActivityIndicatorManager.h */,
+ F8129C591591090B009BFE23 /* AFNetworkActivityIndicatorManager.m */,
+ F8129C5A1591090B009BFE23 /* AFNetworking.h */,
+ F8129C5B1591090B009BFE23 /* AFPropertyListRequestOperation.h */,
+ F8129C5C1591090B009BFE23 /* AFPropertyListRequestOperation.m */,
+ F8129C5D1591090B009BFE23 /* AFURLConnectionOperation.h */,
+ F8129C5E1591090B009BFE23 /* AFURLConnectionOperation.m */,
+ F8129C5F1591090B009BFE23 /* AFXMLRequestOperation.h */,
+ F8129C601591090B009BFE23 /* AFXMLRequestOperation.m */,
+ F8129C611591090B009BFE23 /* UIImageView+AFNetworking.h */,
+ F8129C621591090B009BFE23 /* UIImageView+AFNetworking.m */,
+ );
+ name = Vendor;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ F8129BFA1591061B009BFE23 /* AFNetworking Example */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = F8129C191591061B009BFE23 /* Build configuration list for PBXNativeTarget "AFNetworking Example" */;
+ buildPhases = (
+ F8129BF71591061B009BFE23 /* Sources */,
+ F8129BF81591061B009BFE23 /* Frameworks */,
+ F8129BF91591061B009BFE23 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "AFNetworking Example";
+ productName = "AFNetworking-Mac-Example";
+ productReference = F8129BFB1591061B009BFE23 /* AFNetworking Example.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ F8129BF21591061B009BFE23 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0430;
+ };
+ buildConfigurationList = F8129BF51591061B009BFE23 /* Build configuration list for PBXProject "AFNetworking Mac Example" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = F8129BF01591061B009BFE23;
+ productRefGroup = F8129BFC1591061B009BFE23 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ F8129BFA1591061B009BFE23 /* AFNetworking Example */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ F8129BF91591061B009BFE23 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F8129C7115910B3E009BFE23 /* MainMenu.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ F8129BF71591061B009BFE23 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F8129C341591073C009BFE23 /* Tweet.m in Sources */,
+ F8129C351591073C009BFE23 /* User.m in Sources */,
+ F8129C321591073C009BFE23 /* AFTwitterAPIClient.m in Sources */,
+ F8129C631591090B009BFE23 /* AFHTTPClient.m in Sources */,
+ F8129C641591090B009BFE23 /* AFHTTPRequestOperation.m in Sources */,
+ F8129C651591090B009BFE23 /* AFImageRequestOperation.m in Sources */,
+ F8129C661591090B009BFE23 /* AFJSONRequestOperation.m in Sources */,
+ F8129C671591090B009BFE23 /* AFJSONUtilities.m in Sources */,
+ F8129C681591090B009BFE23 /* AFNetworkActivityIndicatorManager.m in Sources */,
+ F8129C691591090B009BFE23 /* AFPropertyListRequestOperation.m in Sources */,
+ F8129C6A1591090B009BFE23 /* AFURLConnectionOperation.m in Sources */,
+ F8129C6B1591090B009BFE23 /* AFXMLRequestOperation.m in Sources */,
+ F8129C6C1591090B009BFE23 /* UIImageView+AFNetworking.m in Sources */,
+ F8129C6F15910B15009BFE23 /* main.m in Sources */,
+ F8129C7715910C40009BFE23 /* AppDelegate.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ F8129C171591061B009BFE23 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ F8129C181591061B009BFE23 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ F8129C1A1591061B009BFE23 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = Prefix.pch;
+ INFOPLIST_FILE = "Mac-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ F8129C1B1591061B009BFE23 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = Prefix.pch;
+ INFOPLIST_FILE = "Mac-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ F8129BF51591061B009BFE23 /* Build configuration list for PBXProject "AFNetworking Mac Example" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ F8129C171591061B009BFE23 /* Debug */,
+ F8129C181591061B009BFE23 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ F8129C191591061B009BFE23 /* Build configuration list for PBXNativeTarget "AFNetworking Example" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ F8129C1A1591061B009BFE23 /* Debug */,
+ F8129C1B1591061B009BFE23 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = F8129BF21591061B009BFE23 /* Project object */;
+}
View
24 ...ing iOS Example.xcodeproj/project.pbxproj → ...ing iOS Example.xcodeproj/project.pbxproj
@@ -7,10 +7,10 @@
objects = {
/* Begin PBXBuildFile section */
+ F8129C7415910C37009BFE23 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C7215910C37009BFE23 /* AppDelegate.m */; };
F8D0701B14310F4A00653FD3 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8E469E213957DF700DB05C8 /* SystemConfiguration.framework */; };
F8D0701C14310F4F00653FD3 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8E469E013957DF100DB05C8 /* Security.framework */; };
F8DA09E41396AC040057D0CC /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F8DA09E31396AC040057D0CC /* main.m */; };
- F8DA09E81396AC220057D0CC /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F8DA09E71396AC220057D0CC /* AppDelegate.m */; };
F8E469651395739D00DB05C8 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8E469641395739D00DB05C8 /* UIKit.framework */; };
F8E469671395739D00DB05C8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8E469661395739D00DB05C8 /* Foundation.framework */; };
F8E469691395739D00DB05C8 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8E469681395739D00DB05C8 /* CoreGraphics.framework */; };
@@ -39,15 +39,15 @@
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
+ F8129C3815910830009BFE23 /* Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Prefix.pch; sourceTree = SOURCE_ROOT; };
+ F8129C7215910C37009BFE23 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = SOURCE_ROOT; };
+ F8129C7315910C37009BFE23 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = SOURCE_ROOT; };
F8DA09E31396AC040057D0CC /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = SOURCE_ROOT; };
- F8DA09E51396AC220057D0CC /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = SOURCE_ROOT; };
- F8DA09E61396AC220057D0CC /* Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Prefix.pch; sourceTree = SOURCE_ROOT; };
- F8DA09E71396AC220057D0CC /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = SOURCE_ROOT; };
F8E469601395739C00DB05C8 /* AFNetworking iOS Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "AFNetworking iOS Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
F8E469641395739D00DB05C8 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
F8E469661395739D00DB05C8 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
F8E469681395739D00DB05C8 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
- F8E4696C1395739D00DB05C8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+ F8E4696C1395739D00DB05C8 /* iOS-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = "iOS-Info.plist"; sourceTree = "<group>"; };
F8E469DE13957DD500DB05C8 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
F8E469E013957DF100DB05C8 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
F8E469E213957DF700DB05C8 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
@@ -188,10 +188,10 @@
isa = PBXGroup;
children = (
F8DA09E31396AC040057D0CC /* main.m */,
- F8DA09E61396AC220057D0CC /* Prefix.pch */,
- F8DA09E51396AC220057D0CC /* AppDelegate.h */,
- F8DA09E71396AC220057D0CC /* AppDelegate.m */,
- F8E4696C1395739D00DB05C8 /* Info.plist */,
+ F8129C3815910830009BFE23 /* Prefix.pch */,
+ F8129C7215910C37009BFE23 /* AppDelegate.m */,
+ F8129C7315910C37009BFE23 /* AppDelegate.h */,
+ F8E4696C1395739D00DB05C8 /* iOS-Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
@@ -324,7 +324,6 @@
buildActionMask = 2147483647;
files = (
F8DA09E41396AC040057D0CC /* main.m in Sources */,
- F8DA09E81396AC220057D0CC /* AppDelegate.m in Sources */,
F8FA9491150EF8C100ED4EAD /* AFTwitterAPIClient.m in Sources */,
F8FA9494150EF97E00ED4EAD /* Tweet.m in Sources */,
F8FA9497150EF98800ED4EAD /* User.m in Sources */,
@@ -340,6 +339,7 @@
F8FA94B9150EFEC100ED4EAD /* AFXMLRequestOperation.m in Sources */,
F8FA94BA150EFEC100ED4EAD /* UIImageView+AFNetworking.m in Sources */,
F8FA94C1150F019100ED4EAD /* TweetTableViewCell.m in Sources */,
+ F8129C7415910C37009BFE23 /* AppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -391,7 +391,7 @@
GCC_WARN_SHADOW = YES;
GCC_WARN_SIGN_COMPARE = YES;
GCC_WARN_UNUSED_PARAMETER = NO;
- INFOPLIST_FILE = Info.plist;
+ INFOPLIST_FILE = "iOS-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
@@ -410,7 +410,7 @@
GCC_WARN_SHADOW = YES;
GCC_WARN_SIGN_COMPARE = YES;
GCC_WARN_UNUSED_PARAMETER = NO;
- INFOPLIST_FILE = Info.plist;
+ INFOPLIST_FILE = "iOS-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
PRODUCT_NAME = "$(TARGET_NAME)";
VALIDATE_PRODUCT = YES;
View
17 iOS Example/AppDelegate.h → Example/AppDelegate.h
@@ -20,6 +20,10 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
+#import <Availability.h>
+
+#if __IPHONE_OS_VERSION_MIN_REQUIRED
+
#import <UIKit/UIKit.h>
@interface AppDelegate : NSObject <UIApplicationDelegate> {
@@ -30,3 +34,16 @@
@property (nonatomic, strong) UINavigationController *navigationController;
@end
+
+#else
+
+#import <Cocoa/Cocoa.h>
+
+@interface AppDelegate : NSObject <NSApplicationDelegate>
+
+@property (assign) IBOutlet NSWindow *window;
+@property (strong) IBOutlet NSArrayController *tweetsArrayController;
+
+@end
+
+#endif
View
52 iOS Example/AppDelegate.m → Example/AppDelegate.m
@@ -21,6 +21,9 @@
// THE SOFTWARE.
#import "AppDelegate.h"
+
+#if __IPHONE_OS_VERSION_MIN_REQUIRED
+
#import "PublicTimelineViewController.h"
#import "AFNetworkActivityIndicatorManager.h"
@@ -30,22 +33,41 @@ @implementation AppDelegate
@synthesize navigationController = _navigationController;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
- NSURLCache *URLCache = [[NSURLCache alloc] initWithMemoryCapacity:1024 * 1024 diskCapacity:1024 * 1024 * 5 diskPath:nil];
- [NSURLCache setSharedURLCache:URLCache];
-
- [[AFNetworkActivityIndicatorManager sharedManager] setEnabled:YES];
-
- UITableViewController *viewController = [[PublicTimelineViewController alloc] initWithStyle:UITableViewStylePlain];
- self.navigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
- self.navigationController.navigationBar.tintColor = [UIColor darkGrayColor];
-
- self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
- self.window.backgroundColor = [UIColor whiteColor];
- self.window.rootViewController = self.navigationController;
- [self.window makeKeyAndVisible];
-
- return YES;
+ NSURLCache *URLCache = [[NSURLCache alloc] initWithMemoryCapacity:1024 * 1024 diskCapacity:1024 * 1024 * 5 diskPath:nil];
+[NSURLCache setSharedURLCache:URLCache];
+
+ [[AFNetworkActivityIndicatorManager sharedManager] setEnabled:YES];
+
+ UITableViewController *viewController = [[PublicTimelineViewController alloc] initWithStyle:UITableViewStylePlain];
+ self.navigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
+ self.navigationController.navigationBar.tintColor = [UIColor darkGrayColor];
+
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+ self.window.backgroundColor = [UIColor whiteColor];
+ self.window.rootViewController = self.navigationController;
+ [self.window makeKeyAndVisible];
+
+ return YES;
}
+@end
+
+#else
+
+#import "Tweet.h"
+
+@implementation AppDelegate
+
+@synthesize window = _window;
+@synthesize tweetsArrayController = _tweetsArrayController;
+
+- (void)applicationDidFinishLaunching:(NSNotification *)notification {
+ [Tweet publicTimelineTweetsWithBlock:^(NSArray *tweets) {
+ self.tweetsArrayController.content = tweets;
+ NSLog(@"Tweets: %@", tweets);
+ }];
+}
@end
+
+#endif
View
0 iOS Example/Classes/AFTwitterAPIClient.h → Example/Classes/AFTwitterAPIClient.h
File renamed without changes.
View
0 iOS Example/Classes/AFTwitterAPIClient.m → Example/Classes/AFTwitterAPIClient.m
File renamed without changes.
View
0 ...ontrollers/PublicTimelineViewController.h → ...ontrollers/PublicTimelineViewController.h
File renamed without changes.
View
0 ...ontrollers/PublicTimelineViewController.m → ...ontrollers/PublicTimelineViewController.m
File renamed without changes.
View
0 iOS Example/Classes/Models/Tweet.h → Example/Classes/Models/Tweet.h
File renamed without changes.
View
11 iOS Example/Classes/Models/Tweet.m → Example/Classes/Models/Tweet.m
@@ -63,11 +63,12 @@ + (void)publicTimelineTweetsWithBlock:(void (^)(NSArray *tweets))block {
if (block) {
block([NSArray arrayWithArray:mutableTweets]);
}
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- NSLog(@"Error: %@", error);
-
- [[[UIAlertView alloc] initWithTitle:@"Error" message:[error localizedDescription] delegate:nil cancelButtonTitle:nil otherButtonTitles:@"Ok", nil] show];
-
+ } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
+#if __IPHONE_OS_VERSION_MIN_REQUIRED
+ [[[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Error", nil) message:[error localizedDescription] delegate:nil cancelButtonTitle:nil otherButtonTitles:NSLocalizedString(@"OK", nil), nil] show];
+#else
+ [[NSAlert alertWithMessageText:NSLocalizedString(@"Error", nil) defaultButton:NSLocalizedString(@"OK", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:[error localizedDescription]] runModal];
+#endif
if (block) {
block(nil);
}
View
0 iOS Example/Classes/Models/User.h → Example/Classes/Models/User.h
File renamed without changes.
View
0 iOS Example/Classes/Models/User.m → Example/Classes/Models/User.m
File renamed without changes.
View
0 ...xample/Classes/Views/TweetTableViewCell.h → Example/Classes/Views/TweetTableViewCell.h
File renamed without changes.
View
0 ...xample/Classes/Views/TweetTableViewCell.m → Example/Classes/Views/TweetTableViewCell.m
File renamed without changes.
View
0 iOS Example/Default.png → Example/Default.png
File renamed without changes
View
0 iOS Example/Default@2x.png → Example/Default@2x.png
File renamed without changes
View
0 iOS Example/Icon.png → Example/Icon.png
File renamed without changes
View
0 iOS Example/Icon@2x.png → Example/Icon@2x.png
File renamed without changes
View
0 ...mple/Images/profile-image-placeholder.png → Example/Images/profile-image-placeholder.png
File renamed without changes
View
0 ...e/Images/profile-image-placeholder@2x.png → ...e/Images/profile-image-placeholder@2x.png
File renamed without changes
View
4 Mac Example/Info.plist → Example/Mac-Info.plist
@@ -22,12 +22,10 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
- <key>LSApplicationCategoryType</key>
- <string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
- <string>Copyright © 2011 Gowalla. All rights reserved.</string>
+ <string>Copyright © 2012年 __MyCompanyName__. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
View
416 Mac Example/en.lproj/MainMenu.xib → Example/MainMenu.xib
@@ -2,13 +2,13 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1070</int>
- <string key="IBDocument.SystemVersion">11C74</string>
- <string key="IBDocument.InterfaceBuilderVersion">1938</string>
- <string key="IBDocument.AppKitVersion">1138.23</string>
- <string key="IBDocument.HIToolboxVersion">567.00</string>
+ <string key="IBDocument.SystemVersion">11E53</string>
+ <string key="IBDocument.InterfaceBuilderVersion">2182</string>
+ <string key="IBDocument.AppKitVersion">1138.47</string>
+ <string key="IBDocument.HIToolboxVersion">569.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="NS.object.0">1938</string>
+ <string key="NS.object.0">2182</string>
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -18,12 +18,15 @@
<string>NSMenu</string>
<string>NSScrollView</string>
<string>NSTextFieldCell</string>
+ <string>NSImageView</string>
<string>NSImageCell</string>
<string>NSTableView</string>
+ <string>NSTableCellView</string>
<string>NSCustomObject</string>
<string>NSView</string>
<string>NSWindowTemplate</string>
<string>NSTableColumn</string>
+ <string>NSTextField</string>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -251,7 +254,7 @@
<object class="NSWindowTemplate" id="972006081">
<int key="NSWindowStyleMask">15</int>
<int key="NSWindowBacking">2</int>
- <string key="NSWindowRect">{{60, 295}, {375, 500}}</string>
+ <string key="NSWindowRect">{{60, 295}, {331, 500}}</string>
<int key="NSWTFlags">1954021376</int>
<string key="NSWindowTitle">AFNetworking Mac Example</string>
<string key="NSWindowClass">NSWindow</string>
@@ -280,7 +283,7 @@
<string key="NSFrameSize">{373, 498}</string>
<reference key="NSSuperview" ref="411548182"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="830874312"/>
+ <reference key="NSNextKeyView" ref="452407787"/>
<string key="NSReuseIdentifierKey">_NS:1197</string>
<bool key="NSEnabled">YES</bool>
<object class="_NSCornerView" key="NSCornerView">
@@ -292,23 +295,23 @@
<object class="NSMutableArray" key="NSTableColumns">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSTableColumn" id="553559566">
- <double key="NSWidth">70</double>
+ <double key="NSWidth">320</double>
<double key="NSMinWidth">70</double>
- <double key="NSMaxWidth">70</double>
+ <double key="NSMaxWidth">10000</double>
<object class="NSTableHeaderCell" key="NSHeaderCell">
<int key="NSCellFlags">75628096</int>
<int key="NSCellFlags2">2048</int>
<string key="NSContents"/>
- <object class="NSFont" key="NSSupport" id="26">
+ <object class="NSFont" key="NSSupport">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">11</double>
<int key="NSfFlags">3100</int>
</object>
- <object class="NSColor" key="NSBackgroundColor" id="852838638">
+ <object class="NSColor" key="NSBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC4zMzMzMzI5ODU2AA</bytes>
</object>
- <object class="NSColor" key="NSTextColor" id="705481664">
+ <object class="NSColor" key="NSTextColor">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">headerTextColor</string>
@@ -341,49 +344,6 @@
<bool key="NSIsEditable">YES</bool>
<reference key="NSTableView" ref="256434433"/>
</object>
- <object class="NSTableColumn" id="879600957">
- <double key="NSWidth">223</double>
- <double key="NSMinWidth">40</double>
- <double key="NSMaxWidth">1000</double>
- <object class="NSTableHeaderCell" key="NSHeaderCell">
- <int key="NSCellFlags">75628096</int>
- <int key="NSCellFlags2">2048</int>
- <string key="NSContents"/>
- <reference key="NSSupport" ref="26"/>
- <reference key="NSBackgroundColor" ref="852838638"/>
- <reference key="NSTextColor" ref="705481664"/>
- </object>
- <object class="NSTextFieldCell" key="NSDataCell" id="722199198">
- <int key="NSCellFlags">337772032</int>
- <int key="NSCellFlags2">0</int>
- <string key="NSContents">Text Cell</string>
- <object class="NSFont" key="NSSupport">
- <string key="NSName">LucidaGrande</string>
- <double key="NSSize">16</double>
- <int key="NSfFlags">16</int>
- </object>
- <reference key="NSControlView" ref="256434433"/>
- <object class="NSColor" key="NSBackgroundColor" id="100074496">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">controlBackgroundColor</string>
- <object class="NSColor" key="NSColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
- </object>
- </object>
- <object class="NSColor" key="NSTextColor">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">controlTextColor</string>
- <reference key="NSColor" ref="840334811"/>
- </object>
- </object>
- <int key="NSResizingMask">3</int>
- <bool key="NSIsResizeable">YES</bool>
- <bool key="NSIsEditable">YES</bool>
- <reference key="NSTableView" ref="256434433"/>
- </object>
</object>
<double key="NSIntercellSpacingWidth">10</double>
<double key="NSIntercellSpacingHeight">10</double>
@@ -400,11 +360,11 @@
<bytes key="NSWhite">MC41AA</bytes>
</object>
</object>
- <double key="NSRowHeight">60</double>
- <int key="NSTvFlags">373293056</int>
+ <double key="NSRowHeight">70</double>
+ <int key="NSTvFlags">373325824</int>
<reference key="NSDelegate"/>
<reference key="NSDataSource"/>
- <int key="NSColumnAutoresizingStyle">4</int>
+ <int key="NSColumnAutoresizingStyle">1</int>
<int key="NSDraggingSourceMaskForLocal">15</int>
<int key="NSDraggingSourceMaskForNonLocal">0</int>
<bool key="NSAllowsTypeSelect">YES</bool>
@@ -418,7 +378,15 @@
<reference key="NSNextKeyView" ref="256434433"/>
<string key="NSReuseIdentifierKey">_NS:1195</string>
<reference key="NSDocView" ref="256434433"/>
- <reference key="NSBGColor" ref="100074496"/>
+ <object class="NSColor" key="NSBGColor">
+ <int key="NSColorSpace">6</int>
+ <string key="NSCatalogName">System</string>
+ <string key="NSColorName">controlBackgroundColor</string>
+ <object class="NSColor" key="NSColor" id="496282256">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
+ </object>
+ </object>
<int key="NScvFlags">4</int>
</object>
<object class="NSScroller" id="830874312">
@@ -436,14 +404,15 @@
<object class="NSScroller" id="870849666">
<reference key="NSNextResponder" ref="905625827"/>
<int key="NSvFlags">-2147483392</int>
- <string key="NSFrame">{{1, 526}, {374, 15}}</string>
+ <string key="NSFrame">{{1, 484}, {373, 15}}</string>
<reference key="NSSuperview" ref="905625827"/>
<reference key="NSWindow"/>
+ <reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:1216</string>
<int key="NSsFlags">1</int>
<reference key="NSTarget" ref="905625827"/>
<string key="NSAction">_doScroller:</string>
- <double key="NSPercent">0.99733333333333329</double>
+ <double key="NSPercent">0.99732620320855614</double>
</object>
</object>
<string key="NSFrameSize">{375, 500}</string>
@@ -455,10 +424,10 @@
<reference key="NSVScroller" ref="830874312"/>
<reference key="NSHScroller" ref="870849666"/>
<reference key="NSContentView" ref="411548182"/>
- <bytes key="NSScrollAmts">QSAAAEEgAABCjAAAQowAAA</bytes>
+ <bytes key="NSScrollAmts">QSAAAEEgAABCoAAAQqAAAA</bytes>
</object>
</object>
- <string key="NSFrameSize">{375, 500}</string>
+ <string key="NSFrameSize">{331, 500}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="905625827"/>
@@ -483,9 +452,6 @@
<bool key="NSFilterRestrictsInsertion">YES</bool>
<bool key="NSClearsFilterPredicateOnInsertion">YES</bool>
</object>
- <object class="NSCustomObject" id="91820041">
- <string key="NSClassName">NearbySpotsController</string>
- </object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
@@ -579,52 +545,163 @@
<int key="connectionID">532</int>
</object>
<object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">tweetsArrayController</string>
+ <reference key="source" ref="976324537"/>
+ <reference key="destination" ref="680254480"/>
+ </object>
+ <int key="connectionID">609</int>
+ </object>
+ <object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
- <string key="label">valueURL: arrangedObjects.imageURL</string>
+ <string key="label">value: arrangedObjects</string>
<reference key="source" ref="553559566"/>
<reference key="destination" ref="680254480"/>
<object class="NSNibBindingConnector" key="connector">
<reference key="NSSource" ref="553559566"/>
<reference key="NSDestination" ref="680254480"/>
- <string key="NSLabel">valueURL: arrangedObjects.imageURL</string>
- <string key="NSBinding">valueURL</string>
- <string key="NSKeyPath">arrangedObjects.imageURL</string>
+ <string key="NSLabel">value: arrangedObjects</string>
+ <string key="NSBinding">value</string>
+ <string key="NSKeyPath">arrangedObjects</string>
<int key="NSNibBindingConnectorVersion">2</int>
</object>
</object>
- <int key="connectionID">562</int>
+ <int key="connectionID">598</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">textField</string>
+ <object class="NSTableCellView" key="source" id="452407787">
+ <nil key="NSNextResponder"/>
+ <int key="NSvFlags">274</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSTextField" id="1060620374">
+ <reference key="NSNextResponder" ref="452407787"/>
+ <int key="NSvFlags">266</int>
+ <string key="NSFrame">{{84, 50}, {236, 17}}</string>
+ <reference key="NSSuperview" ref="452407787"/>
+ <reference key="NSNextKeyView" ref="557269092"/>
+ <string key="NSAntiCompressionPriority">{250, 750}</string>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSTextFieldCell" key="NSCell" id="879250900">
+ <int key="NSCellFlags">67239488</int>
+ <int key="NSCellFlags2">272631808</int>
+ <string key="NSContents">Username</string>
+ <object class="NSFont" key="NSSupport">
+ <string key="NSName">LucidaGrande-Bold</string>
+ <double key="NSSize">14</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ <reference key="NSControlView" ref="1060620374"/>
+ <object class="NSColor" key="NSBackgroundColor" id="1006274717">
+ <int key="NSColorSpace">6</int>
+ <string key="NSCatalogName">System</string>
+ <string key="NSColorName">controlColor</string>
+ <reference key="NSColor" ref="496282256"/>
+ </object>
+ <object class="NSColor" key="NSTextColor" id="900549854">
+ <int key="NSColorSpace">6</int>
+ <string key="NSCatalogName">System</string>
+ <string key="NSColorName">controlTextColor</string>
+ <reference key="NSColor" ref="840334811"/>
+ </object>
+ </object>
+ </object>
+ <object class="NSImageView" id="728307336">
+ <reference key="NSNextResponder" ref="452407787"/>
+ <int key="NSvFlags">268</int>
+ <object class="NSMutableSet" key="NSDragTypes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="set.sortedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>Apple PDF pasteboard type</string>
+ <string>Apple PICT pasteboard type</string>
+ <string>Apple PNG pasteboard type</string>
+ <string>NSFilenamesPboardType</string>
+ <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
+ <string>NeXT TIFF v4.0 pasteboard type</string>
+ </object>
+ </object>
+ <string key="NSFrame">{{14, 7}, {56, 56}}</string>
+ <reference key="NSSuperview" ref="452407787"/>
+ <reference key="NSNextKeyView" ref="1060620374"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSImageCell" key="NSCell" id="697926181">
+ <int key="NSCellFlags">130560</int>
+ <int key="NSCellFlags2">33554432</int>
+ <string key="NSCellIdentifier">_NS:9</string>
+ <int key="NSAlign">0</int>
+ <int key="NSScale">0</int>
+ <int key="NSStyle">1</int>
+ <bool key="NSAnimates">NO</bool>
+ </object>
+ <bool key="NSEditable">YES</bool>
+ </object>
+ <object class="NSTextField" id="557269092">
+ <reference key="NSNextResponder" ref="452407787"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{84, 10}, {236, 34}}</string>
+ <reference key="NSSuperview" ref="452407787"/>
+ <reference key="NSNextKeyView" ref="830874312"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <string key="NSAntiCompressionPriority">{250, 750}</string>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSTextFieldCell" key="NSCell" id="824318355">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">272629760</int>
+ <string key="NSContents">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad mi.</string>
+ <object class="NSFont" key="NSSupport">
+ <string key="NSName">LucidaGrande</string>
+ <double key="NSSize">13</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ <string key="NSCellIdentifier">_NS:9</string>
+ <reference key="NSControlView" ref="557269092"/>
+ <reference key="NSBackgroundColor" ref="1006274717"/>
+ <reference key="NSTextColor" ref="900549854"/>
+ </object>
+ </object>
+ </object>
+ <string key="NSFrame">{{5, 5}, {320, 70}}</string>
+ <reference key="NSNextKeyView" ref="728307336"/>
+ </object>
+ <reference key="destination" ref="1060620374"/>
+ </object>
+ <int key="connectionID">580</int>
</object>
<object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
- <string key="label">value: arrangedObjects.name</string>
- <reference key="source" ref="879600957"/>
- <reference key="destination" ref="680254480"/>
+ <string key="label">value: objectValue.user.username</string>
+ <reference key="source" ref="1060620374"/>
+ <reference key="destination" ref="452407787"/>
<object class="NSNibBindingConnector" key="connector">
- <reference key="NSSource" ref="879600957"/>
- <reference key="NSDestination" ref="680254480"/>
- <string key="NSLabel">value: arrangedObjects.name</string>
+ <reference key="NSSource" ref="1060620374"/>
+ <reference key="NSDestination" ref="452407787"/>
+ <string key="NSLabel">value: objectValue.user.username</string>
<string key="NSBinding">value</string>
- <string key="NSKeyPath">arrangedObjects.name</string>
+ <string key="NSKeyPath">objectValue.user.username</string>
<int key="NSNibBindingConnectorVersion">2</int>
</object>
</object>
- <int key="connectionID">566</int>
+ <int key="connectionID">604</int>
</object>
<object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
- <string key="label">contentArray: nearbySpots</string>
- <reference key="source" ref="680254480"/>
- <reference key="destination" ref="91820041"/>
+ <string key="label">value: objectValue.text</string>
+ <reference key="source" ref="557269092"/>
+ <reference key="destination" ref="452407787"/>
<object class="NSNibBindingConnector" key="connector">
- <reference key="NSSource" ref="680254480"/>
- <reference key="NSDestination" ref="91820041"/>
- <string key="NSLabel">contentArray: nearbySpots</string>
- <string key="NSBinding">contentArray</string>
- <string key="NSKeyPath">nearbySpots</string>
+ <reference key="NSSource" ref="557269092"/>
+ <reference key="NSDestination" ref="452407787"/>
+ <string key="NSLabel">value: objectValue.text</string>
+ <string key="NSBinding">value</string>
+ <string key="NSKeyPath">objectValue.text</string>
<int key="NSNibBindingConnectorVersion">2</int>
</object>
</object>
- <int key="connectionID">560</int>
+ <int key="connectionID">605</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
@@ -840,6 +917,12 @@
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
+ <int key="objectID">555</int>
+ <reference key="object" ref="680254480"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">Tweets Array Controller</string>
+ </object>
+ <object class="IBObjectRecord">
<int key="objectID">537</int>
<reference key="object" ref="905625827"/>
<object class="NSMutableArray" key="children">
@@ -851,22 +934,11 @@
<reference key="parent" ref="439893737"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">538</int>
- <reference key="object" ref="830874312"/>
- <reference key="parent" ref="905625827"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">540</int>
- <reference key="object" ref="870849666"/>
- <reference key="parent" ref="905625827"/>
- </object>
- <object class="IBObjectRecord">
<int key="objectID">541</int>
<reference key="object" ref="256434433"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="553559566"/>
- <reference ref="879600957"/>
</object>
<reference key="parent" ref="905625827"/>
</object>
@@ -876,37 +948,77 @@
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="717955434"/>
+ <reference ref="452407787"/>
</object>
<reference key="parent" ref="256434433"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">543</int>
- <reference key="object" ref="879600957"/>
+ <int key="objectID">546</int>
+ <reference key="object" ref="717955434"/>
+ <reference key="parent" ref="553559566"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">540</int>
+ <reference key="object" ref="870849666"/>
+ <reference key="parent" ref="905625827"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">538</int>
+ <reference key="object" ref="830874312"/>
+ <reference key="parent" ref="905625827"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">577</int>
+ <reference key="object" ref="452407787"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="722199198"/>
+ <reference ref="1060620374"/>
+ <reference ref="728307336"/>
+ <reference ref="557269092"/>
</object>
- <reference key="parent" ref="256434433"/>
+ <reference key="parent" ref="553559566"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">544</int>
- <reference key="object" ref="722199198"/>
- <reference key="parent" ref="879600957"/>
+ <int key="objectID">578</int>
+ <reference key="object" ref="1060620374"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="879250900"/>
+ </object>
+ <reference key="parent" ref="452407787"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">546</int>
- <reference key="object" ref="717955434"/>
- <reference key="parent" ref="553559566"/>
+ <int key="objectID">579</int>
+ <reference key="object" ref="879250900"/>
+ <reference key="parent" ref="1060620374"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">555</int>
- <reference key="object" ref="680254480"/>
- <reference key="parent" ref="0"/>
+ <int key="objectID">594</int>
+ <reference key="object" ref="728307336"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="697926181"/>
+ </object>
+ <reference key="parent" ref="452407787"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">556</int>
- <reference key="object" ref="91820041"/>
- <reference key="parent" ref="0"/>
+ <int key="objectID">595</int>
+ <reference key="object" ref="697926181"/>
+ <reference key="parent" ref="728307336"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">596</int>
+ <reference key="object" ref="557269092"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="824318355"/>
+ </object>
+ <reference key="parent" ref="452407787"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">597</int>
+ <reference key="object" ref="824318355"/>
+ <reference key="parent" ref="557269092"/>
</object>
</object>
</object>
@@ -945,18 +1057,25 @@
<string>538.IBPluginDependency</string>
<string>540.IBPluginDependency</string>
<string>541.IBPluginDependency</string>
+ <string>541.ibExternalAutomaticallyCalculatesRowSizeFromViewHeight</string>
<string>542.IBPluginDependency</string>
- <string>543.IBPluginDependency</string>
- <string>544.IBPluginDependency</string>
+ <string>542.isInViewBasedMode</string>
+ <string>542.prototypeCellViews</string>
<string>546.IBPluginDependency</string>
<string>555.IBPluginDependency</string>
- <string>556.IBPluginDependency</string>
<string>56.IBPluginDependency</string>
<string>57.IBPluginDependency</string>
+ <string>577.IBPluginDependency</string>
+ <string>578.IBPluginDependency</string>
+ <string>579.IBPluginDependency</string>
<string>58.IBPluginDependency</string>
+ <string>594.IBPluginDependency</string>
+ <string>595.IBPluginDependency</string>
+ <string>596.IBPluginDependency</string>
+ <string>597.IBPluginDependency</string>
<string>92.IBPluginDependency</string>
</object>
- <object class="NSMutableArray" key="dict.values">
+ <object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -989,6 +1108,16 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <boolean value="YES"/>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <boolean value="YES"/>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="452407787"/>
+ </object>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1013,7 +1142,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">567</int>
+ <int key="maxID">609</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -1022,29 +1151,42 @@
<string key="className">AppDelegate</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="outlets">
- <string key="NS.key.0">window</string>
- <string key="NS.object.0">NSWindow</string>
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>tweetsArrayController</string>
+ <string>window</string>
+ </object>
+ <object class="NSArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>NSArrayController</string>
+ <string>NSWindow</string>
+ </object>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
- <string key="NS.key.0">window</string>
- <object class="IBToOneOutletInfo" key="NS.object.0">
- <string key="name">window</string>
- <string key="candidateClassName">NSWindow</string>
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>tweetsArrayController</string>
+ <string>window</string>
+ </object>
+ <object class="NSArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tweetsArrayController</string>
+ <string key="candidateClassName">NSArrayController</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">window</string>
+ <string key="candidateClassName">NSWindow</string>
+ </object>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/AppDelegate.h</string>
</object>
</object>
- <object class="IBPartialClassDescription">
- <string key="className">NearbySpotsController</string>
- <string key="superclassName">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/NearbySpotsController.h</string>
- </object>
- </object>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
@@ -1063,10 +1205,10 @@
<string>NSMenuMixedState</string>
<string>placeholder-stamp</string>
</object>
- <object class="NSMutableArray" key="dict.values">
+ <object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
- <string>{9, 8}</string>
- <string>{7, 2}</string>
+ <string>{11, 11}</string>
+ <string>{10, 3}</string>
<string>{50, 50}</string>
</object>
</object>
View
17 Example/Prefix.pch
@@ -0,0 +1,17 @@
+#import <Availability.h>
+
+#if __IPHONE_OS_VERSION_MIN_REQUIRED
+ #ifndef __IPHONE_3_0
+ #warning "This project uses features only available in iPhone SDK 3.0 and later."
+ #endif
+
+ #ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+ #import <SystemConfiguration/SystemConfiguration.h>
+ #endif
+#else
+ #ifdef __OBJC__
+ #import <Cocoa/Cocoa.h>
+ #endif
+#endif
View
4,587 Example/en.lproj/MainMenu.xib
4,587 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
0 iOS Example/Info.plist → Example/iOS-Info.plist
File renamed without changes.
View
24 Example/main.m
@@ -0,0 +1,24 @@
+//
+// main.m
+// AFNetworking-Mac-Example
+//
+// Created by Mattt Thompson on 12/06/19.
+// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
+//
+
+#if __IPHONE_OS_VERSION_MIN_REQUIRED
+ #import <UIKit/UIKit.h>
+
+ int main(int argc, char *argv[]) {
+ @autoreleasepool {
+ int retVal = UIApplicationMain(argc, argv, @"UIApplication", @"AppDelegate");
+ return retVal;
+ }
+ }
+#else
+ #import <Cocoa/Cocoa.h>
+
+ int main(int argc, char *argv[]) {
+ return NSApplicationMain(argc, (const char **)argv);
+ }
+#endif
View
420 Mac Example/AFNetworking Mac Example.xcodeproj/project.pbxproj
@@ -1,420 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- F8689A9C14CC9F780087F357 /* AFJSONUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = F8689A9B14CC9F780087F357 /* AFJSONUtilities.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
- F87A159F1444926300318955 /* AFURLConnectionOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F87A159E1444926300318955 /* AFURLConnectionOperation.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
- F87A15A21444926A00318955 /* AFXMLRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F87A15A11444926900318955 /* AFXMLRequestOperation.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
- F87A15A51444927300318955 /* AFPropertyListRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F87A15A41444927300318955 /* AFPropertyListRequestOperation.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
- F87A15CD1444A30800318955 /* AFGowallaAPIClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F87A15C61444A30800318955 /* AFGowallaAPIClient.m */; };
- F87A15CE1444A30800318955 /* NearbySpotsController.m in Sources */ = {isa = PBXBuildFile; fileRef = F87A15C91444A30800318955 /* NearbySpotsController.m */; };
- F87A15CF1444A30800318955 /* Spot.m in Sources */ = {isa = PBXBuildFile; fileRef = F87A15CC1444A30800318955 /* Spot.m */; };
- F87A15D11444A3EB00318955 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F87A15D01444A3EB00318955 /* CoreLocation.framework */; };
- F87A15DD1444A86600318955 /* placeholder-stamp.png in Resources */ = {isa = PBXBuildFile; fileRef = F87A15DB1444A86600318955 /* placeholder-stamp.png */; };
- F897DE78142CFEDC000DDD35 /* AFHTTPClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F897DE6A142CFEDC000DDD35 /* AFHTTPClient.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
- F897DE79142CFEDC000DDD35 /* AFHTTPRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F897DE6C142CFEDC000DDD35 /* AFHTTPRequestOperation.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
- F897DE7B142CFEDC000DDD35 /* AFImageRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F897DE70142CFEDC000DDD35 /* AFImageRequestOperation.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
- F897DE7C142CFEDC000DDD35 /* AFJSONRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F897DE72142CFEDC000DDD35 /* AFJSONRequestOperation.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
- F8A27AC7142CFE1300F5E0D6 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F8A27AB2142CFE1300F5E0D6 /* AppDelegate.m */; };
- F8A27AC8142CFE1300F5E0D6 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F8A27AB3142CFE1300F5E0D6 /* main.m */; };
- F8A27AC9142CFE1300F5E0D6 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = F8A27AB9142CFE1300F5E0D6 /* Credits.rtf */; };
- F8A27ACA142CFE1300F5E0D6 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = F8A27ABB142CFE1300F5E0D6 /* MainMenu.xib */; };
- F8A27ACB142CFE1300F5E0D6 /* JSONKit.m in Sources */ = {isa = PBXBuildFile; fileRef = F8A27AC0142CFE1300F5E0D6 /* JSONKit.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc -w -Xanalyzer -analyzer-disable-checker"; }; };
- F8CEEB6F142CEC6E00247B03 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8CEEB6E142CEC6E00247B03 /* Cocoa.framework */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
- F8323C901455B4FE00190CCB /* AFJSONUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFJSONUtilities.h; sourceTree = "<group>"; };
- F8689A9B14CC9F780087F357 /* AFJSONUtilities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFJSONUtilities.m; sourceTree = "<group>"; };
- F87A159D1444926300318955 /* AFURLConnectionOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFURLConnectionOperation.h; sourceTree = "<group>"; };
- F87A159E1444926300318955 /* AFURLConnectionOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFURLConnectionOperation.m; sourceTree = "<group>"; };
- F87A15A01444926900318955 /* AFXMLRequestOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFXMLRequestOperation.h; sourceTree = "<group>"; };
- F87A15A11444926900318955 /* AFXMLRequestOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFXMLRequestOperation.m; sourceTree = "<group>"; };
- F87A15A31444927300318955 /* AFPropertyListRequestOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFPropertyListRequestOperation.h; sourceTree = "<group>"; };
- F87A15A41444927300318955 /* AFPropertyListRequestOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFPropertyListRequestOperation.m; sourceTree = "<group>"; };
- F87A15C51444A30800318955 /* AFGowallaAPIClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFGowallaAPIClient.h; sourceTree = "<group>"; };
- F87A15C61444A30800318955 /* AFGowallaAPIClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFGowallaAPIClient.m; sourceTree = "<group>"; };
- F87A15C81444A30800318955 /* NearbySpotsController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NearbySpotsController.h; sourceTree = "<group>"; };
- F87A15C91444A30800318955 /* NearbySpotsController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NearbySpotsController.m; sourceTree = "<group>"; };
- F87A15CB1444A30800318955 /* Spot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Spot.h; sourceTree = "<group>"; };
- F87A15CC1444A30800318955 /* Spot.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Spot.m; sourceTree = "<group>"; };
- F87A15D01444A3EB00318955 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
- F87A15DB1444A86600318955 /* placeholder-stamp.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "placeholder-stamp.png"; sourceTree = "<group>"; };
- F897DE69142CFEDC000DDD35 /* AFHTTPClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFHTTPClient.h; sourceTree = "<group>"; };
- F897DE6A142CFEDC000DDD35 /* AFHTTPClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFHTTPClient.m; sourceTree = "<group>"; };
- F897DE6B142CFEDC000DDD35 /* AFHTTPRequestOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFHTTPRequestOperation.h; sourceTree = "<group>"; };
- F897DE6C142CFEDC000DDD35 /* AFHTTPRequestOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFHTTPRequestOperation.m; sourceTree = "<group>"; };
- F897DE6F142CFEDC000DDD35 /* AFImageRequestOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFImageRequestOperation.h; sourceTree = "<group>"; };
- F897DE70142CFEDC000DDD35 /* AFImageRequestOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFImageRequestOperation.m; sourceTree = "<group>"; };
- F897DE71142CFEDC000DDD35 /* AFJSONRequestOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFJSONRequestOperation.h; sourceTree = "<group>"; };
- F897DE72142CFEDC000DDD35 /* AFJSONRequestOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFJSONRequestOperation.m; sourceTree = "<group>"; };
- F897DE75142CFEDC000DDD35 /* AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFNetworking.h; sourceTree = "<group>"; };
- F8A27AB1142CFE1300F5E0D6 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
- F8A27AB2142CFE1300F5E0D6 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
- F8A27AB3142CFE1300F5E0D6 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
- F8A27ABA142CFE1300F5E0D6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = Credits.rtf; sourceTree = "<group>"; };
- F8A27ABC142CFE1300F5E0D6 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = MainMenu.xib; sourceTree = "<group>"; };
- F8A27ABF142CFE1300F5E0D6 /* JSONKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONKit.h; sourceTree = "<group>"; };
- F8A27AC0142CFE1300F5E0D6 /* JSONKit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSONKit.m; sourceTree = "<group>"; };
- F8A27AC4142CFE1300F5E0D6 /* Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Prefix.pch; sourceTree = "<group>"; };
- F8A27AC5142CFE1300F5E0D6 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
- F8CEEB6A142CEC6E00247B03 /* AFNetworking Mac Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "AFNetworking Mac Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
- F8CEEB6E142CEC6E00247B03 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
- F8CEEB71142CEC6E00247B03 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
- F8CEEB72142CEC6E00247B03 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
- F8CEEB73142CEC6E00247B03 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- F8CEEB67142CEC6E00247B03 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- F87A15D11444A3EB00318955 /* CoreLocation.framework in Frameworks */,
- F8CEEB6F142CEC6E00247B03 /* Cocoa.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- F87A15C41444A30800318955 /* Classes */ = {
- isa = PBXGroup;
- children = (
- F87A15C51444A30800318955 /* AFGowallaAPIClient.h */,
- F87A15C61444A30800318955 /* AFGowallaAPIClient.m */,
- F87A15C71444A30800318955 /* Controllers */,
- F87A15CA1444A30800318955 /* Models */,
- );
- path = Classes;
- sourceTree = "<group>";
- };
- F87A15C71444A30800318955 /* Controllers */ = {
- isa = PBXGroup;
- children = (
- F87A15C81444A30800318955 /* NearbySpotsController.h */,
- F87A15C91444A30800318955 /* NearbySpotsController.m */,
- );
- path = Controllers;
- sourceTree = "<group>";
- };
- F87A15CA1444A30800318955 /* Models */ = {
- isa = PBXGroup;
- children = (
- F87A15CB1444A30800318955 /* Spot.h */,
- F87A15CC1444A30800318955 /* Spot.m */,
- );
- path = Models;
- sourceTree = "<group>";
- };
- F87A15DA1444A86600318955 /* Images */ = {
- isa = PBXGroup;
- children = (
- F87A15DB1444A86600318955 /* placeholder-stamp.png */,
- );
- path = Images;
- sourceTree = "<group>";
- };
- F897DE68142CFEDC000DDD35 /* AFNetworking */ = {
- isa = PBXGroup;
- children = (
- F897DE75142CFEDC000DDD35 /* AFNetworking.h */,
- F87A159D1444926300318955 /* AFURLConnectionOperation.h */,
- F87A159E1444926300318955 /* AFURLConnectionOperation.m */,
- F897DE6B142CFEDC000DDD35 /* AFHTTPRequestOperation.h */,
- F897DE6C142CFEDC000DDD35 /* AFHTTPRequestOperation.m */,
- F897DE71142CFEDC000DDD35 /* AFJSONRequestOperation.h */,
- F897DE72142CFEDC000DDD35 /* AFJSONRequestOperation.m */,
- F87A15A01444926900318955 /* AFXMLRequestOperation.h */,
- F87A15A11444926900318955 /* AFXMLRequestOperation.m */,
- F87A15A31444927300318955 /* AFPropertyListRequestOperation.h */,
- F87A15A41444927300318955 /* AFPropertyListRequestOperation.m */,
- F897DE69142CFEDC000DDD35 /* AFHTTPClient.h */,
- F897DE6A142CFEDC000DDD35 /* AFHTTPClient.m */,
- F897DE6F142CFEDC000DDD35 /* AFImageRequestOperation.h */,
- F897DE70142CFEDC000DDD35 /* AFImageRequestOperation.m */,
- F8323C901455B4FE00190CCB /* AFJSONUtilities.h */,
- F8689A9B14CC9F780087F357 /* AFJSONUtilities.m */,
- );
- name = AFNetworking;
- path = ../../AFNetworking;
- sourceTree = "<group>";
- };
- F8A27ABD142CFE1300F5E0D6 /* Vendor */ = {
- isa = PBXGroup;
- children = (
- F897DE68142CFEDC000DDD35 /* AFNetworking */,
- F8A27ABE142CFE1300F5E0D6 /* JSONKit */,
- );
- path = Vendor;
- sourceTree = "<group>";
- };
- F8A27ABE142CFE1300F5E0D6 /* JSONKit */ = {
- isa = PBXGroup;
- children = (
- F8A27ABF142CFE1300F5E0D6 /* JSONKit.h */,
- F8A27AC0142CFE1300F5E0D6 /* JSONKit.m */,
- );
- path = JSONKit;
- sourceTree = "<group>";
- };
- F8A27ACD142CFE3000F5E0D6 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- F8A27AB3142CFE1300F5E0D6 /* main.m */,
- F8A27AB1142CFE1300F5E0D6 /* Info.plist */,
- F8A27AB2142CFE1300F5E0D6 /* AppDelegate.m */,
- F8A27AC4142CFE1300F5E0D6 /* Prefix.pch */,
- F8A27AC5142CFE1300F5E0D6 /* AppDelegate.h */,
- F8A27AB9142CFE1300F5E0D6 /* Credits.rtf */,
- F8A27ABB142CFE1300F5E0D6 /* MainMenu.xib */,
- F87A15DA1444A86600318955 /* Images */,
- );
- name = "Supporting Files";
- sourceTree = "<group>";
- };
- F8CEEB5F142CEC6E00247B03 = {
- isa = PBXGroup;
- children = (
- F87A15C41444A30800318955 /* Classes */,
- F8A27ACD142CFE3000F5E0D6 /* Supporting Files */,
- F8A27ABD142CFE1300F5E0D6 /* Vendor */,
- F8CEEB6D142CEC6E00247B03 /* Frameworks */,
- F8CEEB6B142CEC6E00247B03 /* Products */,
- );
- sourceTree = "<group>";
- };
- F8CEEB6B142CEC6E00247B03 /* Products */ = {
- isa = PBXGroup;
- children = (
- F8CEEB6A142CEC6E00247B03 /* AFNetworking Mac Example.app */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- F8CEEB6D142CEC6E00247B03 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- F87A15D01444A3EB00318955 /* CoreLocation.framework */,
- F8CEEB6E142CEC6E00247B03 /* Cocoa.framework */,
- F8CEEB70142CEC6E00247B03 /* Other Frameworks */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
- F8CEEB70142CEC6E00247B03 /* Other Frameworks */ = {
- isa = PBXGroup;
- children = (
- F8CEEB71142CEC6E00247B03 /* AppKit.framework */,
- F8CEEB72142CEC6E00247B03 /* CoreData.framework */,
- F8CEEB73142CEC6E00247B03 /* Foundation.framework */,
- );
- name = "Other Frameworks";
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- F8CEEB69142CEC6E00247B03 /* AFNetworking Mac Example */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = F8CEEB88142CEC6E00247B03 /* Build configuration list for PBXNativeTarget "AFNetworking Mac Example" */;
- buildPhases = (
- F8CEEB66142CEC6E00247B03 /* Sources */,
- F8CEEB67142CEC6E00247B03 /* Frameworks */,
- F8CEEB68142CEC6E00247B03 /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "AFNetworking Mac Example";
- productName = "AFNetworking Mac Example";
- productReference = F8CEEB6A142CEC6E00247B03 /* AFNetworking Mac Example.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- F8CEEB61142CEC6E00247B03 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastUpgradeCheck = 0420;
- ORGANIZATIONNAME = Gowalla;
- };
- buildConfigurationList = F8CEEB64142CEC6E00247B03 /* Build configuration list for PBXProject "AFNetworking Mac Example" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = F8CEEB5F142CEC6E00247B03;
- productRefGroup = F8CEEB6B142CEC6E00247B03 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- F8CEEB69142CEC6E00247B03 /* AFNetworking Mac Example */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- F8CEEB68142CEC6E00247B03 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- F8A27AC9142CFE1300F5E0D6 /* Credits.rtf in Resources */,
- F8A27ACA142CFE1300F5E0D6 /* MainMenu.xib in Resources */,
- F87A15DD1444A86600318955 /* placeholder-stamp.png in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- F8CEEB66142CEC6E00247B03 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- F8A27AC7142CFE1300F5E0D6 /* AppDelegate.m in Sources */,
- F8A27AC8142CFE1300F5E0D6 /* main.m in Sources */,
- F8A27ACB142CFE1300F5E0D6 /* JSONKit.m in Sources */,
- F87A159F1444926300318955 /* AFURLConnectionOperation.m in Sources */,
- F897DE78142CFEDC000DDD35 /* AFHTTPClient.m in Sources */,
- F897DE79142CFEDC000DDD35 /* AFHTTPRequestOperation.m in Sources */,
- F897DE7B142CFEDC000DDD35 /* AFImageRequestOperation.m in Sources */,
- F897DE7C142CFEDC000DDD35 /* AFJSONRequestOperation.m in Sources */,
- F87A15A21444926A00318955 /* AFXMLRequestOperation.m in Sources */,
- F87A15A51444927300318955 /* AFPropertyListRequestOperation.m in Sources */,
- F8689A9C14CC9F780087F357 /* AFJSONUtilities.m in Sources */,
- F87A15CD1444A30800318955 /* AFGowallaAPIClient.m in Sources */,
- F87A15CE1444A30800318955 /* NearbySpotsController.m in Sources */,
- F87A15CF1444A30800318955 /* Spot.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXVariantGroup section */
- F8A27AB9142CFE1300F5E0D6 /* Credits.rtf */ = {
- isa = PBXVariantGroup;
- children = (
- F8A27ABA142CFE1300F5E0D6 /* en */,
- );
- name = Credits.rtf;
- path = en.lproj;
- sourceTree = "<group>";
- };
- F8A27ABB142CFE1300F5E0D6 /* MainMenu.xib */ = {
- isa = PBXVariantGroup;
- children = (
- F8A27ABC142CFE1300F5E0D6 /* en */,
- );
- name = MainMenu.xib;
- path = en.lproj;
- sourceTree = "<group>";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- F8CEEB86142CEC6E00247B03 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
- CLANG_ENABLE_OBJC_ARC = YES;
- COPY_PHASE_STRIP = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.6;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = macosx;
- };
- name = Debug;
- };
- F8CEEB87142CEC6E00247B03 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
- CLANG_ENABLE_OBJC_ARC = YES;
- COPY_PHASE_STRIP = YES;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.6;
- SDKROOT = macosx;
- };
- name = Release;
- };
- F8CEEB89142CEC6E00247B03 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = Prefix.pch;
- INFOPLIST_FILE = Info.plist;
- MACOSX_DEPLOYMENT_TARGET = 10.6;
- PRODUCT_NAME = "$(TARGET_NAME)";
- WRAPPER_EXTENSION = app;
- };
- name = Debug;
- };
- F8CEEB8A142CEC6E00247B03 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = Prefix.pch;
- INFOPLIST_FILE = Info.plist;
- MACOSX_DEPLOYMENT_TARGET = 10.6;
- PRODUCT_NAME = "$(TARGET_NAME)";
- WRAPPER_EXTENSION = app;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- F8CEEB64142CEC6E00247B03 /* Build configuration list for PBXProject "AFNetworking Mac Example" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- F8CEEB86142CEC6E00247B03 /* Debug */,
- F8CEEB87142CEC6E00247B03 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- F8CEEB88142CEC6E00247B03 /* Build configuration list for PBXNativeTarget "AFNetworking Mac Example" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- F8CEEB89142CEC6E00247B03 /* Debug */,
- F8CEEB8A142CEC6E00247B03 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = F8CEEB61142CEC6E00247B03 /* Project object */;
-}
View
75 ...xample.xcodeproj/xcuserdata/mattt.xcuserdatad/xcschemes/AFNetworking Mac Example.xcscheme
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
- version = "1.3">
- <BuildAction
- parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES">
- <BuildActionEntries>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "F8CEEB69142CEC6E00247B03"
- BuildableName = "AFNetworking Mac Example.app"
- BlueprintName = "AFNetworking Mac Example"
- ReferencedContainer = "container:AFNetworking Mac Example.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
- shouldUseLaunchSchemeArgsEnv = "YES"
- buildConfiguration = "Debug">
- <Testables>
- </Testables>
- </TestAction>
- <LaunchAction
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- buildConfiguration = "Debug"
- debugDocumentVersioning = "YES"
- allowLocationSimulation = "YES">
- <BuildableProductRunnable>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "F8CEEB69142CEC6E00247B03"
- BuildableName = "AFNetworking Mac Example.app"
- BlueprintName = "AFNetworking Mac Example"
- ReferencedContainer = "container:AFNetworking Mac Example.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- buildConfiguration = "Release"
- debugDocumentVersioning = "YES">
- <BuildableProductRunnable>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "F8CEEB69142CEC6E00247B03"
- BuildableName = "AFNetworking Mac Example.app"
- BlueprintName = "AFNetworking Mac Example"
- ReferencedContainer = "container:AFNetworking Mac Example.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
View
22 ...ing Mac Example.xcodeproj/xcuserdata/mattt.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>SchemeUserState</key>
- <dict>
- <key>AFNetworking Mac Example.xcscheme</key>
- <dict>
- <key>orderHint</key>
- <integer>1</integer>
- </dict>
- </dict>
- <key>SuppressBuildableAutocreation</key>
- <dict>
- <key>F8CEEB69142CEC6E00247B03</key>
- <dict>
- <key>primary</key>
- <true/>
- </dict>
- </dict>
-</dict>
-</plist>
View
32 Mac Example/AppDelegate.h
@@ -1,32 +0,0 @@
-// AppDelegate.h
-//
-// Copyright (c) 2011 Gowalla (http://gowalla.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-
-#import <Cocoa/Cocoa.h>
-
-@interface AppDelegate : NSObject <NSApplicationDelegate> {
- NSWindow *_window;
-}
-
-@property (strong) IBOutlet NSWindow *window;
-
-@end
View
33 Mac Example/AppDelegate.m
@@ -1,33 +0,0 @@
-// AppDelegate.m
-//
-// Copyright (c) 2011 Gowalla (http://gowalla.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-
-#import "AppDelegate.h"
-
-@implementation AppDelegate
-@synthesize window = _window;
-
-- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
-
-}
-
-@end
View
31 Mac Example/Classes/AFGowallaAPIClient.h
@@ -1,31 +0,0 @@
-// AFGowallaAPI.h
-//
-// Copyright (c) 2011 Gowalla (http://gowalla.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-#import "AFHTTPClient.h"
-
-extern NSString * const kAFGowallaClientID;
-extern NSString * const kAFGowallaBaseURLString;
-
-@interface AFGowallaAPIClient : AFHTTPClient
-+ (AFGowallaAPIClient *)sharedClient;
-@end
View
64 Mac Example/Classes/AFGowallaAPIClient.m
@@ -1,64 +0,0 @@
-// AFGowallaAPI.m
-//
-// Copyright (c) 2011 Gowalla (http://gowalla.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "AFGowallaAPIClient.h"
-
-#import "AFJSONRequestOperation.h"
-
-// Replace this with your own API Key, available at http://api.gowalla.com/api/keys/
-NSString * const kAFGowallaClientID = @"e7ccb7d3d2414eb2af4663fc91eb2793";
-
-NSString * const kAFGowallaBaseURLString = @"https://api.gowalla.com/";
-
-@implementation AFGowallaAPIClient
-
-+ (AFGowallaAPIClient *)sharedClient {
- static AFGowallaAPIClient *_sharedClient = nil;
- static dispatch_once_t oncePredicate;
- dispatch_once(&oncePredicate, ^{
- _sharedClient = [[self alloc] initWithBaseURL:[NSURL URLWithString:kAFGowallaBaseURLString]];
- });
-
- return _sharedClient;
-}
-
-- (id)initWithBaseURL:(NSURL *)url {
- self = [super initWithBaseURL:url];
- if (!self) {
- return nil;
- }
-
- [self registerHTTPOperationClass:[AFJSONRequestOperation class]];
-
- // Accept HTTP Header; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1