From 424c026f0c762650148f52b0dd1a9012d8f422be Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Wed, 10 Oct 2012 20:08:34 -0700 Subject: [PATCH] Twitter shut off its unauthorized access to the public timeline; switching example over to the App.net global stream. --- .../project.pbxproj | 24 +- .../project.pbxproj | 48 +-- Example/AppDelegate.h | 2 +- Example/AppDelegate.m | 12 +- ...tterAPIClient.h => AFAppDotNetAPIClient.h} | 6 +- ...tterAPIClient.m => AFAppDotNetAPIClient.m} | 14 +- ...oller.h => GlobalTimelineViewController.h} | 4 +- ...oller.m => GlobalTimelineViewController.m} | 44 +-- Example/Classes/Models/{Tweet.h => Post.h} | 8 +- Example/Classes/Models/{Tweet.m => Post.m} | 24 +- Example/Classes/Models/User.h | 2 +- Example/Classes/Models/User.m | 22 +- ...eetTableViewCell.h => PostTableViewCell.h} | 8 +- ...eetTableViewCell.m => PostTableViewCell.m} | 26 +- Example/MainMenu.xib | 343 +++++++++--------- 15 files changed, 286 insertions(+), 301 deletions(-) rename Example/Classes/{AFTwitterAPIClient.h => AFAppDotNetAPIClient.h} (91%) rename Example/Classes/{AFTwitterAPIClient.m => AFAppDotNetAPIClient.m} (80%) rename Example/Classes/Controllers/{PublicTimelineViewController.h => GlobalTimelineViewController.h} (92%) rename Example/Classes/Controllers/{PublicTimelineViewController.m => GlobalTimelineViewController.m} (75%) rename Example/Classes/Models/{Tweet.h => Post.h} (88%) rename Example/Classes/Models/{Tweet.m => Post.m} (70%) rename Example/Classes/Views/{TweetTableViewCell.h => PostTableViewCell.h} (88%) rename Example/Classes/Views/{TweetTableViewCell.m => PostTableViewCell.m} (77%) diff --git a/Example/AFNetworking Mac Example.xcodeproj/project.pbxproj b/Example/AFNetworking Mac Example.xcodeproj/project.pbxproj index 116aafc..59617d1 100644 --- a/Example/AFNetworking Mac Example.xcodeproj/project.pbxproj +++ b/Example/AFNetworking Mac Example.xcodeproj/project.pbxproj @@ -8,8 +8,8 @@ /* 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 */; }; + F8129C321591073C009BFE23 /* AFAppDotNetAPIClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C251591073C009BFE23 /* AFAppDotNetAPIClient.m */; }; + F8129C341591073C009BFE23 /* Post.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C2B1591073C009BFE23 /* Post.m */; }; F8129C351591073C009BFE23 /* User.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C2D1591073C009BFE23 /* User.m */; }; F8129C6F15910B15009BFE23 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C6E15910B15009BFE23 /* main.m */; }; F8129C7115910B3E009BFE23 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = F8129C7015910B3E009BFE23 /* MainMenu.xib */; }; @@ -31,12 +31,12 @@ 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 = ""; }; - F8129C2B1591073C009BFE23 /* Tweet.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Tweet.m; sourceTree = ""; }; + F8129C251591073C009BFE23 /* AFAppDotNetAPIClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFAppDotNetAPIClient.m; path = Classes/AFAppDotNetAPIClient.m; sourceTree = SOURCE_ROOT; }; + F8129C2A1591073C009BFE23 /* Post.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Post.h; sourceTree = ""; }; + F8129C2B1591073C009BFE23 /* Post.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Post.m; sourceTree = ""; }; F8129C2C1591073C009BFE23 /* User.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = User.h; sourceTree = ""; }; F8129C2D1591073C009BFE23 /* User.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = User.m; sourceTree = ""; }; - F8129C311591073C009BFE23 /* AFTwitterAPIClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFTwitterAPIClient.h; path = Classes/AFTwitterAPIClient.h; sourceTree = SOURCE_ROOT; }; + F8129C311591073C009BFE23 /* AFAppDotNetAPIClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFAppDotNetAPIClient.h; path = Classes/AFAppDotNetAPIClient.h; sourceTree = SOURCE_ROOT; }; 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; }; @@ -118,8 +118,8 @@ F8129C051591061B009BFE23 /* Classes */ = { isa = PBXGroup; children = ( - F8129C311591073C009BFE23 /* AFTwitterAPIClient.h */, - F8129C251591073C009BFE23 /* AFTwitterAPIClient.m */, + F8129C311591073C009BFE23 /* AFAppDotNetAPIClient.h */, + F8129C251591073C009BFE23 /* AFAppDotNetAPIClient.m */, F8129C7615910C40009BFE23 /* AppDelegate.h */, F8129C7515910C40009BFE23 /* AppDelegate.m */, F8129C291591073C009BFE23 /* Models */, @@ -141,8 +141,8 @@ F8129C291591073C009BFE23 /* Models */ = { isa = PBXGroup; children = ( - F8129C2A1591073C009BFE23 /* Tweet.h */, - F8129C2B1591073C009BFE23 /* Tweet.m */, + F8129C2A1591073C009BFE23 /* Post.h */, + F8129C2B1591073C009BFE23 /* Post.m */, F8129C2C1591073C009BFE23 /* User.h */, F8129C2D1591073C009BFE23 /* User.m */, ); @@ -241,9 +241,9 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - F8129C341591073C009BFE23 /* Tweet.m in Sources */, + F8129C341591073C009BFE23 /* Post.m in Sources */, F8129C351591073C009BFE23 /* User.m in Sources */, - F8129C321591073C009BFE23 /* AFTwitterAPIClient.m in Sources */, + F8129C321591073C009BFE23 /* AFAppDotNetAPIClient.m in Sources */, F8129C6F15910B15009BFE23 /* main.m in Sources */, F8129C7715910C40009BFE23 /* AppDelegate.m in Sources */, F82EB07C159A172000B10B56 /* AFHTTPClient.m in Sources */, diff --git a/Example/AFNetworking iOS Example.xcodeproj/project.pbxproj b/Example/AFNetworking iOS Example.xcodeproj/project.pbxproj index e30ed81..aa8f6b0 100644 --- a/Example/AFNetworking iOS Example.xcodeproj/project.pbxproj +++ b/Example/AFNetworking iOS Example.xcodeproj/project.pbxproj @@ -20,10 +20,10 @@ F8E469DF13957DD500DB05C8 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8E469DE13957DD500DB05C8 /* CoreLocation.framework */; }; F8F6E8DC1463424800AD016F /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = F8F6E8D81463424800AD016F /* Icon.png */; }; F8F6E8DD1463424800AD016F /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = F8F6E8D91463424800AD016F /* Icon@2x.png */; }; - F8FA9491150EF8C100ED4EAD /* AFTwitterAPIClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA9490150EF8C100ED4EAD /* AFTwitterAPIClient.m */; }; - F8FA9494150EF97E00ED4EAD /* Tweet.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA9493150EF97E00ED4EAD /* Tweet.m */; }; + F8FA9491150EF8C100ED4EAD /* AFAppDotNetAPIClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA9490150EF8C100ED4EAD /* AFAppDotNetAPIClient.m */; }; + F8FA9494150EF97E00ED4EAD /* Post.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA9493150EF97E00ED4EAD /* Post.m */; }; F8FA9497150EF98800ED4EAD /* User.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA9496150EF98800ED4EAD /* User.m */; }; - F8FA949A150EF9DA00ED4EAD /* PublicTimelineViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA9499150EF9DA00ED4EAD /* PublicTimelineViewController.m */; }; + F8FA949A150EF9DA00ED4EAD /* GlobalTimelineViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA9499150EF9DA00ED4EAD /* GlobalTimelineViewController.m */; }; F8FA94B1150EFEC100ED4EAD /* AFHTTPClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA949D150EFEC100ED4EAD /* AFHTTPClient.m */; }; F8FA94B2150EFEC100ED4EAD /* AFHTTPRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA949F150EFEC100ED4EAD /* AFHTTPRequestOperation.m */; }; F8FA94B3150EFEC100ED4EAD /* AFImageRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA94A1150EFEC100ED4EAD /* AFImageRequestOperation.m */; }; @@ -33,7 +33,7 @@ F8FA94B8150EFEC100ED4EAD /* AFURLConnectionOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA94AC150EFEC100ED4EAD /* AFURLConnectionOperation.m */; }; F8FA94B9150EFEC100ED4EAD /* AFXMLRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA94AE150EFEC100ED4EAD /* AFXMLRequestOperation.m */; }; F8FA94BA150EFEC100ED4EAD /* UIImageView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA94B0150EFEC100ED4EAD /* UIImageView+AFNetworking.m */; }; - F8FA94C1150F019100ED4EAD /* TweetTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA94C0150F019100ED4EAD /* TweetTableViewCell.m */; }; + F8FA94C1150F019100ED4EAD /* PostTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FA94C0150F019100ED4EAD /* PostTableViewCell.m */; }; F8FA94D0150F094D00ED4EAD /* profile-image-placeholder.png in Resources */ = {isa = PBXBuildFile; fileRef = F8FA94CC150F094D00ED4EAD /* profile-image-placeholder.png */; }; F8FA94D1150F094D00ED4EAD /* profile-image-placeholder@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = F8FA94CD150F094D00ED4EAD /* profile-image-placeholder@2x.png */; }; /* End PBXBuildFile section */ @@ -57,14 +57,14 @@ F8E469E213957DF700DB05C8 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; F8F6E8D81463424800AD016F /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = SOURCE_ROOT; }; F8F6E8D91463424800AD016F /* Icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon@2x.png"; sourceTree = SOURCE_ROOT; }; - F8FA948F150EF8C100ED4EAD /* AFTwitterAPIClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFTwitterAPIClient.h; path = Classes/AFTwitterAPIClient.h; sourceTree = ""; }; - F8FA9490150EF8C100ED4EAD /* AFTwitterAPIClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFTwitterAPIClient.m; path = Classes/AFTwitterAPIClient.m; sourceTree = ""; }; - F8FA9492150EF97E00ED4EAD /* Tweet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Tweet.h; sourceTree = ""; }; - F8FA9493150EF97E00ED4EAD /* Tweet.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Tweet.m; sourceTree = ""; }; + F8FA948F150EF8C100ED4EAD /* AFAppDotNetAPIClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AFAppDotNetAPIClient.h; path = Classes/AFAppDotNetAPIClient.h; sourceTree = ""; }; + F8FA9490150EF8C100ED4EAD /* AFAppDotNetAPIClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFAppDotNetAPIClient.m; path = Classes/AFAppDotNetAPIClient.m; sourceTree = ""; }; + F8FA9492150EF97E00ED4EAD /* Post.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Post.h; sourceTree = ""; }; + F8FA9493150EF97E00ED4EAD /* Post.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Post.m; sourceTree = ""; }; F8FA9495150EF98800ED4EAD /* User.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = User.h; sourceTree = ""; }; F8FA9496150EF98800ED4EAD /* User.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = User.m; sourceTree = ""; }; - F8FA9498150EF9DA00ED4EAD /* PublicTimelineViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PublicTimelineViewController.h; sourceTree = ""; }; - F8FA9499150EF9DA00ED4EAD /* PublicTimelineViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PublicTimelineViewController.m; sourceTree = ""; }; + F8FA9498150EF9DA00ED4EAD /* GlobalTimelineViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GlobalTimelineViewController.h; sourceTree = ""; }; + F8FA9499150EF9DA00ED4EAD /* GlobalTimelineViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GlobalTimelineViewController.m; sourceTree = ""; }; F8FA949C150EFEC100ED4EAD /* AFHTTPClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFHTTPClient.h; sourceTree = ""; }; F8FA949D150EFEC100ED4EAD /* AFHTTPClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFHTTPClient.m; sourceTree = ""; }; F8FA949E150EFEC100ED4EAD /* AFHTTPRequestOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFHTTPRequestOperation.h; sourceTree = ""; }; @@ -84,8 +84,8 @@ F8FA94AE150EFEC100ED4EAD /* AFXMLRequestOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFXMLRequestOperation.m; sourceTree = ""; }; F8FA94AF150EFEC100ED4EAD /* UIImageView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+AFNetworking.h"; sourceTree = ""; }; F8FA94B0150EFEC100ED4EAD /* UIImageView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+AFNetworking.m"; sourceTree = ""; }; - F8FA94BF150F019100ED4EAD /* TweetTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TweetTableViewCell.h; sourceTree = ""; }; - F8FA94C0150F019100ED4EAD /* TweetTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TweetTableViewCell.m; sourceTree = ""; }; + F8FA94BF150F019100ED4EAD /* PostTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PostTableViewCell.h; sourceTree = ""; }; + F8FA94C0150F019100ED4EAD /* PostTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PostTableViewCell.m; sourceTree = ""; }; F8FA94CC150F094D00ED4EAD /* profile-image-placeholder.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "profile-image-placeholder.png"; path = "Images/profile-image-placeholder.png"; sourceTree = SOURCE_ROOT; }; F8FA94CD150F094D00ED4EAD /* profile-image-placeholder@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "profile-image-placeholder@2x.png"; path = "Images/profile-image-placeholder@2x.png"; sourceTree = SOURCE_ROOT; }; /* End PBXFileReference section */ @@ -110,8 +110,8 @@ F8DA09C61396AB690057D0CC /* Controllers */ = { isa = PBXGroup; children = ( - F8FA9498150EF9DA00ED4EAD /* PublicTimelineViewController.h */, - F8FA9499150EF9DA00ED4EAD /* PublicTimelineViewController.m */, + F8FA9498150EF9DA00ED4EAD /* GlobalTimelineViewController.h */, + F8FA9499150EF9DA00ED4EAD /* GlobalTimelineViewController.m */, ); name = Controllers; path = Classes/Controllers; @@ -120,8 +120,8 @@ F8DA09C91396AB690057D0CC /* Models */ = { isa = PBXGroup; children = ( - F8FA9492150EF97E00ED4EAD /* Tweet.h */, - F8FA9493150EF97E00ED4EAD /* Tweet.m */, + F8FA9492150EF97E00ED4EAD /* Post.h */, + F8FA9493150EF97E00ED4EAD /* Post.m */, F8FA9495150EF98800ED4EAD /* User.h */, F8FA9496150EF98800ED4EAD /* User.m */, ); @@ -132,8 +132,8 @@ F8DA09CC1396AB690057D0CC /* Views */ = { isa = PBXGroup; children = ( - F8FA94BF150F019100ED4EAD /* TweetTableViewCell.h */, - F8FA94C0150F019100ED4EAD /* TweetTableViewCell.m */, + F8FA94BF150F019100ED4EAD /* PostTableViewCell.h */, + F8FA94C0150F019100ED4EAD /* PostTableViewCell.m */, ); name = Views; path = Classes/Views; @@ -211,8 +211,8 @@ F8E469B71395759C00DB05C8 /* Networking Extensions */ = { isa = PBXGroup; children = ( - F8FA948F150EF8C100ED4EAD /* AFTwitterAPIClient.h */, - F8FA9490150EF8C100ED4EAD /* AFTwitterAPIClient.m */, + F8FA948F150EF8C100ED4EAD /* AFAppDotNetAPIClient.h */, + F8FA9490150EF8C100ED4EAD /* AFAppDotNetAPIClient.m */, ); name = "Networking Extensions"; sourceTree = ""; @@ -325,10 +325,10 @@ buildActionMask = 2147483647; files = ( F8DA09E41396AC040057D0CC /* main.m in Sources */, - F8FA9491150EF8C100ED4EAD /* AFTwitterAPIClient.m in Sources */, - F8FA9494150EF97E00ED4EAD /* Tweet.m in Sources */, + F8FA9491150EF8C100ED4EAD /* AFAppDotNetAPIClient.m in Sources */, + F8FA9494150EF97E00ED4EAD /* Post.m in Sources */, F8FA9497150EF98800ED4EAD /* User.m in Sources */, - F8FA949A150EF9DA00ED4EAD /* PublicTimelineViewController.m in Sources */, + F8FA949A150EF9DA00ED4EAD /* GlobalTimelineViewController.m in Sources */, F8FA94B1150EFEC100ED4EAD /* AFHTTPClient.m in Sources */, F8FA94B2150EFEC100ED4EAD /* AFHTTPRequestOperation.m in Sources */, F8FA94B3150EFEC100ED4EAD /* AFImageRequestOperation.m in Sources */, @@ -338,7 +338,7 @@ F8FA94B8150EFEC100ED4EAD /* AFURLConnectionOperation.m in Sources */, F8FA94B9150EFEC100ED4EAD /* AFXMLRequestOperation.m in Sources */, F8FA94BA150EFEC100ED4EAD /* UIImageView+AFNetworking.m in Sources */, - F8FA94C1150F019100ED4EAD /* TweetTableViewCell.m in Sources */, + F8FA94C1150F019100ED4EAD /* PostTableViewCell.m in Sources */, F8129C7415910C37009BFE23 /* AppDelegate.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/Example/AppDelegate.h b/Example/AppDelegate.h index bc25a4b..5e59199 100644 --- a/Example/AppDelegate.h +++ b/Example/AppDelegate.h @@ -43,7 +43,7 @@ @property (strong) IBOutlet NSWindow *window; @property (strong) IBOutlet NSTableView *tableView; -@property (strong) IBOutlet NSArrayController *tweetsArrayController; +@property (strong) IBOutlet NSArrayController *postsArrayController; @end diff --git a/Example/AppDelegate.m b/Example/AppDelegate.m index 6e8de56..0f77ee0 100644 --- a/Example/AppDelegate.m +++ b/Example/AppDelegate.m @@ -24,7 +24,7 @@ #if __IPHONE_OS_VERSION_MIN_REQUIRED -#import "PublicTimelineViewController.h" +#import "GlobalTimelineViewController.h" #import "AFNetworkActivityIndicatorManager.h" @@ -40,7 +40,7 @@ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions [[AFNetworkActivityIndicatorManager sharedManager] setEnabled:YES]; - UITableViewController *viewController = [[PublicTimelineViewController alloc] initWithStyle:UITableViewStylePlain]; + UITableViewController *viewController = [[GlobalTimelineViewController alloc] initWithStyle:UITableViewStylePlain]; self.navigationController = [[UINavigationController alloc] initWithRootViewController:viewController]; self.navigationController.navigationBar.tintColor = [UIColor darkGrayColor]; @@ -56,14 +56,14 @@ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions #else -#import "Tweet.h" +#import "Post.h" #import "User.h" @implementation AppDelegate @synthesize window = _window; @synthesize tableView = _tableView; -@synthesize tweetsArrayController = _tweetsArrayController; +@synthesize postsArrayController = _postsArrayController; - (void)applicationDidFinishLaunching:(NSNotification *)notification { NSURLCache *URLCache = [[NSURLCache alloc] initWithMemoryCapacity:4 * 1024 * 1024 diskCapacity:20 * 1024 * 1024 diskPath:nil]; @@ -71,12 +71,12 @@ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions [self.window makeKeyAndOrderFront:self]; - [Tweet publicTimelineTweetsWithBlock:^(NSArray *tweets, NSError *error) { + [Post globalTimelinePostsWithBlock:^(NSArray *posts, NSError *error) { if (error) { [[NSAlert alertWithMessageText:NSLocalizedString(@"Error", nil) defaultButton:NSLocalizedString(@"OK", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:@"%@",[error localizedDescription]] runModal]; } - self.tweetsArrayController.content = tweets; + self.postsArrayController.content = posts; }]; [[NSNotificationCenter defaultCenter] addObserverForName:kUserProfileImageDidLoadNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notification) { diff --git a/Example/Classes/AFTwitterAPIClient.h b/Example/Classes/AFAppDotNetAPIClient.h similarity index 91% rename from Example/Classes/AFTwitterAPIClient.h rename to Example/Classes/AFAppDotNetAPIClient.h index 61b7d3e..041288d 100644 --- a/Example/Classes/AFTwitterAPIClient.h +++ b/Example/Classes/AFAppDotNetAPIClient.h @@ -1,4 +1,4 @@ -// AFTwitterAPIClient.h +// AFAppDotNetAPIClient.h // // Copyright (c) 2012 Mattt Thompson (http://mattt.me/) // @@ -23,8 +23,8 @@ #import #import "AFHTTPClient.h" -@interface AFTwitterAPIClient : AFHTTPClient +@interface AFAppDotNetAPIClient : AFHTTPClient -+ (AFTwitterAPIClient *)sharedClient; ++ (AFAppDotNetAPIClient *)sharedClient; @end diff --git a/Example/Classes/AFTwitterAPIClient.m b/Example/Classes/AFAppDotNetAPIClient.m similarity index 80% rename from Example/Classes/AFTwitterAPIClient.m rename to Example/Classes/AFAppDotNetAPIClient.m index 82d5639..f0bc2f1 100644 --- a/Example/Classes/AFTwitterAPIClient.m +++ b/Example/Classes/AFAppDotNetAPIClient.m @@ -1,4 +1,4 @@ -// AFTwitterAPIClient.h +// AFAppDotNetAPIClient.h // // Copyright (c) 2012 Mattt Thompson (http://mattt.me/) // @@ -20,19 +20,19 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -#import "AFTwitterAPIClient.h" +#import "AFAppDotNetAPIClient.h" #import "AFJSONRequestOperation.h" -static NSString * const kAFTwitterAPIBaseURLString = @"http://api.twitter.com/1/"; +static NSString * const kAFAppDotNetAPIBaseURLString = @"https://alpha-api.app.net/"; -@implementation AFTwitterAPIClient +@implementation AFAppDotNetAPIClient -+ (AFTwitterAPIClient *)sharedClient { - static AFTwitterAPIClient *_sharedClient = nil; ++ (AFAppDotNetAPIClient *)sharedClient { + static AFAppDotNetAPIClient *_sharedClient = nil; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ - _sharedClient = [[AFTwitterAPIClient alloc] initWithBaseURL:[NSURL URLWithString:kAFTwitterAPIBaseURLString]]; + _sharedClient = [[AFAppDotNetAPIClient alloc] initWithBaseURL:[NSURL URLWithString:kAFAppDotNetAPIBaseURLString]]; }); return _sharedClient; diff --git a/Example/Classes/Controllers/PublicTimelineViewController.h b/Example/Classes/Controllers/GlobalTimelineViewController.h similarity index 92% rename from Example/Classes/Controllers/PublicTimelineViewController.h rename to Example/Classes/Controllers/GlobalTimelineViewController.h index 5f8300d..009cb54 100644 --- a/Example/Classes/Controllers/PublicTimelineViewController.h +++ b/Example/Classes/Controllers/GlobalTimelineViewController.h @@ -1,4 +1,4 @@ -// PublicTimelineViewController.h +// GlobalTimelineViewController.h // // Copyright (c) 2012 Mattt Thompson (http://mattt.me/) // @@ -22,6 +22,6 @@ #import -@interface PublicTimelineViewController : UITableViewController +@interface GlobalTimelineViewController : UITableViewController @end diff --git a/Example/Classes/Controllers/PublicTimelineViewController.m b/Example/Classes/Controllers/GlobalTimelineViewController.m similarity index 75% rename from Example/Classes/Controllers/PublicTimelineViewController.m rename to Example/Classes/Controllers/GlobalTimelineViewController.m index aad2d63..c101936 100644 --- a/Example/Classes/Controllers/PublicTimelineViewController.m +++ b/Example/Classes/Controllers/GlobalTimelineViewController.m @@ -1,4 +1,4 @@ -// PublicTimelineViewController.m +// GlobalTimelineViewController.m // // Copyright (c) 2012 Mattt Thompson (http://mattt.me/) // @@ -20,19 +20,19 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -#import "PublicTimelineViewController.h" +#import "GlobalTimelineViewController.h" -#import "Tweet.h" +#import "Post.h" -#import "TweetTableViewCell.h" +#import "PostTableViewCell.h" -@interface PublicTimelineViewController () +@interface GlobalTimelineViewController () - (void)reload:(id)sender; @end -@implementation PublicTimelineViewController { +@implementation GlobalTimelineViewController { @private - NSArray *_tweets; + NSArray *_posts; __strong UIActivityIndicatorView *_activityIndicatorView; } @@ -41,11 +41,11 @@ [_activityIndicatorView startAnimating]; self.navigationItem.rightBarButtonItem.enabled = NO; - [Tweet publicTimelineTweetsWithBlock:^(NSArray *tweets, NSError *error) { + [Post globalTimelinePostsWithBlock:^(NSArray *posts, NSError *error) { if (error) { [[[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Error", nil) message:[error localizedDescription] delegate:nil cancelButtonTitle:nil otherButtonTitles:NSLocalizedString(@"OK", nil), nil] show]; } else { - _tweets = tweets; + _posts = posts; [self.tableView reloadData]; } @@ -82,37 +82,21 @@ [super viewDidUnload]; } -- (void)viewWillAppear:(BOOL)animated { - [super viewWillAppear:animated]; -} - -- (void)viewDidAppear:(BOOL)animated { - [super viewDidAppear:animated]; -} - -- (void)viewWillDisappear:(BOOL)animated { - [super viewWillDisappear:animated]; -} - -- (void)viewDidDisappear:(BOOL)animated { - [super viewDidDisappear:animated]; -} - #pragma mark - UITableViewDataSource - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { - return [_tweets count]; + return [_posts count]; } - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; - TweetTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; + PostTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (!cell) { - cell = [[TweetTableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier]; + cell = [[PostTableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier]; } - cell.tweet = [_tweets objectAtIndex:indexPath.row]; + cell.post = [_posts objectAtIndex:indexPath.row]; return cell; } @@ -120,7 +104,7 @@ #pragma mark - UITableViewDelegate - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { - return [TweetTableViewCell heightForCellWithTweet:[_tweets objectAtIndex:indexPath.row]]; + return [PostTableViewCell heightForCellWithPost:[_posts objectAtIndex:indexPath.row]]; } - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { diff --git a/Example/Classes/Models/Tweet.h b/Example/Classes/Models/Post.h similarity index 88% rename from Example/Classes/Models/Tweet.h rename to Example/Classes/Models/Post.h index 20d9054..b261910 100644 --- a/Example/Classes/Models/Tweet.h +++ b/Example/Classes/Models/Post.h @@ -1,4 +1,4 @@ -// Tweet.h +// Post.h // // Copyright (c) 2012 Mattt Thompson (http://mattt.me/) // @@ -24,15 +24,15 @@ @class User; -@interface Tweet : NSObject +@interface Post : NSObject -@property (readonly) NSUInteger tweetID; +@property (readonly) NSUInteger postID; @property (readonly) NSString *text; @property (readonly) User *user; - (id)initWithAttributes:(NSDictionary *)attributes; -+ (void)publicTimelineTweetsWithBlock:(void (^)(NSArray *tweets, NSError *error))block; ++ (void)globalTimelinePostsWithBlock:(void (^)(NSArray *posts, NSError *error))block; @end diff --git a/Example/Classes/Models/Tweet.m b/Example/Classes/Models/Post.m similarity index 70% rename from Example/Classes/Models/Tweet.m rename to Example/Classes/Models/Post.m index 5e59e19..c45c03d 100644 --- a/Example/Classes/Models/Tweet.m +++ b/Example/Classes/Models/Post.m @@ -1,4 +1,4 @@ -// Tweet.m +// Post.m // // Copyright (c) 2012 Mattt Thompson (http://mattt.me/) // @@ -20,13 +20,13 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -#import "Tweet.h" +#import "Post.h" #import "User.h" -#import "AFTwitterAPIClient.h" +#import "AFAppDotNetAPIClient.h" -@implementation Tweet -@synthesize tweetID = _tweetID; +@implementation Post +@synthesize postID = _postID; @synthesize text = _text; @synthesize user = _user; @@ -36,7 +36,7 @@ return nil; } - _tweetID = [[attributes valueForKeyPath:@"id"] integerValue]; + _postID = [[attributes valueForKeyPath:@"id"] integerValue]; _text = [attributes valueForKeyPath:@"text"]; _user = [[User alloc] initWithAttributes:[attributes valueForKeyPath:@"user"]]; @@ -46,16 +46,16 @@ #pragma mark - -+ (void)publicTimelineTweetsWithBlock:(void (^)(NSArray *tweets, NSError *error))block { - [[AFTwitterAPIClient sharedClient] getPath:@"statuses/public_timeline.json" parameters:[NSDictionary dictionaryWithObject:@"false" forKey:@"include_entities"] success:^(AFHTTPRequestOperation *operation, id JSON) { - NSMutableArray *mutableTweets = [NSMutableArray arrayWithCapacity:[JSON count]]; ++ (void)globalTimelinePostsWithBlock:(void (^)(NSArray *posts, NSError *error))block { + [[AFAppDotNetAPIClient sharedClient] getPath:@"stream/0/posts/stream/global" parameters:nil success:^(AFHTTPRequestOperation *operation, id JSON) { + NSMutableArray *mutablePosts = [NSMutableArray arrayWithCapacity:[JSON count]]; for (NSDictionary *attributes in JSON) { - Tweet *tweet = [[Tweet alloc] initWithAttributes:attributes]; - [mutableTweets addObject:tweet]; + Post *post = [[Post alloc] initWithAttributes:attributes]; + [mutablePosts addObject:post]; } if (block) { - block([NSArray arrayWithArray:mutableTweets], nil); + block([NSArray arrayWithArray:mutablePosts], nil); } } failure:^(AFHTTPRequestOperation *operation, NSError *error) { if (block) { diff --git a/Example/Classes/Models/User.h b/Example/Classes/Models/User.h index 06133d3..99d973b 100644 --- a/Example/Classes/Models/User.h +++ b/Example/Classes/Models/User.h @@ -28,7 +28,7 @@ extern NSString * const kUserProfileImageDidLoadNotification; @property (readonly) NSUInteger userID; @property (readonly) NSString *username; -@property (unsafe_unretained, readonly) NSURL *profileImageURL; +@property (unsafe_unretained, readonly) NSURL *avatarImageURL; - (id)initWithAttributes:(NSDictionary *)attributes; diff --git a/Example/Classes/Models/User.m b/Example/Classes/Models/User.m index 6191a2b..16769dc 100644 --- a/Example/Classes/Models/User.m +++ b/Example/Classes/Models/User.m @@ -33,8 +33,8 @@ NSString * const kUserProfileImageDidLoadNotification = @"com.alamofire.user.pro @implementation User { @private - __strong NSString *_profileImageURLString; - __strong AFImageRequestOperation *_profileImageRequestOperation; + __strong NSString *_avatarImageURLString; + __strong AFImageRequestOperation *_avatarImageRequestOperation; } @synthesize userID = _userID; @@ -47,14 +47,14 @@ NSString * const kUserProfileImageDidLoadNotification = @"com.alamofire.user.pro } _userID = [[attributes valueForKeyPath:@"id"] integerValue]; - _username = [attributes valueForKeyPath:@"screen_name"]; - _profileImageURLString = [attributes valueForKeyPath:@"profile_image_url_https"]; + _username = [attributes valueForKeyPath:@"username"]; + _avatarImageURLString = [attributes valueForKeyPath:@"avatar_image.url"]; return self; } -- (NSURL *)profileImageURL { - return [NSURL URLWithString:_profileImageURLString]; +- (NSURL *)avatarImageURL { + return [NSURL URLWithString:_avatarImageURLString]; } #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED @@ -73,20 +73,20 @@ NSString * const kUserProfileImageDidLoadNotification = @"com.alamofire.user.pro } - (NSImage *)profileImage { - if (!_profileImage && !_profileImageRequestOperation) { - _profileImageRequestOperation = [AFImageRequestOperation imageRequestOperationWithRequest:[NSURLRequest requestWithURL:self.profileImageURL] success:^(NSImage *image) { + if (!_profileImage && !_avatarImageRequestOperation) { + _avatarImageRequestOperation = [AFImageRequestOperation imageRequestOperationWithRequest:[NSURLRequest requestWithURL:self.avatarImageURL] success:^(NSImage *image) { self.profileImage = image; - _profileImageRequestOperation = nil; + _avatarImageRequestOperation = nil; [[NSNotificationCenter defaultCenter] postNotificationName:kUserProfileImageDidLoadNotification object:self userInfo:nil]; }]; - [_profileImageRequestOperation setCacheResponseBlock:^NSCachedURLResponse *(NSURLConnection *connection, NSCachedURLResponse *cachedResponse) { + [_avatarImageRequestOperation setCacheResponseBlock:^NSCachedURLResponse *(NSURLConnection *connection, NSCachedURLResponse *cachedResponse) { return [[NSCachedURLResponse alloc] initWithResponse:cachedResponse.response data:cachedResponse.data userInfo:cachedResponse.userInfo storagePolicy:NSURLCacheStorageAllowed]; }]; - [[[self class] sharedProfileImageRequestOperationQueue] addOperation:_profileImageRequestOperation]; + [[[self class] sharedProfileImageRequestOperationQueue] addOperation:_avatarImageRequestOperation]; } return _profileImage; diff --git a/Example/Classes/Views/TweetTableViewCell.h b/Example/Classes/Views/PostTableViewCell.h similarity index 88% rename from Example/Classes/Views/TweetTableViewCell.h rename to Example/Classes/Views/PostTableViewCell.h index d12bec0..8336b24 100644 --- a/Example/Classes/Views/TweetTableViewCell.h +++ b/Example/Classes/Views/PostTableViewCell.h @@ -22,12 +22,12 @@ #import -@class Tweet; +@class Post; -@interface TweetTableViewCell : UITableViewCell +@interface PostTableViewCell : UITableViewCell -@property (nonatomic, strong) Tweet *tweet; +@property (nonatomic, strong) Post *post; -+ (CGFloat)heightForCellWithTweet:(Tweet *)tweet; ++ (CGFloat)heightForCellWithPost:(Post *)post; @end diff --git a/Example/Classes/Views/TweetTableViewCell.m b/Example/Classes/Views/PostTableViewCell.m similarity index 77% rename from Example/Classes/Views/TweetTableViewCell.m rename to Example/Classes/Views/PostTableViewCell.m index f44c1f9..e5bb679 100644 --- a/Example/Classes/Views/TweetTableViewCell.m +++ b/Example/Classes/Views/PostTableViewCell.m @@ -20,19 +20,19 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -#import "TweetTableViewCell.h" +#import "PostTableViewCell.h" -#import "Tweet.h" +#import "Post.h" #import "User.h" #import "UIImageView+AFNetworking.h" -@implementation TweetTableViewCell { +@implementation PostTableViewCell { @private - __strong Tweet *_tweet; + __strong Post *_post; } -@synthesize tweet = _tweet; +@synthesize post = _post; - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; @@ -49,18 +49,18 @@ return self; } -- (void)setTweet:(Tweet *)tweet { - _tweet = tweet; +- (void)setPost:(Post *)post { + _post = post; - self.textLabel.text = _tweet.user.username; - self.detailTextLabel.text = _tweet.text; - [self.imageView setImageWithURL:_tweet.user.profileImageURL placeholderImage:[UIImage imageNamed:@"profile-image-placeholder"]]; + self.textLabel.text = _post.user.username; + self.detailTextLabel.text = _post.text; + [self.imageView setImageWithURL:_post.user.avatarImageURL placeholderImage:[UIImage imageNamed:@"profile-image-placeholder"]]; [self setNeedsLayout]; } -+ (CGFloat)heightForCellWithTweet:(Tweet *)tweet { - CGSize sizeToFit = [tweet.text sizeWithFont:[UIFont systemFontOfSize:12.0f] constrainedToSize:CGSizeMake(220.0f, CGFLOAT_MAX) lineBreakMode:UILineBreakModeWordWrap]; ++ (CGFloat)heightForCellWithPost:(Post *)post { + CGSize sizeToFit = [post.text sizeWithFont:[UIFont systemFontOfSize:12.0f] constrainedToSize:CGSizeMake(220.0f, CGFLOAT_MAX) lineBreakMode:UILineBreakModeWordWrap]; return fmaxf(70.0f, sizeToFit.height + 45.0f); } @@ -74,7 +74,7 @@ self.textLabel.frame = CGRectMake(70.0f, 10.0f, 240.0f, 20.0f); CGRect detailTextLabelFrame = CGRectOffset(self.textLabel.frame, 0.0f, 25.0f); - detailTextLabelFrame.size.height = [[self class] heightForCellWithTweet:_tweet] - 45.0f; + detailTextLabelFrame.size.height = [[self class] heightForCellWithPost:_post] - 45.0f; self.detailTextLabel.frame = detailTextLabelFrame; } diff --git a/Example/MainMenu.xib b/Example/MainMenu.xib index 6c47439..5f2d106 100644 --- a/Example/MainMenu.xib +++ b/Example/MainMenu.xib @@ -1,33 +1,33 @@ - 1070 - 11E53 - 2182 - 1138.47 - 569.00 + 1080 + 12B19 + 2840 + 1187 + 624.00 com.apple.InterfaceBuilder.CocoaPlugin - 2182 + 2840 YES - NSScroller - NSArrayController - NSMenuItem - NSMenu - NSScrollView - NSTextFieldCell - NSImageView - NSImageCell - NSTableView - NSTableCellView IBNSLayoutConstraint + NSArrayController NSCustomObject + NSImageCell + NSImageView + NSMenu + NSMenuItem + NSScrollView + NSScroller + NSTableCellView + NSTableColumn + NSTableView + NSTextField + NSTextFieldCell NSView NSWindowTemplate - NSTableColumn - NSTextField YES @@ -395,7 +395,7 @@ {375, 1280} {375, 200} - + 256 YES @@ -412,12 +412,16 @@ 256 + + YES + {331, 498} - _NS:1197 YES + NO + YES -2147483392 @@ -431,7 +435,7 @@ 70 10000 - 75628096 + 75497536 2048 @@ -454,13 +458,8 @@ - 67239424 + 134217728 33554432 - - LucidaGrande - 13 - 1044 - _NS:4045 1 0 @@ -502,7 +501,6 @@ {{1, 1}, {331, 498}} - _NS:1195 @@ -522,9 +520,9 @@ -2147483392 {{224, 17}, {15, 102}} - _NS:1214 + NO _doScroller: 0.99815157116451014 @@ -534,8 +532,8 @@ -2147483392 {{1, 484}, {373, 15}} - _NS:1216 + NO 1 _doScroller: @@ -544,7 +542,6 @@ {{-1, 0}, {333, 500}} - _NS:1193 133682 @@ -552,11 +549,12 @@ QSAAAEEgAABCvgAAQr4AAA + 0.25 + 4 + 1 {331, 500} - - {{0, 0}, {1440, 878}} @@ -743,14 +741,6 @@ 532 - - - tweetsArrayController - - - - 609 - tableView @@ -759,6 +749,14 @@ 848 + + + postsArrayController + + + + 849 + value: arrangedObjects @@ -792,7 +790,7 @@ {250, 750} YES - 67239488 + 67108928 272631808 Username @@ -814,6 +812,7 @@ + NO @@ -836,7 +835,7 @@ _NS:9 YES - 130560 + 134217728 33554432 _NS:9 0 @@ -844,6 +843,7 @@ 1 NO + NO YES @@ -856,7 +856,7 @@ {250, 750} YES - 67239424 + 67108864 272629760 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad mi. @@ -869,6 +869,7 @@ + NO {{5, 5}, {321, 85}} @@ -1115,10 +1116,10 @@ 0.0 1000 + 5 22 2 - @@ -1131,10 +1132,10 @@ -1 1000 + 8 29 3 - @@ -1147,10 +1148,10 @@ -1 1000 + 8 29 3 - @@ -1163,10 +1164,10 @@ 0.0 1000 + 3 9 3 - @@ -1262,119 +1263,6 @@ YES - - - 3 - 0 - - 3 - 1 - - 26 - - 1000 - 9 - 40 - 3 - - - - - - 5 - 0 - - 5 - 1 - - 17 - - 1000 - 3 - 9 - 3 - - - - - 3 - 0 - - 3 - 1 - - 11 - - 1000 - 3 - 9 - 3 - - - - - 6 - 0 - - 6 - 1 - - 3 - - 1000 - 9 - 40 - 3 - - - - - 5 - 0 - - 5 - 1 - - 0.0 - - 1000 - 9 - 40 - 2 - - - - - 3 - 0 - - 3 - 1 - - 3 - - 1000 - 8 - 29 - 3 - - - - - 9 - 0 - - 9 - 1 - - 0.0 - - 1000 - 9 - 40 - 2 - - 5 @@ -1386,10 +1274,26 @@ 87 1000 + 9 40 3 + + + + 3 + 0 + + 3 + 1 + + 26 + + 1000 + 9 + 40 + 3 @@ -1402,11 +1306,108 @@ 87 1000 + 9 40 3 - + + + 9 + 0 + + 9 + 1 + + 0.0 + + 1000 + + 9 + 40 + 2 + + + + 3 + 0 + + 3 + 1 + + 3 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 5 + 1 + + 0.0 + + 1000 + + 9 + 40 + 2 + + + + 6 + 0 + + 6 + 1 + + 3 + + 1000 + + 9 + 40 + 3 + + + + 3 + 0 + + 3 + 1 + + 11 + + 1000 + + 3 + 9 + 3 + + + + 5 + 0 + + 5 + 1 + + 17 + + 1000 + + 3 + 9 + 3 + + @@ -1427,10 +1428,10 @@ 17 1000 + 3 9 1 - @@ -1457,10 +1458,10 @@ 50 1000 + 9 40 1 - @@ -1473,10 +1474,10 @@ 50 1000 + 3 9 1 - @@ -1503,10 +1504,10 @@ 34 1000 + 9 40 1 - @@ -1519,10 +1520,10 @@ 56 1000 + 3 9 1 - @@ -1535,10 +1536,10 @@ 230 652 + 9 40 1 - @@ -1894,7 +1895,7 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + YES @@ -1902,9 +1903,9 @@ - + com.apple.InterfaceBuilder.CocoaPlugin @@ -1981,7 +1982,7 @@ - 848 + 849