BSRoundedBox

Several months ago, Matt Gemmell published source code to his RoundedBox class – a subclass of NSBox with a flatter, more stylish look. I like the look and flexibility of this class, so I started using it in Mugshot. In order to make it easier to use, I took the code, added quite a few things, and made it an IBPalette.

The new code is available here: BSRoundedBox 1.1

Here’s some details:

  • I haven’t added or modified any of the main functionality – all the same options and choices should be there.
  • Once you build the project, and before you try to use the palette, you will need to install the framework in your ~/Library/Frameworks folder. I tried changing some settings in the project so that it would install the palette and framework in the appropriate places, but neither got installed. I will fiddle with it and put out an update.
  • After you copy the framework, you should be able to double-click on the palette to load it into InterfaceBuilder.
  • I’m using this in the latest version of Mugshot, but have also made quite a few changes since then. If you run into problems, post them in a comment and I’ll try to troubleshot.
  • I plan to add some features in future versions – primarily, I want it to be collapsible (click on a button to collapse down to the headline, click again to expand to its original size).

Have any comments or suggestions? Post a comment. And remember, if you like it, check out the original here and also check out some of Matt’s other sample code here.

2 Responses to “BSRoundedBox”


  1. 1 Volker Nov 3rd, 2006 at 1:12 pm

    I already have a collabsible version, will try to integrate it into your palette code and send it to you. could take a couple of days so!

    volker

  1. 1 Fancy Windows, &c. « Important Shock Pingback on Nov 20th, 2006 at 12:19 pm

Leave a Reply