forked from capttaco/Briefs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ui_1_dot_0' of /Users/rob/Dropbox/code/iphone/Briefs in…
…to ui_1_dot_0 Conflicts: Briefs.xcodeproj/project.pbxproj
- Loading branch information
Showing
131 changed files
with
10,264 additions
and
848 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// BFAddBriefcastCellController.h | ||
// Briefs | ||
// | ||
// Created by Rob Rhyne on 3/13/10. | ||
// Copyright Digital Arch Design, 2009-2010. See LICENSE file for details. | ||
// | ||
|
||
#import "BFButtonCellController.h" | ||
|
||
@interface BFAddBriefcastCellController : BFButtonCellController | ||
{ | ||
id delegate; | ||
} | ||
|
||
@property (nonatomic, retain) id delegate; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// BFAddBriefcastCellController.m | ||
// Briefs | ||
// | ||
// Created by Rob Rhyne on 3/13/10. | ||
// Copyright Digital Arch Design, 2009-2010. See LICENSE file for details. | ||
// | ||
|
||
#import "BFAddBriefcastCellController.h" | ||
|
||
|
||
@implementation BFAddBriefcastCellController | ||
@synthesize delegate; | ||
|
||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath | ||
{ | ||
if ([delegate respondsToSelector:@selector(addBriefcast)]) { | ||
[delegate addBriefcast]; | ||
} | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// BFArrayBriefDataSource.h | ||
// Briefs | ||
// | ||
// Created by Rob Rhyne on 3/28/10. | ||
// Copyright Digital Arch Design, 2009-2010. See LICENSE file for details. | ||
// | ||
|
||
#import "BFBriefDataSource.h" | ||
|
||
@interface BFArrayBriefDataSource : NSObject <BFBriefDataSource> | ||
{ | ||
NSArray *backingArray; | ||
} | ||
|
||
- (id)initWithArray:(NSArray *)backing; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// | ||
// BFArrayBriefDataSource.m | ||
// Briefs | ||
// | ||
// Created by Rob Rhyne on 3/28/10. | ||
// Copyright Digital Arch Design, 2009-2010. See LICENSE file for details. | ||
// | ||
|
||
#import "BFArrayBriefDataSource.h" | ||
|
||
|
||
@implementation BFArrayBriefDataSource | ||
|
||
/////////////////////////////////////////////////////////////////////////////// | ||
#pragma mark - | ||
#pragma mark Initialization | ||
|
||
- (id)initWithArray:(NSArray *)backing | ||
{ | ||
if (self = [super init]) { | ||
backingArray = [backing retain]; | ||
} | ||
|
||
return self; | ||
} | ||
|
||
- (void)dealloc | ||
{ | ||
[backingArray release]; | ||
[super dealloc]; | ||
} | ||
|
||
/////////////////////////////////////////////////////////////////////////////// | ||
#pragma mark - | ||
#pragma mark BFBriefDataSource Compliance | ||
|
||
- (int)numberOfRecords | ||
{ | ||
return [backingArray count]; | ||
} | ||
|
||
- (BriefRef *)dataForIndex:(NSInteger)index | ||
{ | ||
return [backingArray objectAtIndex:index]; | ||
} | ||
|
||
/////////////////////////////////////////////////////////////////////////////// | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.