Mac OS X Software  
  Packaging     Sequoias     Misc.    

List of code and widgets which can prove useful for development.

Command Line Tool

goldin 0.0.6 (Last Update: 01/23/2010)

goldin is targeted as a replacement for /Developer/Tools/SplitForks with the following improvements:

  • It is open source.
  • It does not use deprecated APIs.
  • It does not include some bugs of SplitForks.
  • Accidentally, it's currently faster in some cases.
Xcode 2.3 project that builds a Universal Binary. BSD License. Xcode 3.0 project that builds the 64-bit version.

DownloadGoldin.zip | Goldin_64.zip


emmett 1.0 (Last Update: 03/07/2012)

emmett is a tool with a limited set of features: adding items to the Dock and removing them. It works on Mac OS X v10.5 an later.

Examples:

emmett add /Applications/Dictionary.app

emmett remove /Applications/Dictionary.app

Xcode 3 project that builds a Universal Binary. BSD License. Uses RegexKitLite from John Engelhart (BSD License).

Downloademmett.zip


Cocoa code

JavaScript Editor (05/19/2010)

Project that uses some of the code used in Packages for the JavaScript source code editor.

BSD License. Some of the code is copyrighted Todd Ditchendorf (BSD License too).

DownloadJavaScriptEditor.zip


WBOpenWithMenu (work in progress)

The WBOpenWithMenu class is an utility class to build an "Open With" menu from a file path.

It currently only works on Mac OS X 10.3 and pure Carbon applications are not supported in the version sort.

DownloadWBOpenWithMenu.h | WBOpenWithMenu.m


Cocoa Widgets

ICPresentationWindowView (Last update: 05/02/2010)

The ICPresentationWindowView view is a widget that draws a window frame.

DownloadArchive


WBSearchTextField (Last update: 03/12/2005)

The WBSearchTextField control is a clone of the control used by Mail.app to search Mails. It supports all the feature of the Mail.app control but the heartbeat: method.

The images used to build the background of the control are not in the archive (for potential copyrights reasons). You will need to get them by yourself from the Mail.app package.

DownloadArchive | WBSearchTextField.h | WBSearchTextField.m | Sample project


WBTimeControl 2.1 (Last update: 11/13/2005)

The WBTimeControl in its second incarnation supports bindings and international localization (with huge portions of code contributed by Sean McBride)

The old version is still available below.

DownloadArchive


WBTimeControl (Last update: 10/16/2004)

The WBTimeControl control is a clone of the control used by the Date & Time Preference Pane to set/display the current time. It supports all the feature of the Date & Time control but the direction and setTime:unit:methods.

The NSStepper is optional.

DownloadArchive | WBTimeControl.h | WBTimeControl.m | Sample project


WBDateControl (Last update: 10/23/2005)

The WBDateControl control is the equivalent of the WBTimeControl for Date.

The NSStepper is optional.

DownloadWBDateControl.h | WBDateControl.m |


WBCalendarControl (Last update: 09/18/2004)

The WBCalendarControl control is a clone of the control used by the Date & Time Preference Pane to set/display the current day. It supports all the feature of the Date & Time control but strangely some data members are not used.

The images used to build the background of the control is not in the archive (for potential copyrights reasons). You will need to get it by yourself from the Date & Time Preference Pane at the following path: /System/Library/PreferencePanes/DateAndTime.prefPane/Contents/Resources/DateTime.prefPane/Contents/Resources/CalendarBack.tiff

DownloadArchive | WBCalendarControl.h | WBCalendarControl.m | Sample project


WBIPv4Control (Last update: 09/26/2004)

The WBIPv4Control control is a control which allows to display and enter an IPv4 formatted IP address.

DownloadWBIPv4Control.h | WBIPv4Control.m | Sample project


Legal Information

Unless mentioned otherwise:
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

Redistributions of source code must retain this list of conditions and the following disclaimer.

The names of its contributors may not be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS "AS IS" AND ANY 
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT 
SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 

Site Map
Copyright 2001-2012 Stéphane Sudre. All rights reserved.