One Quickie


Adding a plus button to a navigation bar (UINavigationController->General)
    UIBarButtonItem *addButton  =
        [[UIBarButtonItem alloc]
            initWithBarButtonSystemItem: UIBarButtonSystemItemAdd
            target: self
            action: @selector(addNewSegment)];
    self.navigationItem.rightBarButtonItem = addButton;
    [addButton release];



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com