Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

GREENHOUSE-548 added ability to link a twitter account

  • Loading branch information...
commit 4faa4d1d437871b4594ff988e4838cae9b6d0356 1 parent 5e72932
@royclarkson royclarkson authored
View
18 Greenhouse.xcodeproj/project.pbxproj
@@ -12,6 +12,8 @@
2892E4100DC94CBA00A64D0F /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2892E40F0DC94CBA00A64D0F /* CoreGraphics.framework */; };
810FD30715D99E9200A9B3B3 /* GHAuthorizeNavigationViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 810FD30515D99E9200A9B3B3 /* GHAuthorizeNavigationViewController.m */; };
810FD30D15D9A0AE00A9B3B3 /* GHSignInViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 810FD30B15D9A0AE00A9B3B3 /* GHSignInViewController.m */; };
+ 81147184160BA97700878ACD /* GHTwitterConnectViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81147182160BA97700878ACD /* GHTwitterConnectViewController.m */; };
+ 81147186160BB45F00878ACD /* GHTwitterConnectViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 81147188160BB45F00878ACD /* GHTwitterConnectViewController.xib */; };
811D71A1160A66B4007C806C /* gh-header-logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 811D71A0160A66B4007C806C /* gh-header-logo.png */; };
811D71A3160A66BC007C806C /* gh-header-logo@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 811D71A2160A66BC007C806C /* gh-header-logo@2x.png */; };
811D71A5160A6875007C806C /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 811D719A160A626B007C806C /* Default@2x.png */; };
@@ -198,6 +200,9 @@
810FD30515D99E9200A9B3B3 /* GHAuthorizeNavigationViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GHAuthorizeNavigationViewController.m; sourceTree = "<group>"; };
810FD30A15D9A0AE00A9B3B3 /* GHSignInViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GHSignInViewController.h; sourceTree = "<group>"; };
810FD30B15D9A0AE00A9B3B3 /* GHSignInViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GHSignInViewController.m; sourceTree = "<group>"; };
+ 81147181160BA97700878ACD /* GHTwitterConnectViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GHTwitterConnectViewController.h; sourceTree = "<group>"; };
+ 81147182160BA97700878ACD /* GHTwitterConnectViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GHTwitterConnectViewController.m; sourceTree = "<group>"; };
+ 81147187160BB45F00878ACD /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/GHTwitterConnectViewController.xib; sourceTree = "<group>"; };
811D7198160A614A007C806C /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
811D719A160A626B007C806C /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
811D71A0160A66B4007C806C /* gh-header-logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "gh-header-logo.png"; sourceTree = "<group>"; };
@@ -717,6 +722,9 @@
81E42DEC15ADE82F001FA72D /* GHProfileMainViewController.h */,
81E42DED15ADE82F001FA72D /* GHProfileMainViewController.m */,
81E42D9515ADE82F001FA72D /* GHProfileMainViewController.xib */,
+ 81147181160BA97700878ACD /* GHTwitterConnectViewController.h */,
+ 81147182160BA97700878ACD /* GHTwitterConnectViewController.m */,
+ 81147188160BB45F00878ACD /* GHTwitterConnectViewController.xib */,
);
name = Profile;
sourceTree = "<group>";
@@ -1117,6 +1125,7 @@
811D71A8160A69EB007C806C /* Default-568h@2x.png in Resources */,
819DBEBE160AD574002A6081 /* GHEventSessionDetailsContent.html in Resources */,
819DBEC1160AE378002A6081 /* GHVenueDetailsContent.html in Resources */,
+ 81147186160BB45F00878ACD /* GHTwitterConnectViewController.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1248,6 +1257,7 @@
815D0A501604F4C7002786A4 /* Venue.m in Sources */,
81A2B6781607B1F800F0840A /* GHEventSessionTweetDetailsViewController.m in Sources */,
81FF4E7C1608D05F001B0ABC /* GHConnectionSettings.m in Sources */,
+ 81147184160BA97700878ACD /* GHTwitterConnectViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1296,6 +1306,14 @@
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
+ 81147188160BB45F00878ACD /* GHTwitterConnectViewController.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 81147187160BB45F00878ACD /* en */,
+ );
+ name = GHTwitterConnectViewController.xib;
+ sourceTree = "<group>";
+ };
817D817215FE831900C7A351 /* GHEventSessionsScheduleViewController.xib */ = {
isa = PBXVariantGroup;
children = (
View
4 Greenhouse/GHProfileMainViewController.h
@@ -23,11 +23,15 @@
#import <UIKit/UIKit.h>
#import "GHProfileControllerDelegate.h"
+@class GHTwitterConnectViewController;
+
@interface GHProfileMainViewController : UIViewController <GHProfileControllerDelegate, UIAlertViewDelegate>
@property (nonatomic, strong) IBOutlet UILabel *labelDisplayName;
+@property (nonatomic, strong) IBOutlet GHTwitterConnectViewController *twitterConnectViewController;
- (IBAction)actionSignOut:(id)sender;
+- (IBAction)actionConnectTwitter:(id)sender;
- (IBAction)actionRefresh:(id)sender;
@end
View
9 Greenhouse/GHProfileMainViewController.m
@@ -21,6 +21,7 @@
//
#import "GHProfileMainViewController.h"
+#import "GHTwitterConnectViewController.h"
#import "GHProfileController.h"
#import "Profile.h"
#import "GHCoreDataManager.h"
@@ -37,6 +38,7 @@ @implementation GHProfileMainViewController
@synthesize profile = _profile;
@synthesize labelDisplayName;
+@synthesize twitterConnectViewController;
#pragma mark -
@@ -52,6 +54,12 @@ - (IBAction)actionSignOut:(id)sender
[alertView show];
}
+- (IBAction)actionConnectTwitter:(id)sender
+{
+// [[UIApplication sharedApplication] openURL:[GHConnectionSettings urlWithFormat:@"/connect/twitter"]];
+ [self presentModalViewController:twitterConnectViewController animated:YES];
+}
+
- (IBAction)actionRefresh:(id)sender
{
[[GHProfileController sharedInstance] sendRequestForProfileWithDelegate:self];
@@ -130,6 +138,7 @@ - (void)viewDidUnload
self.profile = nil;
self.labelDisplayName = nil;
+ self.twitterConnectViewController = nil;
}
@end
View
31 Greenhouse/GHTwitterConnectViewController.h
@@ -0,0 +1,31 @@
+//
+// Copyright 2012 the original author or authors.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+//
+// GHTwitterConnectViewController.h
+// Greenhouse
+//
+// Created by Roy Clarkson on 9/20/12.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface GHTwitterConnectViewController : UIViewController
+
+@property (nonatomic, strong) IBOutlet UIWebView *webView;
+
+- (IBAction)actionDone:(id)sender;
+
+@end
View
63 Greenhouse/GHTwitterConnectViewController.m
@@ -0,0 +1,63 @@
+//
+// Copyright 2012 the original author or authors.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+//
+// GHTwitterConnectViewController.m
+// Greenhouse
+//
+// Created by Roy Clarkson on 9/20/12.
+//
+
+#import "GHTwitterConnectViewController.h"
+#import "GHConnectionSettings.h"
+#import "GHAuthorizedRequest.h"
+
+@interface GHTwitterConnectViewController ()
+
+@end
+
+@implementation GHTwitterConnectViewController
+
+@synthesize webView;
+
+- (IBAction)actionDone:(id)sender
+{
+ [self dismissModalViewControllerAnimated:YES];
+}
+
+
+#pragma mark -
+#pragma mark UIViewController methods
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+}
+
+- (void)viewWillAppear:(BOOL)animated
+{
+ NSURL *url = [GHConnectionSettings urlWithFormat:@"/connect/twitter"];
+ NSMutableURLRequest *request = [[GHAuthorizedRequest alloc] initWithURL:url];
+ [self.webView loadRequest:request];
+}
+
+- (void)viewDidUnload
+{
+ [super viewDidUnload];
+
+ self.webView = nil;
+}
+
+@end
View
126 Greenhouse/en.lproj/GHProfileMainViewController.xib
@@ -17,6 +17,7 @@
<string>IBUILabel</string>
<string>IBUIToolbar</string>
<string>IBUIView</string>
+ <string>IBUIViewController</string>
</array>
<array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -107,16 +108,17 @@
<object class="IBUIButton" id="349739317">
<reference key="NSNextResponder" ref="191373211"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{40, 297}, {240, 37}}</string>
+ <string key="NSFrame">{{40, 263}, {240, 44}}</string>
<reference key="NSSuperview" ref="191373211"/>
<reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="464431937"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<int key="IBUIButtonType">1</int>
- <string key="IBUINormalTitle">Sign out</string>
+ <string key="IBUINormalTitle">Sign Out</string>
<object class="NSColor" key="IBUIHighlightedTitleColor" id="444737327">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
@@ -125,20 +127,42 @@
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
</object>
- <object class="NSColor" key="IBUINormalTitleShadowColor">
+ <object class="NSColor" key="IBUINormalTitleShadowColor" id="861329809">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC41AA</bytes>
</object>
- <object class="IBUIFontDescription" key="IBUIFontDescription">
+ <object class="IBUIFontDescription" key="IBUIFontDescription" id="742194632">
<int key="type">2</int>
<double key="pointSize">15</double>
</object>
- <object class="NSFont" key="IBUIFont">
+ <object class="NSFont" key="IBUIFont" id="959693695">
<string key="NSName">Helvetica-Bold</string>
<double key="NSSize">15</double>
<int key="NSfFlags">16</int>
</object>
</object>
+ <object class="IBUIButton" id="464431937">
+ <reference key="NSNextResponder" ref="191373211"/>
+ <int key="NSvFlags">266</int>
+ <string key="NSFrame">{{40, 322}, {240, 44}}</string>
+ <reference key="NSSuperview" ref="191373211"/>
+ <reference key="NSWindow"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <int key="IBUIButtonType">1</int>
+ <string key="IBUINormalTitle">Connect with Twitter</string>
+ <reference key="IBUIHighlightedTitleColor" ref="444737327"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="861329809"/>
+ <reference key="IBUIFontDescription" ref="742194632"/>
+ <reference key="IBUIFont" ref="959693695"/>
+ </object>
</array>
<string key="NSFrame">{{0, 20}, {320, 411}}</string>
<reference key="NSSuperview"/>
@@ -149,6 +173,15 @@
<object class="IBUISimulatedTabBarMetrics" key="IBUISimulatedBottomBarMetrics"/>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
+ <object class="IBUIViewController" id="780558054">
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
+ <int key="IBUIInterfaceOrientation">1</int>
+ <int key="interfaceOrientation">1</int>
+ </object>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <bool key="IBUIHorizontal">NO</bool>
+ </object>
</array>
<object class="IBObjectContainer" key="IBDocument.Objects">
<array class="NSMutableArray" key="connectionRecords">
@@ -169,6 +202,14 @@
<int key="connectionID">30</int>
</object>
<object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">twitterConnectViewController</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="780558054"/>
+ </object>
+ <int key="connectionID">55</int>
+ </object>
+ <object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
<string key="label">actionRefresh:</string>
<reference key="source" ref="710533861"/>
@@ -185,6 +226,15 @@
</object>
<int key="connectionID">49</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">actionConnectTwitter:</string>
+ <reference key="source" ref="464431937"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">53</int>
+ </object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
@@ -201,6 +251,7 @@
<reference ref="937595474"/>
<reference ref="783632806"/>
<reference ref="349739317"/>
+ <reference ref="464431937"/>
</array>
<reference key="parent" ref="0"/>
</object>
@@ -256,6 +307,16 @@
<reference key="object" ref="349739317"/>
<reference key="parent" ref="191373211"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">51</int>
+ <reference key="object" ref="464431937"/>
+ <reference key="parent" ref="191373211"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">54</int>
+ <reference key="object" ref="780558054"/>
+ <reference key="parent" ref="0"/>
+ </object>
</array>
</object>
<dictionary class="NSMutableDictionary" key="flattenedProperties">
@@ -272,12 +333,15 @@
<string key="42.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="47.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="48.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="51.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="54.CustomClassName">GHTwitterConnectViewController</string>
+ <string key="54.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
- <int key="maxID">49</int>
+ <int key="maxID">55</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -293,10 +357,15 @@
<string key="className">GHProfileMainViewController</string>
<string key="superclassName">UIViewController</string>
<dictionary class="NSMutableDictionary" key="actions">
+ <string key="actionConnectTwitter:">id</string>
<string key="actionRefresh:">id</string>
<string key="actionSignOut:">id</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="actionInfosByName">
+ <object class="IBActionInfo" key="actionConnectTwitter:">
+ <string key="name">actionConnectTwitter:</string>
+ <string key="candidateClassName">id</string>
+ </object>
<object class="IBActionInfo" key="actionRefresh:">
<string key="name">actionRefresh:</string>
<string key="candidateClassName">id</string>
@@ -306,20 +375,53 @@
<string key="candidateClassName">id</string>
</object>
</dictionary>
+ <dictionary class="NSMutableDictionary" key="outlets">
+ <string key="labelDisplayName">UILabel</string>
+ <string key="twitterConnectViewController">GHTwitterConnectViewController</string>
+ </dictionary>
+ <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <object class="IBToOneOutletInfo" key="labelDisplayName">
+ <string key="name">labelDisplayName</string>
+ <string key="candidateClassName">UILabel</string>
+ </object>
+ <object class="IBToOneOutletInfo" key="twitterConnectViewController">
+ <string key="name">twitterConnectViewController</string>
+ <string key="candidateClassName">GHTwitterConnectViewController</string>
+ </object>
+ </dictionary>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/GHProfileMainViewController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">GHTwitterConnectViewController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="NSMutableDictionary" key="actions">
+ <string key="NS.key.0">actionDone:</string>
+ <string key="NS.object.0">id</string>
+ </object>
+ <object class="NSMutableDictionary" key="actionInfosByName">
+ <string key="NS.key.0">actionDone:</string>
+ <object class="IBActionInfo" key="NS.object.0">
+ <string key="name">actionDone:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
<object class="NSMutableDictionary" key="outlets">
- <string key="NS.key.0">labelDisplayName</string>
- <string key="NS.object.0">UILabel</string>
+ <string key="NS.key.0">webView</string>
+ <string key="NS.object.0">UIWebView</string>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
- <string key="NS.key.0">labelDisplayName</string>
+ <string key="NS.key.0">webView</string>
<object class="IBToOneOutletInfo" key="NS.object.0">
- <string key="name">labelDisplayName</string>
- <string key="candidateClassName">UILabel</string>
+ <string key="name">webView</string>
+ <string key="candidateClassName">UIWebView</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/GHProfileMainViewController.h</string>
+ <string key="minorKey">./Classes/GHTwitterConnectViewController.h</string>
</object>
</object>
</array>
View
276 Greenhouse/en.lproj/GHTwitterConnectViewController.xib
@@ -0,0 +1,276 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
+ <data>
+ <int key="IBDocument.SystemTarget">1536</int>
+ <string key="IBDocument.SystemVersion">12C54</string>
+ <string key="IBDocument.InterfaceBuilderVersion">2840</string>
+ <string key="IBDocument.AppKitVersion">1187.34</string>
+ <string key="IBDocument.HIToolboxVersion">625.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">1926</string>
+ </object>
+ <array key="IBDocument.IntegratedClassDependencies">
+ <string>IBProxyObject</string>
+ <string>IBUIBarButtonItem</string>
+ <string>IBUIToolbar</string>
+ <string>IBUIView</string>
+ <string>IBUIWebView</string>
+ </array>
+ <array key="IBDocument.PluginDependencies">
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </array>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+ <integer value="1" key="NS.object.0"/>
+ </object>
+ <array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <object class="IBProxyObject" id="372490531">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBProxyObject" id="975951072">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIView" id="191373211">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">274</int>
+ <array class="NSMutableArray" key="NSSubviews">
+ <object class="IBUIToolbar" id="711929750">
+ <reference key="NSNextResponder" ref="191373211"/>
+ <int key="NSvFlags">290</int>
+ <string key="NSFrameSize">{320, 44}</string>
+ <reference key="NSSuperview" ref="191373211"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="799373188"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <array class="NSMutableArray" key="IBUIItems">
+ <object class="IBUIBarButtonItem" id="203851689">
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <reference key="IBUIToolbar" ref="711929750"/>
+ <int key="IBUISystemItemIdentifier">5</int>
+ </object>
+ <object class="IBUIBarButtonItem" id="780219668">
+ <string key="IBUITitle">Twitter Connection</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <reference key="IBUIToolbar" ref="711929750"/>
+ </object>
+ <object class="IBUIBarButtonItem" id="1027386313">
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <reference key="IBUIToolbar" ref="711929750"/>
+ <int key="IBUISystemItemIdentifier">5</int>
+ </object>
+ <object class="IBUIBarButtonItem" id="728495193">
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIStyle">1</int>
+ <reference key="IBUIToolbar" ref="711929750"/>
+ <int key="IBUISystemItemIdentifier">0</int>
+ </object>
+ </array>
+ </object>
+ <object class="IBUIWebView" id="799373188">
+ <reference key="NSNextResponder" ref="191373211"/>
+ <int key="NSvFlags">274</int>
+ <string key="NSFrame">{{0, 44}, {320, 416}}</string>
+ <reference key="NSSuperview" ref="191373211"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ </object>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIDataDetectorTypes">1</int>
+ <bool key="IBUIDetectsPhoneNumbers">YES</bool>
+ </object>
+ </array>
+ <string key="NSFrame">{{0, 20}, {320, 460}}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="711929750"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ <object class="NSColorSpace" key="NSCustomColorSpace">
+ <int key="NSID">2</int>
+ </object>
+ </object>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </array>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <array class="NSMutableArray" key="connectionRecords">
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">view</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="191373211"/>
+ </object>
+ <int key="connectionID">3</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">webView</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="799373188"/>
+ </object>
+ <int key="connectionID">12</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">actionDone:</string>
+ <reference key="source" ref="728495193"/>
+ <reference key="destination" ref="372490531"/>
+ </object>
+ <int key="connectionID">11</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="799373188"/>
+ <reference key="destination" ref="372490531"/>
+ </object>
+ <int key="connectionID">13</int>
+ </object>
+ </array>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <array key="orderedObjects">
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <array key="object" id="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">1</int>
+ <reference key="object" ref="191373211"/>
+ <array class="NSMutableArray" key="children">
+ <reference ref="711929750"/>
+ <reference ref="799373188"/>
+ </array>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="372490531"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="975951072"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5</int>
+ <reference key="object" ref="711929750"/>
+ <array class="NSMutableArray" key="children">
+ <reference ref="728495193"/>
+ <reference ref="203851689"/>
+ <reference ref="780219668"/>
+ <reference ref="1027386313"/>
+ </array>
+ <reference key="parent" ref="191373211"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">6</int>
+ <reference key="object" ref="728495193"/>
+ <reference key="parent" ref="711929750"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">8</int>
+ <reference key="object" ref="203851689"/>
+ <reference key="parent" ref="711929750"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">10</int>
+ <reference key="object" ref="799373188"/>
+ <reference key="parent" ref="191373211"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">14</int>
+ <reference key="object" ref="780219668"/>
+ <reference key="parent" ref="711929750"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">15</int>
+ <reference key="object" ref="1027386313"/>
+ <reference key="parent" ref="711929750"/>
+ </object>
+ </array>
+ </object>
+ <dictionary class="NSMutableDictionary" key="flattenedProperties">
+ <string key="-1.CustomClassName">GHTwitterConnectViewController</string>
+ <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="-2.CustomClassName">UIResponder</string>
+ <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="10.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="14.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="15.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="5.CustomClassName">GHCustomToolbar</string>
+ <string key="5.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="6.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="8.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </dictionary>
+ <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
+ <nil key="activeLocalization"/>
+ <dictionary class="NSMutableDictionary" key="localizations"/>
+ <nil key="sourceID"/>
+ <int key="maxID">15</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <array class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <object class="IBPartialClassDescription">
+ <string key="className">GHCustomToolbar</string>
+ <string key="superclassName">UIToolbar</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/GHCustomToolbar.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">GHTwitterConnectViewController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="NSMutableDictionary" key="actions">
+ <string key="NS.key.0">actionDone:</string>
+ <string key="NS.object.0">id</string>
+ </object>
+ <object class="NSMutableDictionary" key="actionInfosByName">
+ <string key="NS.key.0">actionDone:</string>
+ <object class="IBActionInfo" key="NS.object.0">
+ <string key="name">actionDone:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <string key="NS.key.0">webView</string>
+ <string key="NS.object.0">UIWebView</string>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <string key="NS.key.0">webView</string>
+ <object class="IBToOneOutletInfo" key="NS.object.0">
+ <string key="name">webView</string>
+ <string key="candidateClassName">UIWebView</string>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/GHTwitterConnectViewController.h</string>
+ </object>
+ </object>
+ </array>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">1926</string>
+ </data>
+</archive>
Please sign in to comment.
Something went wrong with that request. Please try again.