Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)setDetailItem:(id)newDetailItem {
- if (detailItem != newDetailItem) {
- [detailItem release];
- detailItem = [newDetailItem retain];
- // Update the view.
- navigationBar.topItem.title = [detailItem description];
- }
- if (popoverController != nil) {
- [popoverController dismissPopoverAnimated:YES];
- }
- }
Add Comment
Please, Sign In to add comment