LRFilterBar

LRFilterBar - Replicate the filter bar that is found in some of the Apple apps, such as iTunes and Mail
Download

LRFilterBar Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Logan Rockmore
  • Publisher web site:
  • http://www.loganrockmore.com/
  • Operating Systems:
  • Mac OS X or later
  • File Size:
  • 114 KB

LRFilterBar Tags


LRFilterBar Description

LRFilterBar - Replicate the filter bar that is found in some of the Apple apps, such as iTunes and Mail LRFilterBar is a bit of Cocoa source code designed to replicate the filter bar that is found in some of the Apple apps, such as iTunes and Mail. Since the toolbar uses NSRecessedBezel (which is only available after Mac OS 10.4 Tiger), there is a built in backup system which displays a toolbar for folks with 10.3 Panther or earlier. The code is open source and available for anyone to use and edit. If you make any improvements or decide to use it in your application, you should let the developer know.Here are some key functions included in "LRFilterBar":· (void)addItemsWithTitles:(NSArray *)array withSelector:(SEL)selector withTarget:(id)target; called to initialize your toolbar, with selector of form -(IBAction)buttonClicked:(id)sender and sender of self dividers can be added to segments by adding a button with title @"DIVIDER" · (void)removeAllItems called to remove all buttons and set all variable back to default, for starting over · (NSString *)getSelectedTitleInSegment:(int)seg; called to get the selected button in a specific segment · (int)getSelectedIndexInSegment:(int)seg; called to get the selected index in a specific segment · (void)selectTitle:(NSString *)title inSegment:(int)seg; called to select a certain title in a specific segment · (void)selectIndex:(int)index inSegment:(int)seg; called to select a certain index in a specific segment · (void)setBlueBackground called to set the background color to the same color blue as in Mail · (void)setGrayBackground called to set the background color to the same color gray as in iTunes · (void)setRegularFontWeight called to set the font weight to the regular system font weight · (void)setBoldFontWeight called to set the font weight to the bold system font weight Requirements:· XCode 2.3


LRFilterBar Related Software