Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding profileImage property to bind image views to dynamically-loade…

…d content
  • Loading branch information...
commit ec2cee42d20368f86cb542bd33985554578205f9 1 parent a3f3971
@mattt mattt authored
View
18 Example/AFNetworking Mac Example.xcodeproj/project.pbxproj
@@ -119,9 +119,7 @@
children = (
F8129C311591073C009BFE23 /* AFTwitterAPIClient.h */,
F8129C251591073C009BFE23 /* AFTwitterAPIClient.m */,
- F8129C261591073C009BFE23 /* Controllers */,
F8129C291591073C009BFE23 /* Models */,
- F8129C2E1591073C009BFE23 /* Views */,
F8129C061591061B009BFE23 /* Supporting Files */,
);
name = Classes;
@@ -139,14 +137,6 @@
name = "Supporting Files";
sourceTree = "<group>";
};
- F8129C261591073C009BFE23 /* Controllers */ = {
- isa = PBXGroup;
- children = (
- );
- name = Controllers;
- path = Classes/Controllers;
- sourceTree = SOURCE_ROOT;
- };
F8129C291591073C009BFE23 /* Models */ = {
isa = PBXGroup;
children = (
@@ -159,14 +149,6 @@
path = Classes/Models;
sourceTree = SOURCE_ROOT;
};
- F8129C2E1591073C009BFE23 /* Views */ = {
- isa = PBXGroup;
- children = (
- );
- name = Views;
- path = Classes/Views;
- sourceTree = SOURCE_ROOT;
- };
F8129C4C15910901009BFE23 /* Vendor */ = {
isa = PBXGroup;
children = (
View
8 Example/AppDelegate.m
@@ -33,8 +33,8 @@ @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];
+ NSURLCache *URLCache = [[NSURLCache alloc] initWithMemoryCapacity:1024 * 1024 diskCapacity:1024 * 1024 * 5 diskPath:nil];
+ [NSURLCache setSharedURLCache:URLCache];
[[AFNetworkActivityIndicatorManager sharedManager] setEnabled:YES];
@@ -55,6 +55,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
#else
#import "Tweet.h"
+#import "User.h"
@implementation AppDelegate
@@ -62,6 +63,9 @@ @implementation AppDelegate
@synthesize tweetsArrayController = _tweetsArrayController;
- (void)applicationDidFinishLaunching:(NSNotification *)notification {
+ NSURLCache *URLCache = [[NSURLCache alloc] initWithMemoryCapacity:1024 * 1024 diskCapacity:1024 * 1024 * 5 diskPath:nil];
+ [NSURLCache setSharedURLCache:URLCache];
+
[self.window makeKeyAndOrderFront:self];
[Tweet publicTimelineTweetsWithBlock:^(NSArray *tweets) {
View
4 Example/Classes/Models/User.h
@@ -30,4 +30,8 @@
- (id)initWithAttributes:(NSDictionary *)attributes;
+#if __MAC_OS_X_VERSION_MIN_REQUIRED
+@property (nonatomic, strong) NSImage *profileImage;
+#endif
+
@end
View
43 Example/Classes/Models/User.m
@@ -21,12 +21,16 @@
// THE SOFTWARE.
#import "User.h"
+#import "AFImageRequestOperation.h"
+
+@interface User ()
++ (NSOperationQueue *)sharedProfileImageRequestOperationQueue;
+@end
@implementation User {
@private
- NSUInteger _userID;
- __strong NSString *_username;
__strong NSString *_profileImageURLString;
+ __strong AFImageRequestOperation *_profileImageRequestOperation;
}
@synthesize userID = _userID;
@@ -49,4 +53,39 @@ - (NSURL *)profileImageURL {
return [NSURL URLWithString:_profileImageURLString];
}
+#if __MAC_OS_X_VERSION_MIN_REQUIRED
+
+@synthesize profileImage = _profileImage;
+
++ (NSOperationQueue *)sharedProfileImageRequestOperationQueue {
+ static NSOperationQueue *_sharedProfileImageRequestOperationQueue = nil;
+ static dispatch_once_t onceToken;
+ dispatch_once(&onceToken, ^{
+ _sharedProfileImageRequestOperationQueue = [[NSOperationQueue alloc] init];
+ [_sharedProfileImageRequestOperationQueue setMaxConcurrentOperationCount:8];
+ });
+
+ return _sharedProfileImageRequestOperationQueue;
+}
+
+- (NSImage *)profileImage {
+ if (!_profileImage && !_profileImageRequestOperation) {
+ _profileImageRequestOperation = [AFImageRequestOperation imageRequestOperationWithRequest:[NSURLRequest requestWithURL:self.profileImageURL] success:^(NSImage *image) {
+ self.profileImage = image;
+
+ _profileImageRequestOperation = nil;
+ }];
+
+ [_profileImageRequestOperation 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];
+ }
+
+ return _profileImage;
+}
+
+#endif
+
@end
View
810 Example/MainMenu.xib
@@ -22,6 +22,7 @@
<string>NSImageCell</string>
<string>NSTableView</string>
<string>NSTableCellView</string>
+ <string>IBNSLayoutConstraint</string>
<string>NSCustomObject</string>
<string>NSView</string>
<string>NSWindowTemplate</string>
@@ -168,7 +169,7 @@
<string key="NSName">_NSAppleMenu</string>
</object>
</object>
- <object class="NSMenuItem" id="372670061">
+ <object class="NSMenuItem" id="141598972">
<reference key="NSMenu" ref="649796088"/>
<string key="NSTitle">File</string>
<string key="NSKeyEquiv"/>
@@ -176,12 +177,12 @@
<reference key="NSOnImage" ref="35465992"/>
<reference key="NSMixedImage" ref="502551668"/>
<string key="NSAction">submenuAction:</string>
- <object class="NSMenu" key="NSSubmenu" id="484449962">
+ <object class="NSMenu" key="NSSubmenu" id="702625398">
<string key="NSTitle">File</string>
<object class="NSMutableArray" key="NSMenuItems">
<bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMenuItem" id="631853270">
- <reference key="NSMenu" ref="484449962"/>
+ <object class="NSMenuItem" id="943041763">
+ <reference key="NSMenu" ref="702625398"/>
<string key="NSTitle">New</string>
<string key="NSKeyEquiv">n</string>
<int key="NSKeyEquivModMask">1048576</int>
@@ -189,8 +190,8 @@
<reference key="NSOnImage" ref="35465992"/>
<reference key="NSMixedImage" ref="502551668"/>
</object>
- <object class="NSMenuItem" id="15471672">
- <reference key="NSMenu" ref="484449962"/>
+ <object class="NSMenuItem" id="883464109">
+ <reference key="NSMenu" ref="702625398"/>
<string key="NSTitle">Open…</string>
<string key="NSKeyEquiv">o</string>
<int key="NSKeyEquivModMask">1048576</int>
@@ -198,20 +199,20 @@
<reference key="NSOnImage" ref="35465992"/>
<reference key="NSMixedImage" ref="502551668"/>
</object>
- <object class="NSMenuItem" id="209235174">
- <reference key="NSMenu" ref="484449962"/>
+ <object class="NSMenuItem" id="858489037">
+ <reference key="NSMenu" ref="702625398"/>
<string key="NSTitle">Open Recent</string>
<string key="NSKeyEquiv"/>
<int key="NSMnemonicLoc">2147483647</int>
<reference key="NSOnImage" ref="35465992"/>
<reference key="NSMixedImage" ref="502551668"/>
<string key="NSAction">submenuAction:</string>
- <object class="NSMenu" key="NSSubmenu" id="951503732">
+ <object class="NSMenu" key="NSSubmenu" id="878241342">
<string key="NSTitle">Open Recent</string>
<object class="NSMutableArray" key="NSMenuItems">
<bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMenuItem" id="545667046">
- <reference key="NSMenu" ref="951503732"/>
+ <object class="NSMenuItem" id="56667518">
+ <reference key="NSMenu" ref="878241342"/>
<string key="NSTitle">Clear Menu</string>
<string key="NSKeyEquiv"/>
<int key="NSKeyEquivModMask">1048576</int>
@@ -223,8 +224,8 @@
<string key="NSName">_NSRecentDocumentsMenu</string>
</object>
</object>
- <object class="NSMenuItem" id="939514496">
- <reference key="NSMenu" ref="484449962"/>
+ <object class="NSMenuItem" id="13890772">
+ <reference key="NSMenu" ref="702625398"/>
<bool key="NSIsDisabled">YES</bool>
<bool key="NSIsSeparator">YES</bool>
<string key="NSTitle"/>
@@ -233,8 +234,8 @@
<reference key="NSOnImage" ref="35465992"/>
<reference key="NSMixedImage" ref="502551668"/>
</object>
- <object class="NSMenuItem" id="179389753">
- <reference key="NSMenu" ref="484449962"/>
+ <object class="NSMenuItem" id="713570148">
+ <reference key="NSMenu" ref="702625398"/>
<string key="NSTitle">Close</string>
<string key="NSKeyEquiv">w</string>
<int key="NSKeyEquivModMask">1048576</int>
@@ -242,8 +243,8 @@
<reference key="NSOnImage" ref="35465992"/>
<reference key="NSMixedImage" ref="502551668"/>
</object>
- <object class="NSMenuItem" id="562453629">
- <reference key="NSMenu" ref="484449962"/>
+ <object class="NSMenuItem" id="847949808">
+ <reference key="NSMenu" ref="702625398"/>
<string key="NSTitle">Save</string>
<string key="NSKeyEquiv">s</string>
<int key="NSKeyEquivModMask">1048576</int>
@@ -251,8 +252,8 @@
<reference key="NSOnImage" ref="35465992"/>
<reference key="NSMixedImage" ref="502551668"/>
</object>
- <object class="NSMenuItem" id="626211723">
- <reference key="NSMenu" ref="484449962"/>
+ <object class="NSMenuItem" id="787531788">
+ <reference key="NSMenu" ref="702625398"/>
<string key="NSTitle">Save As…</string>
<string key="NSKeyEquiv">S</string>
<int key="NSKeyEquivModMask">1048576</int>
@@ -260,16 +261,16 @@
<reference key="NSOnImage" ref="35465992"/>
<reference key="NSMixedImage" ref="502551668"/>
</object>
- <object class="NSMenuItem" id="707771908">
- <reference key="NSMenu" ref="484449962"/>
+ <object class="NSMenuItem" id="269865460">
+ <reference key="NSMenu" ref="702625398"/>
<string key="NSTitle">Revert to Saved</string>
<string key="NSKeyEquiv"/>
<int key="NSMnemonicLoc">2147483647</int>
<reference key="NSOnImage" ref="35465992"/>
<reference key="NSMixedImage" ref="502551668"/>
</object>
- <object class="NSMenuItem" id="874729332">
- <reference key="NSMenu" ref="484449962"/>
+ <object class="NSMenuItem" id="157520762">
+ <reference key="NSMenu" ref="702625398"/>
<bool key="NSIsDisabled">YES</bool>
<bool key="NSIsSeparator">YES</bool>
<string key="NSTitle"/>
@@ -278,8 +279,8 @@
<reference key="NSOnImage" ref="35465992"/>
<reference key="NSMixedImage" ref="502551668"/>
</object>
- <object class="NSMenuItem" id="69928795">
- <reference key="NSMenu" ref="484449962"/>
+ <object class="NSMenuItem" id="245280452">
+ <reference key="NSMenu" ref="702625398"/>
<string key="NSTitle">Page Setup…</string>
<string key="NSKeyEquiv">P</string>
<int key="NSKeyEquivModMask">1048576</int>
@@ -287,8 +288,8 @@
<reference key="NSOnImage" ref="35465992"/>
<reference key="NSMixedImage" ref="502551668"/>
</object>
- <object class="NSMenuItem" id="61284371">
- <reference key="NSMenu" ref="484449962"/>
+ <object class="NSMenuItem" id="1012221138">
+ <reference key="NSMenu" ref="702625398"/>
<string key="NSTitle">Print…</string>
<string key="NSKeyEquiv">p</string>
<int key="NSKeyEquivModMask">1048576</int>
@@ -383,10 +384,10 @@
<string key="NSName">_NSMainMenu</string>
</object>
<object class="NSWindowTemplate" id="972006081">
- <int key="NSWindowStyleMask">15</int>
+ <int key="NSWindowStyleMask">4111</int>
<int key="NSWindowBacking">2</int>
<string key="NSWindowRect">{{60, 295}, {331, 500}}</string>
- <int key="NSWTFlags">1954021376</int>
+ <int key="NSWTFlags">1954022400</int>
<string key="NSWindowTitle">AFNetworking Mac Example</string>
<string key="NSWindowClass">NSWindow</string>
<nil key="NSViewClass"/>
@@ -411,10 +412,10 @@
<object class="NSTableView" id="256434433">
<reference key="NSNextResponder" ref="411548182"/>
<int key="NSvFlags">256</int>
- <string key="NSFrameSize">{373, 498}</string>
+ <string key="NSFrameSize">{331, 498}</string>
<reference key="NSSuperview" ref="411548182"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="672075480"/>
+ <reference key="NSNextKeyView" ref="505772708"/>
<string key="NSReuseIdentifierKey">_NS:1197</string>
<bool key="NSEnabled">YES</bool>
<object class="_NSCornerView" key="NSCornerView">
@@ -426,7 +427,7 @@
<object class="NSMutableArray" key="NSTableColumns">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSTableColumn" id="553559566">
- <double key="NSWidth">320</double>
+ <double key="NSWidth">321</double>
<double key="NSMinWidth">70</double>
<double key="NSMaxWidth">10000</double>
<object class="NSTableHeaderCell" key="NSHeaderCell">
@@ -491,8 +492,8 @@
<bytes key="NSWhite">MC41AA</bytes>
</object>
</object>
- <double key="NSRowHeight">70</double>
- <int key="NSTvFlags">373325824</int>
+ <double key="NSRowHeight">85</double>
+ <int key="NSTvFlags">381714432</int>
<reference key="NSDelegate"/>
<reference key="NSDataSource"/>
<int key="NSColumnAutoresizingStyle">1</int>
@@ -503,7 +504,7 @@
<int key="NSTableViewGroupRowStyle">1</int>
</object>
</object>
- <string key="NSFrame">{{1, 1}, {373, 498}}</string>
+ <string key="NSFrame">{{1, 1}, {331, 498}}</string>
<reference key="NSSuperview" ref="905625827"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="256434433"/>
@@ -513,7 +514,7 @@
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">controlBackgroundColor</string>
- <object class="NSColor" key="NSColor" id="607838209">
+ <object class="NSColor" key="NSColor" id="77157331">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
</object>
@@ -546,7 +547,7 @@
<double key="NSPercent">0.99732620320855614</double>
</object>
</object>
- <string key="NSFrameSize">{375, 500}</string>
+ <string key="NSFrame">{{-1, 0}, {333, 500}}</string>
<reference key="NSSuperview" ref="439893737"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="411548182"/>
@@ -555,7 +556,7 @@
<reference key="NSVScroller" ref="830874312"/>
<reference key="NSHScroller" ref="870849666"/>
<reference key="NSContentView" ref="411548182"/>
- <bytes key="NSScrollAmts">QSAAAEEgAABCoAAAQqAAAA</bytes>
+ <bytes key="NSScrollAmts">QSAAAEEgAABCvgAAQr4AAA</bytes>
</object>
</object>
<string key="NSFrameSize">{331, 500}</string>
@@ -671,7 +672,7 @@
<object class="IBActionConnection" key="connection">
<string key="label">print:</string>
<reference key="source" ref="1014"/>
- <reference key="destination" ref="61284371"/>
+ <reference key="destination" ref="1012221138"/>
</object>
<int key="connectionID">632</int>
</object>
@@ -679,7 +680,7 @@
<object class="IBActionConnection" key="connection">
<string key="label">performClose:</string>
<reference key="source" ref="1014"/>
- <reference key="destination" ref="179389753"/>
+ <reference key="destination" ref="713570148"/>
</object>
<int key="connectionID">634</int>
</object>
@@ -687,7 +688,7 @@
<object class="IBActionConnection" key="connection">
<string key="label">saveDocumentAs:</string>
<reference key="source" ref="1014"/>
- <reference key="destination" ref="626211723"/>
+ <reference key="destination" ref="787531788"/>
</object>
<int key="connectionID">637</int>
</object>
@@ -695,7 +696,7 @@
<object class="IBActionConnection" key="connection">
<string key="label">runPageLayout:</string>
<reference key="source" ref="1014"/>
- <reference key="destination" ref="69928795"/>
+ <reference key="destination" ref="245280452"/>
</object>
<int key="connectionID">638</int>
</object>
@@ -703,7 +704,7 @@
<object class="IBActionConnection" key="connection">
<string key="label">saveDocument:</string>
<reference key="source" ref="1014"/>
- <reference key="destination" ref="562453629"/>
+ <reference key="destination" ref="847949808"/>
</object>
<int key="connectionID">639</int>
</object>
@@ -711,7 +712,7 @@
<object class="IBActionConnection" key="connection">
<string key="label">revertDocumentToSaved:</string>
<reference key="source" ref="1014"/>
- <reference key="destination" ref="707771908"/>
+ <reference key="destination" ref="269865460"/>
</object>
<int key="connectionID">640</int>
</object>
@@ -719,7 +720,7 @@
<object class="IBActionConnection" key="connection">
<string key="label">newDocument:</string>
<reference key="source" ref="1014"/>
- <reference key="destination" ref="631853270"/>
+ <reference key="destination" ref="943041763"/>
</object>
<int key="connectionID">635</int>
</object>
@@ -727,7 +728,7 @@
<object class="IBActionConnection" key="connection">
<string key="label">clearRecentDocuments:</string>
<reference key="source" ref="1014"/>
- <reference key="destination" ref="545667046"/>
+ <reference key="destination" ref="56667518"/>
</object>
<int key="connectionID">636</int>
</object>
@@ -735,7 +736,7 @@
<object class="IBActionConnection" key="connection">
<string key="label">openDocument:</string>
<reference key="source" ref="1014"/>
- <reference key="destination" ref="15471672"/>
+ <reference key="destination" ref="883464109"/>
</object>
<int key="connectionID">633</int>
</object>
@@ -774,20 +775,20 @@
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">textField</string>
- <object class="NSTableCellView" key="source" id="672075480">
+ <object class="NSTableCellView" key="source" id="505772708">
<nil key="NSNextResponder"/>
<int key="NSvFlags">274</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTextField" id="26660204">
- <reference key="NSNextResponder" ref="672075480"/>
+ <object class="NSTextField" id="373530427">
+ <reference key="NSNextResponder" ref="505772708"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{84, 50}, {236, 17}}</string>
- <reference key="NSSuperview" ref="672075480"/>
- <reference key="NSNextKeyView" ref="673128616"/>
+ <string key="NSFrame">{{84, 65}, {237, 17}}</string>
+ <reference key="NSSuperview" ref="505772708"/>
+ <reference key="NSNextKeyView" ref="472484220"/>
<string key="NSAntiCompressionPriority">{250, 750}</string>
<bool key="NSEnabled">YES</bool>
- <object class="NSTextFieldCell" key="NSCell" id="745941505">
+ <object class="NSTextFieldCell" key="NSCell" id="602054441">
<int key="NSCellFlags">67239488</int>
<int key="NSCellFlags2">272631808</int>
<string key="NSContents">Username</string>
@@ -796,14 +797,14 @@
<double key="NSSize">14</double>
<int key="NSfFlags">16</int>
</object>
- <reference key="NSControlView" ref="26660204"/>
- <object class="NSColor" key="NSBackgroundColor" id="673541059">
+ <reference key="NSControlView" ref="373530427"/>
+ <object class="NSColor" key="NSBackgroundColor" id="790157350">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">controlColor</string>
- <reference key="NSColor" ref="607838209"/>
+ <reference key="NSColor" ref="77157331"/>
</object>
- <object class="NSColor" key="NSTextColor" id="339971762">
+ <object class="NSColor" key="NSTextColor" id="475189419">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">controlTextColor</string>
@@ -811,8 +812,8 @@
</object>
</object>
</object>
- <object class="NSImageView" id="529375203">
- <reference key="NSNextResponder" ref="672075480"/>
+ <object class="NSImageView" id="615770799">
+ <reference key="NSNextResponder" ref="505772708"/>
<int key="NSvFlags">268</int>
<object class="NSMutableSet" key="NSDragTypes">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -826,12 +827,12 @@
<string>NeXT TIFF v4.0 pasteboard type</string>
</object>
</object>
- <string key="NSFrame">{{14, 7}, {56, 56}}</string>
- <reference key="NSSuperview" ref="672075480"/>
- <reference key="NSNextKeyView" ref="26660204"/>
+ <string key="NSFrame">{{14, 21}, {56, 56}}</string>
+ <reference key="NSSuperview" ref="505772708"/>
+ <reference key="NSNextKeyView" ref="373530427"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="NSEnabled">YES</bool>
- <object class="NSImageCell" key="NSCell" id="649807284">
+ <object class="NSImageCell" key="NSCell" id="1006424888">
<int key="NSCellFlags">130560</int>
<int key="NSCellFlags2">33554432</int>
<string key="NSCellIdentifier">_NS:9</string>
@@ -842,46 +843,46 @@
</object>
<bool key="NSEditable">YES</bool>
</object>
- <object class="NSTextField" id="673128616">
- <reference key="NSNextResponder" ref="672075480"/>
+ <object class="NSTextField" id="472484220">
+ <reference key="NSNextResponder" ref="505772708"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{84, 10}, {236, 34}}</string>
- <reference key="NSSuperview" ref="672075480"/>
+ <string key="NSFrame">{{84, 3}, {236, 56}}</string>
+ <reference key="NSSuperview" ref="505772708"/>
<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="905973098">
+ <object class="NSTextFieldCell" key="NSCell" id="429971541">
<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>
+ <double key="NSSize">11</double>
<int key="NSfFlags">16</int>
</object>
<string key="NSCellIdentifier">_NS:9</string>
- <reference key="NSControlView" ref="673128616"/>
- <reference key="NSBackgroundColor" ref="673541059"/>
- <reference key="NSTextColor" ref="339971762"/>
+ <reference key="NSControlView" ref="472484220"/>
+ <reference key="NSBackgroundColor" ref="790157350"/>
+ <reference key="NSTextColor" ref="475189419"/>
</object>
</object>
</object>
- <string key="NSFrame">{{5, 5}, {320, 70}}</string>
- <reference key="NSNextKeyView" ref="529375203"/>
+ <string key="NSFrame">{{5, 5}, {321, 85}}</string>
+ <reference key="NSNextKeyView" ref="615770799"/>
</object>
- <reference key="destination" ref="26660204"/>
+ <reference key="destination" ref="373530427"/>
</object>
<int key="connectionID">580</int>
</object>
<object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
<string key="label">value: objectValue.user.username</string>
- <reference key="source" ref="26660204"/>
- <reference key="destination" ref="672075480"/>
+ <reference key="source" ref="373530427"/>
+ <reference key="destination" ref="505772708"/>
<object class="NSNibBindingConnector" key="connector">
- <reference key="NSSource" ref="26660204"/>
- <reference key="NSDestination" ref="672075480"/>
+ <reference key="NSSource" ref="373530427"/>
+ <reference key="NSDestination" ref="505772708"/>
<string key="NSLabel">value: objectValue.user.username</string>
<string key="NSBinding">value</string>
<string key="NSKeyPath">objectValue.user.username</string>
@@ -892,12 +893,28 @@
</object>
<object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
+ <string key="label">value: objectValue.user.profileImage</string>
+ <reference key="source" ref="615770799"/>
+ <reference key="destination" ref="505772708"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="615770799"/>
+ <reference key="NSDestination" ref="505772708"/>
+ <string key="NSLabel">value: objectValue.user.profileImage</string>
+ <string key="NSBinding">value</string>
+ <string key="NSKeyPath">objectValue.user.profileImage</string>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">829</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
<string key="label">value: objectValue.text</string>
- <reference key="source" ref="673128616"/>
- <reference key="destination" ref="672075480"/>
+ <reference key="source" ref="472484220"/>
+ <reference key="destination" ref="505772708"/>
<object class="NSNibBindingConnector" key="connector">
- <reference key="NSSource" ref="673128616"/>
- <reference key="NSDestination" ref="672075480"/>
+ <reference key="NSSource" ref="472484220"/>
+ <reference key="NSDestination" ref="505772708"/>
<string key="NSLabel">value: objectValue.text</string>
<string key="NSBinding">value</string>
<string key="NSKeyPath">objectValue.text</string>
@@ -944,7 +961,7 @@
<reference ref="713487014"/>
<reference ref="694149608"/>
<reference ref="448692316"/>
- <reference ref="372670061"/>
+ <reference ref="141598972"/>
</object>
<reference key="parent" ref="0"/>
</object>
@@ -1084,6 +1101,70 @@
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="905625827"/>
+ <object class="IBNSLayoutConstraint" id="467789989">
+ <reference key="firstItem" ref="905625827"/>
+ <int key="firstAttribute">10</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="439893737"/>
+ <int key="secondAttribute">10</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">0.0</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">5</int>
+ <float key="scoringTypeFloat">22</float>
+ <int key="contentType">2</int>
+ <reference key="containingView" ref="439893737"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="792626335">
+ <reference key="firstItem" ref="439893737"/>
+ <int key="firstAttribute">6</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="905625827"/>
+ <int key="secondAttribute">6</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">-1</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">8</int>
+ <float key="scoringTypeFloat">29</float>
+ <int key="contentType">3</int>
+ <reference key="containingView" ref="439893737"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="865651107">
+ <reference key="firstItem" ref="905625827"/>
+ <int key="firstAttribute">5</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="439893737"/>
+ <int key="secondAttribute">5</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">-1</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">8</int>
+ <float key="scoringTypeFloat">29</float>
+ <int key="contentType">3</int>
+ <reference key="containingView" ref="439893737"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="590922666">
+ <reference key="firstItem" ref="905625827"/>
+ <int key="firstAttribute">3</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="439893737"/>
+ <int key="secondAttribute">3</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">0.0</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">3</int>
+ <float key="scoringTypeFloat">9</float>
+ <int key="contentType">3</int>
+ <reference key="containingView" ref="439893737"/>
+ </object>
</object>
<reference key="parent" ref="972006081"/>
</object>
@@ -1152,7 +1233,7 @@
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="717955434"/>
- <reference ref="672075480"/>
+ <reference ref="505772708"/>
</object>
<reference key="parent" ref="256434433"/>
</object>
@@ -1173,157 +1254,492 @@
</object>
<object class="IBObjectRecord">
<int key="objectID">577</int>
- <reference key="object" ref="672075480"/>
+ <reference key="object" ref="505772708"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="26660204"/>
- <reference ref="529375203"/>
- <reference ref="673128616"/>
+ <reference ref="373530427"/>
+ <reference ref="472484220"/>
+ <object class="IBNSLayoutConstraint" id="716515170">
+ <reference key="firstItem" ref="472484220"/>
+ <int key="firstAttribute">3</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="505772708"/>
+ <int key="secondAttribute">3</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">26</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">9</int>
+ <float key="scoringTypeFloat">40</float>
+ <int key="contentType">3</int>
+ <reference key="containingView" ref="505772708"/>
+ </object>
+ <reference ref="615770799"/>
+ <object class="IBNSLayoutConstraint" id="124660203">
+ <reference key="firstItem" ref="615770799"/>
+ <int key="firstAttribute">5</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="505772708"/>
+ <int key="secondAttribute">5</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">17</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">3</int>
+ <float key="scoringTypeFloat">9</float>
+ <int key="contentType">3</int>
+ <reference key="containingView" ref="505772708"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="210332473">
+ <reference key="firstItem" ref="615770799"/>
+ <int key="firstAttribute">3</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="505772708"/>
+ <int key="secondAttribute">3</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">11</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">3</int>
+ <float key="scoringTypeFloat">9</float>
+ <int key="contentType">3</int>
+ <reference key="containingView" ref="505772708"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="971396673">
+ <reference key="firstItem" ref="505772708"/>
+ <int key="firstAttribute">6</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="373530427"/>
+ <int key="secondAttribute">6</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">3</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">9</int>
+ <float key="scoringTypeFloat">40</float>
+ <int key="contentType">3</int>
+ <reference key="containingView" ref="505772708"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="14444973">
+ <reference key="firstItem" ref="373530427"/>
+ <int key="firstAttribute">5</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="472484220"/>
+ <int key="secondAttribute">5</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">0.0</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">9</int>
+ <float key="scoringTypeFloat">40</float>
+ <int key="contentType">2</int>
+ <reference key="containingView" ref="505772708"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="1049409873">
+ <reference key="firstItem" ref="373530427"/>
+ <int key="firstAttribute">3</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="505772708"/>
+ <int key="secondAttribute">3</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">3</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">8</int>
+ <float key="scoringTypeFloat">29</float>
+ <int key="contentType">3</int>
+ <reference key="containingView" ref="505772708"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="226440407">
+ <reference key="firstItem" ref="373530427"/>
+ <int key="firstAttribute">9</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="472484220"/>
+ <int key="secondAttribute">9</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">0.0</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">9</int>
+ <float key="scoringTypeFloat">40</float>
+ <int key="contentType">2</int>
+ <reference key="containingView" ref="505772708"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="376417113">
+ <reference key="firstItem" ref="472484220"/>
+ <int key="firstAttribute">5</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="505772708"/>
+ <int key="secondAttribute">5</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">87</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">9</int>
+ <float key="scoringTypeFloat">40</float>
+ <int key="contentType">3</int>
+ <reference key="containingView" ref="505772708"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="958031551">
+ <reference key="firstItem" ref="373530427"/>
+ <int key="firstAttribute">5</int>
+ <int key="relation">0</int>
+ <reference key="secondItem" ref="505772708"/>
+ <int key="secondAttribute">5</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">87</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">9</int>
+ <float key="scoringTypeFloat">40</float>
+ <int key="contentType">3</int>
+ <reference key="containingView" ref="505772708"/>
+ </object>
</object>
<reference key="parent" ref="553559566"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">578</int>
- <reference key="object" ref="26660204"/>
+ <reference key="object" ref="373530427"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="745941505"/>
+ <reference ref="602054441"/>
+ <object class="IBNSLayoutConstraint" id="350454218">
+ <reference key="firstItem" ref="373530427"/>
+ <int key="firstAttribute">8</int>
+ <int key="relation">0</int>
+ <nil key="secondItem"/>
+ <int key="secondAttribute">0</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">17</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">3</int>
+ <float key="scoringTypeFloat">9</float>
+ <int key="contentType">1</int>
+ <reference key="containingView" ref="373530427"/>
+ </object>
</object>
- <reference key="parent" ref="672075480"/>
+ <reference key="parent" ref="505772708"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">579</int>
- <reference key="object" ref="745941505"/>
- <reference key="parent" ref="26660204"/>
+ <reference key="object" ref="602054441"/>
+ <reference key="parent" ref="373530427"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">594</int>
- <reference key="object" ref="529375203"/>
+ <reference key="object" ref="615770799"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="649807284"/>
+ <reference ref="1006424888"/>
+ <object class="IBNSLayoutConstraint" id="710625895">
+ <reference key="firstItem" ref="615770799"/>
+ <int key="firstAttribute">8</int>
+ <int key="relation">0</int>
+ <nil key="secondItem"/>
+ <int key="secondAttribute">0</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">50</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">9</int>
+ <float key="scoringTypeFloat">40</float>
+ <int key="contentType">1</int>
+ <reference key="containingView" ref="615770799"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="1014208838">
+ <reference key="firstItem" ref="615770799"/>
+ <int key="firstAttribute">7</int>
+ <int key="relation">0</int>
+ <nil key="secondItem"/>
+ <int key="secondAttribute">0</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">50</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">3</int>
+ <float key="scoringTypeFloat">9</float>
+ <int key="contentType">1</int>
+ <reference key="containingView" ref="615770799"/>
+ </object>
</object>
- <reference key="parent" ref="672075480"/>
+ <reference key="parent" ref="505772708"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">595</int>
- <reference key="object" ref="649807284"/>
- <reference key="parent" ref="529375203"/>
+ <reference key="object" ref="1006424888"/>
+ <reference key="parent" ref="615770799"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">596</int>
- <reference key="object" ref="673128616"/>
+ <reference key="object" ref="472484220"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="905973098"/>
+ <reference ref="429971541"/>
+ <object class="IBNSLayoutConstraint" id="308636502">
+ <reference key="firstItem" ref="472484220"/>
+ <int key="firstAttribute">8</int>
+ <int key="relation">1</int>
+ <nil key="secondItem"/>
+ <int key="secondAttribute">0</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">34</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">9</int>
+ <float key="scoringTypeFloat">40</float>
+ <int key="contentType">1</int>
+ <reference key="containingView" ref="472484220"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="398152041">
+ <reference key="firstItem" ref="472484220"/>
+ <int key="firstAttribute">8</int>
+ <int key="relation">0</int>
+ <nil key="secondItem"/>
+ <int key="secondAttribute">0</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">56</double>
+ </object>
+ <float key="priority">1000</float>
+ <int key="scoringType">3</int>
+ <float key="scoringTypeFloat">9</float>
+ <int key="contentType">1</int>
+ <reference key="containingView" ref="472484220"/>
+ </object>
+ <object class="IBNSLayoutConstraint" id="775719842">
+ <reference key="firstItem" ref="472484220"/>
+ <int key="firstAttribute">7</int>
+ <int key="relation">0</int>
+ <nil key="secondItem"/>
+ <int key="secondAttribute">0</int>
+ <float key="multiplier">1</float>
+ <object class="IBLayoutConstant" key="constant">
+ <double key="value">230</double>
+ </object>
+ <float key="priority">652</float>
+ <int key="scoringType">9</int>
+ <float key="scoringTypeFloat">40</float>
+ <int key="contentType">1</int>
+ <reference key="containingView" ref="472484220"/>
+ </object>
</object>
- <reference key="parent" ref="672075480"/>
+ <reference key="parent" ref="505772708"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">597</int>
- <reference key="object" ref="905973098"/>
- <reference key="parent" ref="673128616"/>
+ <reference key="object" ref="429971541"/>
+ <reference key="parent" ref="472484220"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">617</int>
- <reference key="object" ref="372670061"/>
+ <reference key="object" ref="141598972"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="484449962"/>
+ <reference ref="702625398"/>
</object>
<reference key="parent" ref="649796088"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">618</int>
- <reference key="object" ref="484449962"/>
+ <reference key="object" ref="702625398"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="631853270"/>
- <reference ref="15471672"/>
- <reference ref="209235174"/>
- <reference ref="939514496"/>
- <reference ref="179389753"/>
- <reference ref="562453629"/>
- <reference ref="626211723"/>
- <reference ref="707771908"/>
- <reference ref="874729332"/>
- <reference ref="69928795"/>
- <reference ref="61284371"/>
+ <reference ref="943041763"/>
+ <reference ref="883464109"/>
+ <reference ref="858489037"/>
+ <reference ref="13890772"/>
+ <reference ref="713570148"/>
+ <reference ref="847949808"/>
+ <reference ref="787531788"/>
+ <reference ref="269865460"/>
+ <reference ref="157520762"/>
+ <reference ref="245280452"/>
+ <reference ref="1012221138"/>
</object>
- <reference key="parent" ref="372670061"/>
+ <reference key="parent" ref="141598972"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">622</int>
- <reference key="object" ref="939514496"/>
- <reference key="parent" ref="484449962"/>
+ <reference key="object" ref="13890772"/>
+ <reference key="parent" ref="702625398"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">623</int>
- <reference key="object" ref="179389753"/>
- <reference key="parent" ref="484449962"/>
+ <reference key="object" ref="713570148"/>
+ <reference key="parent" ref="702625398"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">624</int>
- <reference key="object" ref="562453629"/>
- <reference key="parent" ref="484449962"/>
+ <reference key="object" ref="847949808"/>
+ <reference key="parent" ref="702625398"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">625</int>
- <reference key="object" ref="626211723"/>
- <reference key="parent" ref="484449962"/>
+ <reference key="object" ref="787531788"/>
+ <reference key="parent" ref="702625398"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">626</int>
- <reference key="object" ref="707771908"/>
- <reference key="parent" ref="484449962"/>
+ <reference key="object" ref="269865460"/>
+ <reference key="parent" ref="702625398"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">627</int>
- <reference key="object" ref="874729332"/>
- <reference key="parent" ref="484449962"/>
+ <reference key="object" ref="157520762"/>
+ <reference key="parent" ref="702625398"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">628</int>
- <reference key="object" ref="69928795"/>
- <reference key="parent" ref="484449962"/>
+ <reference key="object" ref="245280452"/>
+ <reference key="parent" ref="702625398"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">629</int>
- <reference key="object" ref="61284371"/>
- <reference key="parent" ref="484449962"/>
+ <reference key="object" ref="1012221138"/>
+ <reference key="parent" ref="702625398"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">619</int>
- <reference key="object" ref="631853270"/>
- <reference key="parent" ref="484449962"/>
+ <reference key="object" ref="943041763"/>
+ <reference key="parent" ref="702625398"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">621</int>
- <reference key="object" ref="209235174"/>
+ <reference key="object" ref="858489037"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="951503732"/>
+ <reference ref="878241342"/>
</object>
- <reference key="parent" ref="484449962"/>
+ <reference key="parent" ref="702625398"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">630</int>
- <reference key="object" ref="951503732"/>
+ <reference key="object" ref="878241342"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="545667046"/>
+ <reference ref="56667518"/>
</object>
- <reference key="parent" ref="209235174"/>
+ <reference key="parent" ref="858489037"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">631</int>
- <reference key="object" ref="545667046"/>
- <reference key="parent" ref="951503732"/>
+ <reference key="object" ref="56667518"/>
+ <reference key="parent" ref="878241342"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">620</int>
- <reference key="object" ref="15471672"/>
- <reference key="parent" ref="484449962"/>
+ <reference key="object" ref="883464109"/>
+ <reference key="parent" ref="702625398"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">694</int>
+ <reference key="object" ref="308636502"/>
+ <reference key="parent" ref="472484220"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">702</int>
+ <reference key="object" ref="716515170"/>
+ <reference key="parent" ref="505772708"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">714</int>
+ <reference key="object" ref="467789989"/>
+ <reference key="parent" ref="439893737"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">732</int>
+ <reference key="object" ref="710625895"/>
+ <reference key="parent" ref="615770799"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">813</int>
+ <reference key="object" ref="350454218"/>
+ <reference key="parent" ref="373530427"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">814</int>
+ <reference key="object" ref="1014208838"/>
+ <reference key="parent" ref="615770799"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">816</int>
+ <reference key="object" ref="124660203"/>
+ <reference key="parent" ref="505772708"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">824</int>
+ <reference key="object" ref="210332473"/>
+ <reference key="parent" ref="505772708"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">836</int>
+ <reference key="object" ref="971396673"/>
+ <reference key="parent" ref="505772708"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">837</int>
+ <reference key="object" ref="14444973"/>
+ <reference key="parent" ref="505772708"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">838</int>
+ <reference key="object" ref="1049409873"/>
+ <reference key="parent" ref="505772708"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">839</int>
+ <reference key="object" ref="792626335"/>
+ <reference key="parent" ref="439893737"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">840</int>
+ <reference key="object" ref="865651107"/>
+ <reference key="parent" ref="439893737"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">841</int>
+ <reference key="object" ref="590922666"/>
+ <reference key="parent" ref="439893737"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">842</int>
+ <reference key="object" ref="398152041"/>
+ <reference key="parent" ref="472484220"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">843</int>
+ <reference key="object" ref="775719842"/>
+ <reference key="parent" ref="472484220"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">844</int>
+ <reference key="object" ref="226440407"/>
+ <reference key="parent" ref="505772708"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">845</int>
+ <reference key="object" ref="376417113"/>
+ <reference key="parent" ref="505772708"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">846</int>
+ <reference key="object" ref="958031551"/>
+ <reference key="parent" ref="505772708"/>
</object>
</object>
</object>
@@ -1351,6 +1767,7 @@
<string>371.IBPluginDependency</string>
<string>371.IBWindowTemplateEditedContentRect</string>
<string>371.NSWindowTemplate.visibleAtLaunch</string>
+ <string>372.IBNSViewMetadataConstraints</string>
<string>372.IBPluginDependency</string>
<string>420.IBPluginDependency</string>
<string>490.IBPluginDependency</string>
@@ -1358,6 +1775,7 @@
<string>492.IBPluginDependency</string>
<string>494.IBPluginDependency</string>
<string>5.IBPluginDependency</string>
+ <string>537.IBNSViewMetadataTranslatesAutoresizingMaskIntoConstraints</string>
<string>537.IBPluginDependency</string>
<string>538.IBPluginDependency</string>
<string>540.IBPluginDependency</string>
@@ -1370,12 +1788,19 @@
<string>555.IBPluginDependency</string>
<string>56.IBPluginDependency</string>
<string>57.IBPluginDependency</string>
+ <string>577.IBNSViewMetadataConstraints</string>
<string>577.IBPluginDependency</string>
+ <string>578.IBNSViewMetadataConstraints</string>
+ <string>578.IBNSViewMetadataTranslatesAutoresizingMaskIntoConstraints</string>
<string>578.IBPluginDependency</string>
<string>579.IBPluginDependency</string>
<string>58.IBPluginDependency</string>
+ <string>594.IBNSViewMetadataConstraints</string>
+ <string>594.IBNSViewMetadataTranslatesAutoresizingMaskIntoConstraints</string>
<string>594.IBPluginDependency</string>
<string>595.IBPluginDependency</string>
+ <string>596.IBNSViewMetadataConstraints</string>
+ <string>596.IBNSViewMetadataTranslatesAutoresizingMaskIntoConstraints</string>
<string>596.IBPluginDependency</string>
<string>597.IBPluginDependency</string>
<string>617.IBPluginDependency</string>
@@ -1393,6 +1818,25 @@
<string>629.IBPluginDependency</string>
<string>630.IBPluginDependency</string>
<string>631.IBPluginDependency</string>
+ <string>694.IBPluginDependency</string>
+ <string>702.IBPluginDependency</string>
+ <string>714.IBPluginDependency</string>
+ <string>732.IBPluginDependency</string>
+ <string>813.IBPluginDependency</string>
+ <string>814.IBPluginDependency</string>
+ <string>816.IBPluginDependency</string>
+ <string>824.IBPluginDependency</string>
+ <string>836.IBPluginDependency</string>
+ <string>837.IBPluginDependency</string>
+ <string>838.IBPluginDependency</string>
+ <string>839.IBPluginDependency</string>
+ <string>840.IBPluginDependency</string>
+ <string>841.IBPluginDependency</string>
+ <string>842.IBPluginDependency</string>
+ <string>843.IBPluginDependency</string>
+ <string>844.IBPluginDependency</string>
+ <string>845.IBPluginDependency</string>
+ <string>846.IBPluginDependency</string>
<string>92.IBPluginDependency</string>
</object>
<object class="NSArray" key="dict.values">
@@ -1417,6 +1861,13 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{380, 496}, {480, 360}}</string>
<integer value="1"/>
+ <object class="NSMutableArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="467789989"/>
+ <reference ref="792626335"/>
+ <reference ref="865651107"/>
+ <reference ref="590922666"/>
+ </object>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1424,6 +1875,7 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <boolean value="NO"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1433,8 +1885,57 @@
<boolean value="YES"/>
<object class="NSArray">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="672075480"/>
+ <reference ref="505772708"/>
+ </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>
+ <object class="NSMutableArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="124660203"/>
+ <reference ref="210332473"/>
+ <reference ref="971396673"/>
+ <reference ref="14444973"/>
+ <reference ref="1049409873"/>
+ <reference ref="226440407"/>
+ <reference ref="376417113"/>
+ <reference ref="958031551"/>
+ <reference ref="716515170"/>
+ </object>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <object class="NSMutableArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="350454218"/>
+ </object>
+ <boolean value="NO"/>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <object class="NSMutableArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="710625895"/>
+ <reference ref="1014208838"/>
+ </object>
+ <boolean value="NO"/>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="308636502"/>
+ <reference ref="398152041"/>
+ <reference ref="775719842"/>
</object>
+ <boolean value="NO"/>
+ <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>
+ <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>
@@ -1477,7 +1978,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">640</int>
+ <int key="maxID">847</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -1522,6 +2023,14 @@
<string key="minorKey">./Classes/AppDelegate.h</string>
</object>
</object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSLayoutConstraint</string>
+ <string key="superclassName">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/NSLayoutConstraint.h</string>
+ </object>
+ </object>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
@@ -1547,5 +2056,6 @@
<string>{50, 50}</string>
</object>
</object>
+ <bool key="IBDocument.UseAutolayout">YES</bool>
</data>
</archive>
View
27 Example/main.m
@@ -1,10 +1,23 @@
-//
-// main.m
-// AFNetworking-Mac-Example
-//
-// Created by Mattt Thompson on 12/06/19.
-// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
-//
+// main.m
+// Copyright (c) 2012 Mattt Thompson (http://mattt.me/)
+//
+// 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.
#if __IPHONE_OS_VERSION_MIN_REQUIRED
#import <UIKit/UIKit.h>
Please sign in to comment.
Something went wrong with that request. Please try again.