iSightを使ってBooklog,MediaMarkerインポート用CSVファイルを生成するアプリ
| Revision | 6e5dc6f953b97d68da23131de74b28106c7478ca (tree) |
|---|---|
| Time | 2011-05-09 00:02:16 |
| Author | masakih <masakih@user...> |
| Commiter | masakih |
[Fix] Clangに指摘された問題を修正。
| @@ -38,7 +38,8 @@ | ||
| 38 | 38 | |
| 39 | 39 | - (id)init |
| 40 | 40 | { |
| 41 | - if(self = [super init]) { | |
| 41 | + self = [super init]; | |
| 42 | + if(self) { | |
| 42 | 43 | registerDateFormatter = [[NSDateFormatter alloc] init]; |
| 43 | 44 | [registerDateFormatter setDateFormat:@"YYYY-MM-dd' 'HH':'mm':'ss"]; |
| 44 | 45 | publicateionDateFormatter = [[NSDateFormatter alloc] init]; |
| @@ -37,7 +37,8 @@ | ||
| 37 | 37 | } |
| 38 | 38 | - (id)init |
| 39 | 39 | { |
| 40 | - if(self = [super init]) { | |
| 40 | + self = [super init]; | |
| 41 | + if(self) { | |
| 41 | 42 | registerDateFormatter = [[NSDateFormatter alloc] init]; |
| 42 | 43 | [registerDateFormatter setDateFormat:@"YYYY/MM/dd' 'HH':'mm"]; |
| 43 | 44 | readDateFormatter = [[NSDateFormatter alloc] init]; |