-
-
Save qnoid/57c50a629a984209c6b5 to your computer and use it in GitHub Desktop.
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
@protocol VSTimelineViewController | |
+(instancetype)newTimelineViewControllerWithNotes | |
{ | |
VSTimelineViewController *timelineViewController = [[VSTimelineViewController alloc] init] | |
timelineViewController = @"Timeline"; | |
timelineViewController.tag = // | |
timelineViewController.notesFetcher = // | |
timelineViewController.canReorderNotes = // | |
timelineViewController.canCreateNewNotes = // | |
timelineViewController.searchesArchivedNotesOnly = // | |
timelineViewController.noNotesImageName = // | |
} | |
+(instancetype)newTimelineViewControllerWithTag:(VSTag *tag) | |
{ | |
VSTimelineViewController *timelineViewController = [[VSTimelineViewController alloc] init] | |
timelineViewController = @"Notes for tag"; | |
timelineViewController.tag = tag | |
timelineViewController.notesFetcher = // | |
timelineViewController.canReorderNotes = // | |
timelineViewController.canCreateNewNotes = // | |
timelineViewController.searchesArchivedNotesOnly = // | |
timelineViewController.noNotesImageName = // | |
} | |
+(instancetype)newTimelineViewControllerWithArchiveNotes | |
{ | |
VSTimelineViewController *timelineViewController = [[VSTimelineViewController alloc] init] | |
timelineViewController = @"Archive notes"; | |
timelineViewController.tag = // | |
timelineViewController.notesFetcher = // | |
timelineViewController.canReorderNotes = // | |
timelineViewController.canCreateNewNotes = // | |
timelineViewController.searchesArchivedNotesOnly = // | |
timelineViewController.noNotesImageName = // | |
} | |
@end |
@implementation
instead of
@protocol
?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
May be you missed ?
timelineViewController.title = @"Timeline";
instead of
timelineViewController = @"Timeline";