Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

prepare notes

  • Loading branch information...
commit 295c1fa239e4b23463acb8cd8cb2d63a593e9d1b 1 parent 19179d4
MagicStudio authored
View
BIN  ...roj/project.xcworkspace/xcuserdata/magicstudio.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
2  InstaEmail/ACFViewController.h
@@ -14,7 +14,9 @@
@property (retain, nonatomic) NSArray* activities;
@property (retain, nonatomic) NSArray* feelings;
@property (retain, nonatomic) IBOutlet UIPickerView* emailPicker;
+@property (retain, nonatomic) IBOutlet UITextField* notesField;
- (IBAction)sendButtonTapped:(id)sender;
+- (IBAction)textFieldDoneEditing:(id)sender;
@end
View
6 InstaEmail/ACFViewController.m
@@ -13,6 +13,7 @@ @implementation ACFViewController
@synthesize activities = activities_;
@synthesize feelings = feelings_;
@synthesize emailPicker = emailPicker_;
+@synthesize notesField = notesField_;
#pragma mark - Actions
- (IBAction)sendButtonTapped:(id)sender
@@ -32,6 +33,11 @@ - (IBAction)sendButtonTapped:(id)sender
NSLog(@"Dood, I'm tapped!");
}
+- (IBAction)textFieldDoneEditing:(id)sender
+{
+ [sender resignFirstResponder];
+}
+
#pragma mark Mail composer delegate method
- (void)mailComposeController:(MFMailComposeViewController*) controller
didFinishWithResult:(MFMailComposeResult)result
View
70 InstaEmail/en.lproj/ACFViewController.xib
@@ -44,7 +44,7 @@
<string key="NSFrame">{{120, 20}, {80, 21}}</string>
<reference key="NSSuperview" ref="774585933"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="549046286"/>
+ <reference key="NSNextKeyView" ref="784794301"/>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<int key="IBUIContentMode">7</int>
@@ -180,6 +180,7 @@
<string key="NSFrame">{{86, 49}, {209, 31}}</string>
<reference key="NSSuperview" ref="774585933"/>
<reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="549046286"/>
<string key="NSReuseIdentifierKey">_NS:304</string>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
@@ -197,6 +198,7 @@
<bool key="IBUIAdjustsFontSizeToFit">YES</bool>
<float key="IBUIMinimumFontSize">17</float>
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <int key="IBUIReturnKeyType">9</int>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUIFontDescription" key="IBUIFontDescription">
@@ -215,6 +217,7 @@
<string key="NSFrame">{{20, 54}, {50, 21}}</string>
<reference key="NSSuperview" ref="774585933"/>
<reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="822054991"/>
<string key="NSReuseIdentifierKey">_NS:328</string>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
@@ -264,6 +267,14 @@
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">notesField</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="822054991"/>
+ </object>
+ <int key="connectionID">33</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">dataSource</string>
<reference key="source" ref="614291876"/>
<reference key="destination" ref="372490531"/>
@@ -287,6 +298,23 @@
</object>
<int key="connectionID">21</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="822054991"/>
+ <reference key="destination" ref="372490531"/>
+ </object>
+ <int key="connectionID">25</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">textFieldDoneEditing:</string>
+ <reference key="source" ref="822054991"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">20</int>
+ </object>
+ <int key="connectionID">32</int>
+ </object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
@@ -383,35 +411,41 @@
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
- <int key="maxID">24</int>
+ <int key="maxID">33</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
<object class="IBPartialClassDescription">
<string key="className">ACFViewController</string>
<string key="superclassName">UIViewController</string>
- <object class="NSMutableDictionary" key="actions">
- <string key="NS.key.0">sendButtonTapped:</string>
- <string key="NS.object.0">id</string>
- </object>
- <object class="NSMutableDictionary" key="actionInfosByName">
- <string key="NS.key.0">sendButtonTapped:</string>
- <object class="IBActionInfo" key="NS.object.0">
+ <dictionary class="NSMutableDictionary" key="actions">
+ <string key="sendButtonTapped:">id</string>
+ <string key="textFieldDoneEditing:">id</string>
+ </dictionary>
+ <dictionary class="NSMutableDictionary" key="actionInfosByName">
+ <object class="IBActionInfo" key="sendButtonTapped:">
<string key="name">sendButtonTapped:</string>
<string key="candidateClassName">id</string>
</object>
- </object>
- <object class="NSMutableDictionary" key="outlets">
- <string key="NS.key.0">emailPicker</string>
- <string key="NS.object.0">UIPickerView</string>
- </object>
- <object class="NSMutableDictionary" key="toOneOutletInfosByName">
- <string key="NS.key.0">emailPicker</string>
- <object class="IBToOneOutletInfo" key="NS.object.0">
+ <object class="IBActionInfo" key="textFieldDoneEditing:">
+ <string key="name">textFieldDoneEditing:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </dictionary>
+ <dictionary class="NSMutableDictionary" key="outlets">
+ <string key="emailPicker">UIPickerView</string>
+ <string key="notesField">UITextField</string>
+ </dictionary>
+ <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <object class="IBToOneOutletInfo" key="emailPicker">
<string key="name">emailPicker</string>
<string key="candidateClassName">UIPickerView</string>
</object>
- </object>
+ <object class="IBToOneOutletInfo" key="notesField">
+ <string key="name">notesField</string>
+ <string key="candidateClassName">UITextField</string>
+ </object>
+ </dictionary>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/ACFViewController.h</string>
Please sign in to comment.
Something went wrong with that request. Please try again.