diff options
author | Damiano Galassi <[email protected]> | 2019-08-12 10:19:00 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-08-12 10:19:00 +0200 |
commit | c5a4d181ebedbdee2bdfefeffa28128d0b9c95c1 (patch) | |
tree | 635e3d036b7065987f29d38489838ceb6cdd11eb /macosx/HBChapterTitlesController.m | |
parent | 76d08e5d4bb6287de03519cf43cc298d2d896a7a (diff) |
MacGui: enable and fix more warnings. Review nullability annotations.
Diffstat (limited to 'macosx/HBChapterTitlesController.m')
-rw-r--r-- | macosx/HBChapterTitlesController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBChapterTitlesController.m b/macosx/HBChapterTitlesController.m index ed0bee9bb..88b8cc954 100644 --- a/macosx/HBChapterTitlesController.m +++ b/macosx/HBChapterTitlesController.m @@ -43,7 +43,7 @@ // <one> // <John said, "Hello there."> // <three> -+ (nullable NSArray<NSArray<NSString *> *> *)HB_arrayWithContentsOfCSVURL:(NSURL *)url; ++ (nullable NSArray<NSArray<NSString *> *> *)HB_arrayWithContentsOfCSVURL:(NSURL *)url { NSString *str = [[NSString alloc] initWithContentsOfURL:url encoding:NSUTF8StringEncoding error:NULL]; @@ -157,7 +157,7 @@ @interface HBChapterTitlesController () <NSTableViewDataSource, NSTableViewDelegate> -@property (weak) IBOutlet NSTableView *table; +@property (nonatomic, weak) IBOutlet NSTableView *table; @property (nonatomic, readwrite, strong) NSArray<HBChapter *> *chapterTitles; @end |