-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Archive logEntry objects with NSCoding
- Loading branch information
1 parent
f14be3b
commit 68f3beb
Showing
22 changed files
with
1,516 additions
and
137 deletions.
There are no files selected for viewing
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
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
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,16 @@ | ||
// | ||
// NSDate+CurrentTimeString.h | ||
// iAbetes | ||
// | ||
// Created by chris nielubowicz on 2/19/11. | ||
// Copyright 2011 __MyCompanyName__. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
|
||
@interface NSDate(TimeString) | ||
|
||
-(NSString *)timeString; | ||
|
||
@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 @@ | ||
// | ||
// NSDate+CurrentTimeString.m | ||
// iAbetes | ||
// | ||
// Created by chris nielubowicz on 2/19/11. | ||
// Copyright 2011 __MyCompanyName__. All rights reserved. | ||
// | ||
|
||
#import "NSDate+TimeString.h" | ||
|
||
|
||
@implementation NSDate(TimeString) | ||
|
||
-(NSString *)timeString | ||
{ | ||
NSDateFormatter *dateFormatter = [[[NSDateFormatter alloc] init] autorelease]; | ||
// display in 12HR/24HR (i.e. 11:25PM or 23:25) format according to User Settings | ||
[dateFormatter setTimeStyle:NSDateFormatterShortStyle]; | ||
return [dateFormatter stringFromDate:self]; | ||
} | ||
|
||
@end |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/iAbetes.build/iAbetes.pbxindex/strings.pbxstrings/control
Binary file not shown.
Binary file modified
BIN
+512 Bytes
(100%)
build/iAbetes.build/iAbetes.pbxindex/strings.pbxstrings/strings
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.