Skip to content

Instantly share code, notes, and snippets.

@jverkoey
Created November 17, 2011 20:36
Show Gist options
  • Save jverkoey/1374438 to your computer and use it in GitHub Desktop.
Save jverkoey/1374438 to your computer and use it in GitHub Desktop.
Modifying Nimbus NIToolbarPhotoViewController title.
- (void)updateTitle {
self.title = [NSString stringWithFormat:@"Custom formatting."];
}
- (void)photoAlbumScrollViewDidChangePages:(NIPhotoAlbumScrollView *)photoAlbumScrollView {
[super photoAlbumScrollViewDidChangePages:photoAlbumScrollView];
[self updateTitle];
}
- (void)photoScrubberViewDidChangeSelection:(NIPhotoScrubberView *)photoScrubberView {
[super photoScrubberViewDidChangeSelection:photoScrubberView];
[self updateTitle];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment