Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: rhussmann/todo.txt-touch-ios
base: a2349d56f5
...
head fork: rhussmann/todo.txt-touch-ios
compare: b4acf1b54f
Checking mergeability… Don't worry, you can still create the pull request.
  • 5 commits
  • 9 files changed
  • 0 commit comments
  • 2 contributors
View
4 Classes/ActionSheetPicker.h
@@ -61,10 +61,10 @@
//no memory management required for convenience methods
//display actionsheet picker inside View, loaded with strings from data, with item selectedIndex selected. On dismissal, [target action:(NSNumber *)selectedIndex:(id)view] is called
-+ (void)displayActionPickerWithView:(UIView *)aView data:(NSArray *)data selectedIndex:(NSInteger)selectedIndex target:(id)target action:(SEL)action title:(NSString *)title;
++ (ActionSheetPicker*)displayActionPickerWithView:(UIView *)aView data:(NSArray *)data selectedIndex:(NSInteger)selectedIndex target:(id)target action:(SEL)action title:(NSString *)title;
//display actionsheet datepicker in datePickerMode inside View with selectedDate selected. On dismissal, [target action:(NSDate *)selectedDate:(id)view] is called
-+ (void)displayActionPickerWithView:(UIView *)aView datePickerMode:(UIDatePickerMode)datePickerMode selectedDate:(NSDate *)selectedDate target:(id)target action:(SEL)action title:(NSString *)title;
++ (ActionSheetPicker*)displayActionPickerWithView:(UIView *)aView datePickerMode:(UIDatePickerMode)datePickerMode selectedDate:(NSDate *)selectedDate target:(id)target action:(SEL)action title:(NSString *)title;
- (id)initWithContainingView:(UIView *)aView target:(id)target action:(SEL)action;
View
29 Classes/ActionSheetPicker.m
@@ -34,16 +34,17 @@ @implementation ActionSheetPicker
#pragma mark -
#pragma mark NSObject
-+ (void)displayActionPickerWithView:(UIView *)aView data:(NSArray *)data selectedIndex:(NSInteger)selectedIndex target:(id)target action:(SEL)action title:(NSString *)title {
++ (ActionSheetPicker*)displayActionPickerWithView:(UIView *)aView data:(NSArray *)data selectedIndex:(NSInteger)selectedIndex target:(id)target action:(SEL)action title:(NSString *)title {
//Prevent crashes when there are no projects or categories
if( [data count] == 0) {
//[self showHUDWithCustomView:aView withMessage:[title stringByAppendingString:@"None to display"]];
[self showHUDWithCustomView:aView withMessage:@"None available"];
+ [target performSelector:action withObject:[NSNumber numberWithInt:-1] withObject:aView];
+ return nil;
} else {
- ActionSheetPicker *actionSheetPicker = [[ActionSheetPicker alloc] initForDataWithContainingView:aView data:data selectedIndex:selectedIndex target:target action:action title:title];
- [actionSheetPicker showActionPicker];
- [actionSheetPicker release];
-
+ ActionSheetPicker *actionSheetPicker = [[[ActionSheetPicker alloc] initForDataWithContainingView:aView data:data selectedIndex:selectedIndex target:target action:action title:title] autorelease];
+ [actionSheetPicker showActionPicker];
+ return actionSheetPicker;
}
}
@@ -60,17 +61,18 @@ + (void)showHUDWithCustomView:(UIView *)view withMessage:(NSString *)message {
HUD.mode = MBProgressHUDModeCustomView;
HUD.labelText = message;
-
+ HUD.yOffset = -100;
+
[HUD show:YES];
[HUD hide:YES afterDelay:1];
}
-+ (void)displayActionPickerWithView:(UIView *)aView datePickerMode:(UIDatePickerMode)datePickerMode selectedDate:(NSDate *)selectedDate target:(id)target action:(SEL)action title:(NSString *)title {
- ActionSheetPicker *actionSheetPicker = [[ActionSheetPicker alloc] initForDateWithContainingView:aView datePickerMode:datePickerMode selectedDate:selectedDate target:target action:action title:title];
++ (ActionSheetPicker*)displayActionPickerWithView:(UIView *)aView datePickerMode:(UIDatePickerMode)datePickerMode selectedDate:(NSDate *)selectedDate target:(id)target action:(SEL)action title:(NSString *)title {
+ ActionSheetPicker *actionSheetPicker = [[[ActionSheetPicker alloc] initForDateWithContainingView:aView datePickerMode:datePickerMode selectedDate:selectedDate target:target action:action title:title] autorelease];
[actionSheetPicker showActionPicker];
- [actionSheetPicker release];
+ return actionSheetPicker;
}
- (id)initWithContainingView:(UIView *)aView target:(id)target action:(SEL)action {
@@ -228,6 +230,15 @@ - (void)actionPickerCancel {
} else {
[self.popOverController dismissPopoverAnimated:YES];
}
+
+ if (nil != self.data) {
+ //send data picker message
+ [self.target performSelector:self.action withObject:[NSNumber numberWithInt:-1] withObject:self.view];
+ } else {
+ //send date picker message
+ [self.target performSelector:self.action withObject:nil withObject:self.view];
+ }
+
[self release];
}
View
33 Classes/PGTableWithEmptyView/PGTableViewWithEmptyView.h
@@ -0,0 +1,33 @@
+//
+// PGTableViewWithEmptyView.h
+// iDJ-Remix
+//
+// Created by Pete Goodliffe on 8/31/10.
+// Copyright 2010 Pete Goodliffe. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+/// A UITableView that switches to a user-specified view when
+/// it is empty.
+///
+/// This view is not loaded on demand, so should already have
+/// been created when you display the table view.
+///
+/// You can connect this up in Interface Builder if that floats
+/// your boat.
+///
+/// @version 1.0
+@interface PGTableViewWithEmptyView : UITableView
+{
+ UIView *emptyView;
+}
+
+/// Assign this the view you want to be displayed when the UITableView
+/// is empty.
+@property (retain,nonatomic) IBOutlet UIView *emptyView;
+
+/// Property value is true if the UITableView has any rows
+@property (nonatomic,readonly) bool tableViewHasRows;
+
+@end
View
85 Classes/PGTableWithEmptyView/PGTableViewWithEmptyView.m
@@ -0,0 +1,85 @@
+//
+// PGTableViewWithEmptyView.m
+// iDJ-Remix
+//
+// Created by Pete Goodliffe on 8/31/10.
+// Copyright 2010 Pete Goodliffe. All rights reserved.
+//
+
+#import "PGTableViewWithEmptyView.h"
+
+#import <QuartzCore/QuartzCore.h>
+
+@implementation PGTableViewWithEmptyView
+
+@synthesize emptyView;
+
+- (bool) tableViewHasRows
+{
+ // TODO: This only supports the first section so far
+ return [self numberOfRowsInSection:0] == 0;
+}
+
+- (void) updateEmptyPage
+{
+ const CGRect rect = (CGRect){self.contentOffset,self.frame.size};
+ emptyView.frame = rect;
+
+ const bool shouldShowEmptyView = self.tableViewHasRows;
+ const bool emptyViewShown = emptyView.superview != nil;
+
+ if (emptyViewShown) {
+ [self bringSubviewToFront:emptyView];
+ }
+
+ if (shouldShowEmptyView == emptyViewShown) return;
+
+ CATransition *animation = [CATransition animation];
+ [animation setDuration:0.5];
+ [animation setType:kCATransitionFade];
+ [animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseIn]];
+ [[self layer] addAnimation:animation forKey:kCATransitionReveal];
+
+ if (shouldShowEmptyView)
+ [self addSubview:emptyView];
+ else
+ [emptyView removeFromSuperview];
+}
+
+- (void) setEmptyView:(UIView *)newView
+{
+ if (newView == emptyView) return;
+
+ UIView *oldView = emptyView;
+ emptyView = [newView retain];
+
+ [oldView removeFromSuperview];
+ [oldView release];
+
+ [self updateEmptyPage];
+}
+
+#pragma mark UIView
+
+- (void) layoutSubviews
+{
+ [super layoutSubviews];
+ [self updateEmptyPage];
+}
+
+- (UIView*) hitTest:(CGPoint)point withEvent:(UIEvent *)event
+{
+ // Prevent any interaction when the empty view is shown
+ const bool emptyViewShown = emptyView.superview != nil;
+ return emptyViewShown ? nil : [super hitTest:point withEvent:event];
+}
+
+#pragma mark UITableView
+
+- (void) reloadData
+{
+ [super reloadData];
+ [self updateEmptyPage];
+}
+
+@end
View
10 Classes/TaskEditViewController.h
@@ -50,6 +50,7 @@
#import <UIKit/UIKit.h>
#import "Task.h"
#import "TestFlight.h"
+#import "ActionSheetPicker.h"
@class TaskEditViewController;
@@ -69,6 +70,10 @@
NSString *curInput;
Task *task;
NSRange curSelectedRange;
+ UIView *helpView;
+ UIButton *helpCloseButton;
+ UIPopoverController *popOverController;
+ ActionSheetPicker *actionSheetPicker;
}
@property (nonatomic, assign) id <TaskEditViewControllerDelegate> delegate;
@@ -76,10 +81,15 @@
@property (nonatomic, retain) IBOutlet UITextView *textView;
@property (nonatomic, assign) IBOutlet UIView *accessoryView;
@property (nonatomic, retain) Task *task;
+@property (nonatomic, retain) IBOutlet UIView *helpView;
+@property (nonatomic, retain) IBOutlet UIButton *helpCloseButton;
+@property (nonatomic, retain) UIPopoverController *popOverController;
+@property (nonatomic, retain) ActionSheetPicker *actionSheetPicker;
- (IBAction)cancelButtonPressed:(id)sender;
- (IBAction)doneButtonPressed:(id)sender;
- (IBAction)helpButtonPressed:(id)sender;
+- (IBAction)helpCloseButtonPressed:(id)sender;
- (IBAction) keyboardAccessoryButtonPressed:(id)sender;
- (void) addEditTask;
View
107 Classes/TaskEditViewController.m
@@ -55,6 +55,7 @@
#import "ActionSheetPicker.h"
#import "PriorityTextSplitter.h"
#import "TestFlight.h"
+#import <QuartzCore/QuartzCore.h>
#define SINGLE_SPACE ' '
@@ -106,7 +107,7 @@ NSRange calculateSelectedRange(NSRange oldRange, NSString *oldText, NSString* ne
@implementation TaskEditViewController
-@synthesize delegate, navItem, textView, accessoryView, task;
+@synthesize delegate, navItem, textView, accessoryView, task, helpView, helpCloseButton, popOverController, actionSheetPicker;
// The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
/*
@@ -124,6 +125,11 @@ - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
- (void)viewDidLoad {
[super viewDidLoad];
curInput = [[NSString alloc] init];
+
+ helpCloseButton.layer.cornerRadius = 8.0f;
+ helpCloseButton.layer.masksToBounds = YES;
+ helpCloseButton.layer.borderWidth = 1.0f;
+ helpCloseButton.layer.borderColor = [[UIColor whiteColor] CGColor];
}
- (void) viewWillAppear:(BOOL)animated {
@@ -227,38 +233,78 @@ - (IBAction)doneButtonPressed:(id)sender {
- (IBAction)helpButtonPressed:(id)sender {
// Display help text
+ if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
+ //spawn popovercontroller
+ if (popOverController == nil) {
+ UIViewController *viewController = [[[UIViewController alloc] initWithNibName:nil bundle:nil] autorelease];
+ viewController.view = helpView;
+ viewController.contentSizeForViewInPopover = viewController.view.frame.size;
+ popOverController = [[UIPopoverController alloc] initWithContentViewController:viewController];
+ }
+ helpCloseButton.hidden = YES;
+ [popOverController presentPopoverFromBarButtonItem:sender
+ permittedArrowDirections:UIPopoverArrowDirectionDown animated:YES];
+ } else {
+ [textView resignFirstResponder];
+
+ CATransition *animation = [CATransition animation];
+ [animation setDuration:0.25];
+ [animation setType:kCATransitionFade];
+ [animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseIn]];
+ [[self.view layer] addAnimation:animation forKey:kCATransitionReveal];
+
+ const CGRect rect = (CGRect){CGPointZero,self.view.frame.size};
+ helpView.frame = rect;
+ helpCloseButton.hidden = NO;
+ [self.view addSubview:helpView];
+ }
}
-- (void) priorityWasSelected:(NSNumber *)selectedIndex:(id)element {
- Priority *selectedPriority = [Priority byName:(PriorityName)selectedIndex.intValue];
- NSString *newText = [NSString stringWithFormat:@"%@ %@",
- [selectedPriority fileFormat],
- [[PriorityTextSplitter split:textView.text] text]];
- curSelectedRange = calculateSelectedRange(curSelectedRange, textView.text, newText);
- textView.text = newText;
+- (IBAction)helpCloseButtonPressed:(id)sender {
+ CATransition *animation = [CATransition animation];
+ [animation setDuration:0.25];
+ [animation setType:kCATransitionFade];
+ [animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseIn]];
+ [[self.view layer] addAnimation:animation forKey:kCATransitionReveal];
+
+ [helpView removeFromSuperview];
[textView becomeFirstResponder];
}
+- (void) priorityWasSelected:(NSNumber *)selectedIndex:(id)element {
+ if (selectedIndex.intValue >= 0) {
+ Priority *selectedPriority = [Priority byName:(PriorityName)selectedIndex.intValue];
+ NSString *newText = [NSString stringWithFormat:@"%@ %@",
+ [selectedPriority fileFormat],
+ [[PriorityTextSplitter split:textView.text] text]];
+ curSelectedRange = calculateSelectedRange(curSelectedRange, textView.text, newText);
+ textView.text = newText;
+ }
+ [textView becomeFirstResponder];
+}
+
- (void) projectWasSelected:(NSNumber *)selectedIndex:(id)element {
- id<TaskBag> taskBag = [todo_txt_touch_iosAppDelegate sharedTaskBag];
- NSString *item = [[taskBag projects] objectAtIndex:selectedIndex.intValue];
- item = [NSString stringWithFormat:@"+%@", item];
- NSString *newText = insertPadded(textView.text, curSelectedRange, item);
- curSelectedRange = calculateSelectedRange(curSelectedRange, textView.text, newText);
- textView.text = newText;
-
+ if (selectedIndex.intValue >= 0) {
+ id<TaskBag> taskBag = [todo_txt_touch_iosAppDelegate sharedTaskBag];
+ NSString *item = [[taskBag projects] objectAtIndex:selectedIndex.intValue];
+ item = [NSString stringWithFormat:@"+%@", item];
+ NSString *newText = insertPadded(textView.text, curSelectedRange, item);
+ curSelectedRange = calculateSelectedRange(curSelectedRange, textView.text, newText);
+ textView.text = newText;
+ }
[textView becomeFirstResponder];
}
- (void) contextWasSelected:(NSNumber *)selectedIndex:(id)element {
- id<TaskBag> taskBag = [todo_txt_touch_iosAppDelegate sharedTaskBag];
- NSString *item = [[taskBag contexts] objectAtIndex:selectedIndex.intValue];
- item = [NSString stringWithFormat:@"@%@", item];
- NSString *newText = insertPadded(textView.text, curSelectedRange, item);
- curSelectedRange = calculateSelectedRange(curSelectedRange, textView.text, newText);
- textView.text = newText;
-
+ if (selectedIndex.intValue >= 0) {
+ id<TaskBag> taskBag = [todo_txt_touch_iosAppDelegate sharedTaskBag];
+ NSString *item = [[taskBag contexts] objectAtIndex:selectedIndex.intValue];
+ item = [NSString stringWithFormat:@"@%@", item];
+ NSString *newText = insertPadded(textView.text, curSelectedRange, item);
+ curSelectedRange = calculateSelectedRange(curSelectedRange, textView.text, newText);
+ textView.text = newText;
+ }
[textView becomeFirstResponder];
}
@@ -266,6 +312,7 @@ - (IBAction) keyboardAccessoryButtonPressed:(id)sender {
id<TaskBag> taskBag = [todo_txt_touch_iosAppDelegate sharedTaskBag];
+ [actionSheetPicker actionPickerCancel];
if(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
//For ipad, we have ample space and it is not necessary to hide the keyboard
todo_txt_touch_iosAppDelegate *appdelegate = (todo_txt_touch_iosAppDelegate*)[[UIApplication sharedApplication] delegate];
@@ -277,14 +324,14 @@ - (IBAction) keyboardAccessoryButtonPressed:(id)sender {
UIBarButtonItem *button = (UIBarButtonItem*)sender;
if([button.title isEqualToString:@"Context"]) { // Context
- [ActionSheetPicker displayActionPickerWithView:self.view
+ actionSheetPicker = [ActionSheetPicker displayActionPickerWithView:self.view
data:[taskBag contexts]
selectedIndex:0
target:self
action:@selector(contextWasSelected::)
title:@"Select Context"];
} else if([button.title isEqualToString:@"Priority"]) { // Priority
- [ActionSheetPicker displayActionPickerWithView:self.view
+ actionSheetPicker = [ActionSheetPicker displayActionPickerWithView:self.view
data:[Priority allCodes]
selectedIndex:0
target:self
@@ -292,7 +339,7 @@ - (IBAction) keyboardAccessoryButtonPressed:(id)sender {
title:@"Select Priority"];
} else if([button.title isEqualToString:@"Project"]) { // Priority
- [ActionSheetPicker displayActionPickerWithView:self.view
+ actionSheetPicker = [ActionSheetPicker displayActionPickerWithView:self.view
data:[taskBag projects]
selectedIndex:0
target:self
@@ -315,13 +362,21 @@ - (void)viewDidUnload {
// e.g. self.myOutlet = nil;
[curInput release];
curInput = nil;
- [task release];
+ self.task = nil;
+ self.helpView = nil;
+ self.helpCloseButton = nil;
+ self.popOverController = nil;
+ self.actionSheetPicker = nil;
}
- (void)dealloc {
[navItem release];
[textView release];
+ [helpView release];
+ [helpCloseButton release];
+ [popOverController release];
+ [actionSheetPicker release];
[super dealloc];
}
View
322 TaskEditViewController.xib
@@ -12,12 +12,14 @@
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
- <string>IBUINavigationItem</string>
+ <string>IBProxyObject</string>
<string>IBUIBarButtonItem</string>
+ <string>IBUILabel</string>
+ <string>IBUIButton</string>
<string>IBUITextView</string>
- <string>IBUIView</string>
+ <string>IBUINavigationItem</string>
<string>IBUINavigationBar</string>
- <string>IBProxyObject</string>
+ <string>IBUIView</string>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -47,7 +49,6 @@
<int key="NSvFlags">274</int>
<string key="NSFrame">{{0, 44}, {320, 416}}</string>
<reference key="NSSuperview" ref="191373211"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
@@ -62,11 +63,11 @@
<int key="IBUIKeyboardType">7</int>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
- <object class="IBUIFontDescription" key="IBUIFontDescription">
+ <object class="IBUIFontDescription" key="IBUIFontDescription" id="191406775">
<int key="type">1</int>
<double key="pointSize">17</double>
</object>
- <object class="NSFont" key="IBUIFont">
+ <object class="NSFont" key="IBUIFont" id="346983120">
<string key="NSName">Helvetica</string>
<double key="NSSize">17</double>
<int key="NSfFlags">16</int>
@@ -77,7 +78,6 @@
<int key="NSvFlags">290</int>
<string key="NSFrameSize">{320, 44}</string>
<reference key="NSSuperview" ref="191373211"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="1035810405"/>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSArray" key="IBUIItems">
@@ -104,7 +104,6 @@
</object>
<string key="NSFrame">{{0, 20}, {320, 460}}</string>
<reference key="NSSuperview"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="375530780"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
@@ -116,6 +115,204 @@
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
+ <object class="IBUIView" id="791280918">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">292</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBUILabel" id="516451120">
+ <reference key="NSNextResponder" ref="791280918"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{47, 87}, {76, 22}}</string>
+ <reference key="NSSuperview" ref="791280918"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="666484715"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">Projects</string>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ <object class="NSColorSpace" key="NSCustomColorSpace" id="403207145">
+ <int key="NSID">1</int>
+ </object>
+ </object>
+ <nil key="IBUIHighlightedColor"/>
+ <object class="NSColor" key="IBUIShadowColor" id="368085276">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MCAwIDAAA</bytes>
+ </object>
+ <int key="IBUIBaselineAdjustment">1</int>
+ <bool key="IBUIAdjustsFontSizeToFit">NO</bool>
+ <float key="IBUIMinimumFontSize">10</float>
+ <object class="IBUIFontDescription" key="IBUIFontDescription" id="283122791">
+ <int key="type">2</int>
+ <double key="pointSize">17</double>
+ </object>
+ <object class="NSFont" key="IBUIFont" id="520127283">
+ <string key="NSName">Helvetica-Bold</string>
+ <double key="NSSize">17</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ </object>
+ <object class="IBUILabel" id="666484715">
+ <reference key="NSNextResponder" ref="791280918"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{49, 88}, {223, 63}}</string>
+ <reference key="NSSuperview" ref="791280918"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="602818637"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText"> start with a + sign and contain no spaces, like +KitchenRemodel or +Novel.</string>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ <reference key="NSCustomColorSpace" ref="403207145"/>
+ </object>
+ <nil key="IBUIHighlightedColor"/>
+ <int key="IBUIBaselineAdjustment">1</int>
+ <bool key="IBUIAdjustsFontSizeToFit">NO</bool>
+ <float key="IBUIMinimumFontSize">10</float>
+ <int key="IBUINumberOfLines">0</int>
+ <int key="IBUILineBreakMode">0</int>
+ <reference key="IBUIFontDescription" ref="191406775"/>
+ <reference key="IBUIFont" ref="346983120"/>
+ </object>
+ <object class="IBUILabel" id="602818637">
+ <reference key="NSNextResponder" ref="791280918"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{49, 173}, {76, 22}}</string>
+ <reference key="NSSuperview" ref="791280918"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="99457092"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">Contexts</string>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ <reference key="NSCustomColorSpace" ref="403207145"/>
+ </object>
+ <nil key="IBUIHighlightedColor"/>
+ <reference key="IBUIShadowColor" ref="368085276"/>
+ <int key="IBUIBaselineAdjustment">1</int>
+ <bool key="IBUIAdjustsFontSizeToFit">NO</bool>
+ <float key="IBUIMinimumFontSize">10</float>
+ <reference key="IBUIFontDescription" ref="283122791"/>
+ <reference key="IBUIFont" ref="520127283"/>
+ </object>
+ <object class="IBUILabel" id="99457092">
+ <reference key="NSNextResponder" ref="791280918"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{49, 173}, {222, 84}}</string>
+ <reference key="NSSuperview" ref="791280918"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="185383553"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText"> (where you will complete a task) start with an @ sign, like @phone or @GroceryStore.</string>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ <reference key="NSCustomColorSpace" ref="403207145"/>
+ </object>
+ <nil key="IBUIHighlightedColor"/>
+ <int key="IBUIBaselineAdjustment">1</int>
+ <bool key="IBUIAdjustsFontSizeToFit">NO</bool>
+ <float key="IBUIMinimumFontSize">10</float>
+ <int key="IBUINumberOfLines">0</int>
+ <int key="IBUILineBreakMode">0</int>
+ <reference key="IBUIFontDescription" ref="191406775"/>
+ <reference key="IBUIFont" ref="346983120"/>
+ </object>
+ <object class="IBUILabel" id="185383553">
+ <reference key="NSNextResponder" ref="791280918"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{49, 280}, {177, 63}}</string>
+ <reference key="NSSuperview" ref="791280918"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="125131458"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">A task can include any number of projects or contexts.</string>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ <reference key="NSCustomColorSpace" ref="403207145"/>
+ </object>
+ <nil key="IBUIHighlightedColor"/>
+ <int key="IBUIBaselineAdjustment">1</int>
+ <bool key="IBUIAdjustsFontSizeToFit">NO</bool>
+ <float key="IBUIMinimumFontSize">10</float>
+ <int key="IBUINumberOfLines">0</int>
+ <int key="IBUILineBreakMode">0</int>
+ <reference key="IBUIFontDescription" ref="191406775"/>
+ <reference key="IBUIFont" ref="346983120"/>
+ </object>
+ <object class="IBUIButton" id="125131458">
+ <reference key="NSNextResponder" ref="791280918"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{128, 385}, {64, 28}}</string>
+ <reference key="NSSuperview" ref="791280918"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MCAwAA</bytes>
+ </object>
+ <bool key="IBUIOpaque">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <bool key="IBUIShowsTouchWhenHighlighted">YES</bool>
+ <string key="IBUINormalTitle">Close</string>
+ <object class="NSColor" key="IBUIHighlightedTitleColor" id="565338934">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ </object>
+ <reference key="IBUINormalTitleColor" ref="565338934"/>
+ <object class="NSColor" key="IBUINormalTitleShadowColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MC41AA</bytes>
+ </object>
+ <object class="IBUIFontDescription" key="IBUIFontDescription">
+ <int key="type">2</int>
+ <double key="pointSize">15</double>
+ </object>
+ <object class="NSFont" key="IBUIFont">
+ <string key="NSName">Helvetica-Bold</string>
+ <double key="NSSize">15</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ </object>
+ </object>
+ <string key="NSFrameSize">{320, 460}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="516451120"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MAA</bytes>
+ </object>
+ <float key="IBUIAlpha">0.89999997615814209</float>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
@@ -145,6 +342,22 @@
<int key="connectionID">25</int>
</object>
<object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">helpView</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="791280918"/>
+ </object>
+ <int key="connectionID">36</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">helpCloseButton</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="125131458"/>
+ </object>
+ <int key="connectionID">38</int>
+ </object>
+ <object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
<string key="label">cancelButtonPressed:</string>
<reference key="source" ref="324887392"/>
@@ -168,6 +381,15 @@
</object>
<int key="connectionID">21</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">helpCloseButtonPressed:</string>
+ <reference key="source" ref="125131458"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">37</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -235,6 +457,51 @@
<reference key="object" ref="1035810405"/>
<reference key="parent" ref="191373211"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">26</int>
+ <reference key="object" ref="791280918"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="666484715"/>
+ <reference ref="185383553"/>
+ <reference ref="99457092"/>
+ <reference ref="516451120"/>
+ <reference ref="602818637"/>
+ <reference ref="125131458"/>
+ </object>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">Help Screen View</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">27</int>
+ <reference key="object" ref="516451120"/>
+ <reference key="parent" ref="791280918"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">28</int>
+ <reference key="object" ref="666484715"/>
+ <reference key="parent" ref="791280918"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">29</int>
+ <reference key="object" ref="602818637"/>
+ <reference key="parent" ref="791280918"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">30</int>
+ <reference key="object" ref="99457092"/>
+ <reference key="parent" ref="791280918"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">31</int>
+ <reference key="object" ref="185383553"/>
+ <reference key="parent" ref="791280918"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">35</int>
+ <reference key="object" ref="125131458"/>
+ <reference key="parent" ref="791280918"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -249,6 +516,14 @@
<string>14.IBPluginDependency</string>
<string>15.IBPluginDependency</string>
<string>16.IBPluginDependency</string>
+ <string>26.IBPluginDependency</string>
+ <string>27.IBPluginDependency</string>
+ <string>28.IBPluginDependency</string>
+ <string>29.IBPluginDependency</string>
+ <string>30.IBPluginDependency</string>
+ <string>31.IBPluginDependency</string>
+ <string>35.IBPluginDependency</string>
+ <string>35.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
<string>5.IBPluginDependency</string>
<string>6.IBPluginDependency</string>
</object>
@@ -264,6 +539,14 @@
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <real value="0.0"/>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
@@ -278,7 +561,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">25</int>
+ <int key="maxID">38</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -293,6 +576,7 @@
<string>cancelButtonPressed:</string>
<string>doneButtonPressed:</string>
<string>helpButtonPressed:</string>
+ <string>helpCloseButtonPressed:</string>
<string>keyboardAccessoryButtonPressed:</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -301,6 +585,7 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
@@ -310,6 +595,7 @@
<string>cancelButtonPressed:</string>
<string>doneButtonPressed:</string>
<string>helpButtonPressed:</string>
+ <string>helpCloseButtonPressed:</string>
<string>keyboardAccessoryButtonPressed:</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -327,6 +613,10 @@
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
+ <string key="name">helpCloseButtonPressed:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
<string key="name">keyboardAccessoryButtonPressed:</string>
<string key="candidateClassName">id</string>
</object>
@@ -337,12 +627,16 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>accessoryView</string>
+ <string>helpCloseButton</string>
+ <string>helpView</string>
<string>navItem</string>
<string>textView</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>UIView</string>
+ <string>UIButton</string>
+ <string>UIView</string>
<string>UINavigationItem</string>
<string>UITextView</string>
</object>
@@ -352,6 +646,8 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>accessoryView</string>
+ <string>helpCloseButton</string>
+ <string>helpView</string>
<string>navItem</string>
<string>textView</string>
</object>
@@ -362,6 +658,14 @@
<string key="candidateClassName">UIView</string>
</object>
<object class="IBToOneOutletInfo">
+ <string key="name">helpCloseButton</string>
+ <string key="candidateClassName">UIButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">helpView</string>
+ <string key="candidateClassName">UIView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
<string key="name">navItem</string>
<string key="candidateClassName">UINavigationItem</string>
</object>
View
18 todo.txt-touch-ios.xcodeproj/project.pbxproj
@@ -78,6 +78,8 @@
888065B11401A3D10036DE2A /* Reachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 888065B01401A3D10036DE2A /* Reachability.m */; };
888065B71401A51C0036DE2A /* Network.m in Sources */ = {isa = PBXBuildFile; fileRef = 888065B61401A51C0036DE2A /* Network.m */; };
888065B91401AF7D0036DE2A /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 888065B81401AF7D0036DE2A /* SystemConfiguration.framework */; };
+ 888286AB146E5165007DBB16 /* PGTableViewWithEmptyView.m in Sources */ = {isa = PBXBuildFile; fileRef = 888286AA146E5165007DBB16 /* PGTableViewWithEmptyView.m */; };
+ 888286AD146E52C5007DBB16 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 888286AC146E52C5007DBB16 /* QuartzCore.framework */; };
88866D3113F794320073944B /* Sort.m in Sources */ = {isa = PBXBuildFile; fileRef = 88866D3013F794320073944B /* Sort.m */; };
8887496D13F3715400871E49 /* ActionSheetPicker.m in Sources */ = {isa = PBXBuildFile; fileRef = 8887496C13F3715400871E49 /* ActionSheetPicker.m */; };
88A91724146614920075B886 /* DropboxSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 88A91723146614920075B886 /* DropboxSDK.framework */; };
@@ -211,6 +213,9 @@
888065B51401A51C0036DE2A /* Network.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Network.h; sourceTree = "<group>"; };
888065B61401A51C0036DE2A /* Network.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Network.m; sourceTree = "<group>"; };
888065B81401AF7D0036DE2A /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
+ 888286A9146E5165007DBB16 /* PGTableViewWithEmptyView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PGTableViewWithEmptyView.h; sourceTree = "<group>"; };
+ 888286AA146E5165007DBB16 /* PGTableViewWithEmptyView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PGTableViewWithEmptyView.m; sourceTree = "<group>"; };
+ 888286AC146E52C5007DBB16 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
88866D2F13F794320073944B /* Sort.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Sort.h; path = Classes/Sort.h; sourceTree = "<group>"; };
88866D3013F794320073944B /* Sort.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Sort.m; path = Classes/Sort.m; sourceTree = "<group>"; };
8887496B13F3715400871E49 /* ActionSheetPicker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ActionSheetPicker.h; sourceTree = "<group>"; };
@@ -241,6 +246,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ 888286AD146E52C5007DBB16 /* QuartzCore.framework in Frameworks */,
F45C4F90145363F300E92C6D /* CoreText.framework in Frameworks */,
5910DBD114216A2300BB2D68 /* MessageUI.framework in Frameworks */,
888065B91401AF7D0036DE2A /* SystemConfiguration.framework in Frameworks */,
@@ -348,6 +354,7 @@
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
isa = PBXGroup;
children = (
+ 888286AC146E52C5007DBB16 /* QuartzCore.framework */,
88A91723146614920075B886 /* DropboxSDK.framework */,
F45C4F8F145363F300E92C6D /* CoreText.framework */,
5910DBD014216A2300BB2D68 /* MessageUI.framework */,
@@ -469,6 +476,7 @@
59216D3B13EA316100FF07EE /* Util */ = {
isa = PBXGroup;
children = (
+ 888286A8146E5165007DBB16 /* PGTableWithEmptyView */,
888065AF1401A3D10036DE2A /* Reachability.h */,
888065B01401A3D10036DE2A /* Reachability.m */,
8887496B13F3715400871E49 /* ActionSheetPicker.h */,
@@ -516,6 +524,15 @@
name = Remote;
sourceTree = "<group>";
};
+ 888286A8146E5165007DBB16 /* PGTableWithEmptyView */ = {
+ isa = PBXGroup;
+ children = (
+ 888286A9146E5165007DBB16 /* PGTableViewWithEmptyView.h */,
+ 888286AA146E5165007DBB16 /* PGTableViewWithEmptyView.m */,
+ );
+ path = PGTableWithEmptyView;
+ sourceTree = "<group>";
+ };
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@@ -653,6 +670,7 @@
F45C4F8D1453624D00E92C6D /* AttributedLabel.m in Sources */,
F4595BE61453DC48000FB9F6 /* NSMutableAttributedString+TodoTxt.m in Sources */,
DEA1880214579780007452B4 /* MBProgressHUD.m in Sources */,
+ 888286AB146E5165007DBB16 /* PGTableViewWithEmptyView.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
238 todo_txt_touch_iosViewController.xib
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
<data>
- <int key="IBDocument.SystemTarget">1056</int>
+ <int key="IBDocument.SystemTarget">1280</int>
<string key="IBDocument.SystemVersion">10K549</string>
- <string key="IBDocument.InterfaceBuilderVersion">1306</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1938</string>
<string key="IBDocument.AppKitVersion">1038.36</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">301</string>
+ <string key="NS.object.0">933</string>
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -17,6 +17,7 @@
<string>IBUISearchDisplayController</string>
<string>IBUIToolbar</string>
<string>IBUISearchBar</string>
+ <string>IBUILabel</string>
<string>IBUISegmentedControl</string>
<string>IBUITableView</string>
<string>IBUIView</string>
@@ -26,11 +27,8 @@
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys" id="0">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <reference key="dict.values" ref="0"/>
+ <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+ <integer value="1" key="NS.object.0"/>
</object>
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -71,7 +69,7 @@
<reference key="NSSuperview" ref="774585933"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="397767984"/>
- <object class="NSColor" key="IBUIBackgroundColor">
+ <object class="NSColor" key="IBUIBackgroundColor" id="651757441">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
</object>
@@ -94,7 +92,7 @@
<object class="IBUISegmentedControl" id="196083117">
<reference key="NSNextResponder" ref="940181822"/>
<int key="NSvFlags">256</int>
- <string key="NSFrame">{{102, 8}, {112, 30}}</string>
+ <string key="NSFrame">{{104, 8}, {112, 30}}</string>
<reference key="NSSuperview" ref="940181822"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
@@ -190,6 +188,78 @@
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
+ <object class="IBUIView" id="1013477715">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">274</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBUILabel" id="1000277151">
+ <reference key="NSNextResponder" ref="1013477715"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{59, 161}, {201, 21}}</string>
+ <reference key="NSSuperview" ref="1013477715"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="84324719"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">Your todo.txt file is empty.</string>
+ <reference key="IBUITextColor" ref="651757441"/>
+ <nil key="IBUIHighlightedColor"/>
+ <object class="NSColor" key="IBUIShadowColor" id="724423243">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MCAwIDAAA</bytes>
+ </object>
+ <int key="IBUIBaselineAdjustment">1</int>
+ <bool key="IBUIAdjustsFontSizeToFit">NO</bool>
+ <float key="IBUIMinimumFontSize">10</float>
+ <object class="IBUIFontDescription" key="IBUIFontDescription" id="714363598">
+ <int key="type">1</int>
+ <double key="pointSize">17</double>
+ </object>
+ <object class="NSFont" key="IBUIFont" id="979610820">
+ <string key="NSName">Helvetica</string>
+ <double key="NSSize">17</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ </object>
+ <object class="IBUILabel" id="84324719">
+ <reference key="NSNextResponder" ref="1013477715"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{20, 190}, {293, 21}}</string>
+ <reference key="NSSuperview" ref="1013477715"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">4</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">Tap the + sign to add your first todo.</string>
+ <reference key="IBUITextColor" ref="651757441"/>
+ <nil key="IBUIHighlightedColor"/>
+ <reference key="IBUIShadowColor" ref="724423243"/>
+ <int key="IBUIBaselineAdjustment">1</int>
+ <bool key="IBUIAdjustsFontSizeToFit">NO</bool>
+ <float key="IBUIMinimumFontSize">10</float>
+ <int key="IBUILineBreakMode">2</int>
+ <reference key="IBUIFontDescription" ref="714363598"/>
+ <reference key="IBUIFont" ref="979610820"/>
+ </object>
+ </object>
+ <string key="NSFrameSize">{320, 460}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="1000277151"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MAA</bytes>
+ </object>
+ <float key="IBUIAlpha">0.69999998807907104</float>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
<object class="IBUISearchDisplayController" id="412186738">
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
@@ -199,6 +269,30 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">view</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="774585933"/>
+ </object>
+ <int key="connectionID">15</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">table</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="128506778"/>
+ </object>
+ <int key="connectionID">44</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">searchDisplayController</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="412186738"/>
+ </object>
+ <int key="connectionID">53</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">dataSource</string>
<reference key="source" ref="128506778"/>
<reference key="destination" ref="372490531"/>
@@ -215,19 +309,19 @@
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">view</string>
- <reference key="source" ref="372490531"/>
- <reference key="destination" ref="774585933"/>
+ <string key="label">emptyView</string>
+ <reference key="source" ref="128506778"/>
+ <reference key="destination" ref="1013477715"/>
</object>
- <int key="connectionID">15</int>
+ <int key="connectionID">62</int>
</object>
<object class="IBConnectionRecord">
- <object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">table</string>
- <reference key="source" ref="372490531"/>
- <reference key="destination" ref="128506778"/>
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">syncButtonPressed:</string>
+ <reference key="source" ref="1069796159"/>
+ <reference key="destination" ref="372490531"/>
</object>
- <int key="connectionID">44</int>
+ <int key="connectionID">48</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
@@ -240,19 +334,19 @@
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
- <string key="label">syncButtonPressed:</string>
- <reference key="source" ref="1069796159"/>
+ <string key="label">settingsButtonPressed:</string>
+ <reference key="source" ref="1071900226"/>
<reference key="destination" ref="372490531"/>
</object>
- <int key="connectionID">48</int>
+ <int key="connectionID">49</int>
</object>
<object class="IBConnectionRecord">
- <object class="IBCocoaTouchEventConnection" key="connection">
- <string key="label">settingsButtonPressed:</string>
- <reference key="source" ref="1071900226"/>
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="397767984"/>
<reference key="destination" ref="372490531"/>
</object>
- <int key="connectionID">49</int>
+ <int key="connectionID">58</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
@@ -264,14 +358,6 @@
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">searchDisplayController</string>
- <reference key="source" ref="372490531"/>
- <reference key="destination" ref="412186738"/>
- </object>
- <int key="connectionID">53</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">searchContentsController</string>
<reference key="source" ref="412186738"/>
<reference key="destination" ref="372490531"/>
@@ -302,21 +388,15 @@
</object>
<int key="connectionID">57</int>
</object>
- <object class="IBConnectionRecord">
- <object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">delegate</string>
- <reference key="source" ref="397767984"/>
- <reference key="destination" ref="372490531"/>
- </object>
- <int key="connectionID">58</int>
- </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBObjectRecord">
<int key="objectID">0</int>
- <reference key="object" ref="0"/>
+ <object class="NSArray" key="object" id="0">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
<reference key="children" ref="1000"/>
<nil key="parent"/>
</object>
@@ -407,6 +487,27 @@
<reference key="object" ref="412186738"/>
<reference key="parent" ref="0"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">59</int>
+ <reference key="object" ref="1013477715"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="1000277151"/>
+ <reference ref="84324719"/>
+ </object>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">Empty View</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">61</int>
+ <reference key="object" ref="1000277151"/>
+ <reference key="parent" ref="1013477715"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">60</int>
+ <reference key="object" ref="84324719"/>
+ <reference key="parent" ref="1013477715"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -414,40 +515,46 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>-1.CustomClassName</string>
+ <string>-1.IBPluginDependency</string>
<string>-2.CustomClassName</string>
+ <string>-2.IBPluginDependency</string>
<string>17.IBPluginDependency</string>
- <string>17.IBViewBoundsToFrameTransform</string>
<string>20.IBPluginDependency</string>
<string>29.IBPluginDependency</string>
<string>30.IBPluginDependency</string>
+ <string>31.IBPluginDependency</string>
<string>34.IBPluginDependency</string>
<string>43.IBPluginDependency</string>
<string>50.IBPluginDependency</string>
- <string>6.IBEditorWindowLastContentRect</string>
+ <string>51.IBPluginDependency</string>
+ <string>59.IBPluginDependency</string>
<string>6.IBPluginDependency</string>
+ <string>60.IBPluginDependency</string>
+ <string>61.IBPluginDependency</string>
+ <string>8.CustomClassName</string>
<string>8.IBPluginDependency</string>
- <string>8.IBViewBoundsToFrameTransform</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>todo_txt_touch_iosViewController</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>UIResponder</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <object class="NSAffineTransform">
- <bytes key="NSTransformStruct">P4AAAL+AAAAAAAAAw88AAA</bytes>
- </object>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>{{921, 217}, {320, 480}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <object class="NSAffineTransform">
- <bytes key="NSTransformStruct">P4AAAL+AAAAAAAAAw8UAAA</bytes>
- </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>PGTableViewWithEmptyView</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
@@ -462,12 +569,31 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">58</int>
+ <int key="maxID">62</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
+ <string key="className">PGTableViewWithEmptyView</string>
+ <string key="superclassName">UITableView</string>
+ <object class="NSMutableDictionary" key="outlets">
+ <string key="NS.key.0">emptyView</string>
+ <string key="NS.object.0">UIView</string>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <string key="NS.key.0">emptyView</string>
+ <object class="IBToOneOutletInfo" key="NS.object.0">
+ <string key="name">emptyView</string>
+ <string key="candidateClassName">UIView</string>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/PGTableViewWithEmptyView.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">todo_txt_touch_iosViewController</string>
<string key="superclassName">UIViewController</string>
<object class="NSMutableDictionary" key="actions">
@@ -559,7 +685,7 @@
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
- <integer value="1056" key="NS.object.0"/>
+ <real value="1280" key="NS.object.0"/>
</object>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
@@ -571,6 +697,6 @@
<string key="NS.key.0">19-gear.png</string>
<string key="NS.object.0">{22, 22}</string>
</object>
- <string key="IBCocoaTouchPluginVersion">301</string>
+ <string key="IBCocoaTouchPluginVersion">933</string>
</data>
</archive>

No commit comments for this range

Something went wrong with that request. Please try again.