public
Description: Random collection of Cocoa classes and categories, most of which have been featured on my blog: http://www.noodlesoft.com/blog
Homepage: http://www.noodlesoft.com/blog
Clone URL: git://github.com/MrNoodle/NoodleKit.git
name age message
directory English.lproj/ Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
directory Examples/ Sun Oct 25 12:52:26 -0700 2009 - Consolidated the new row spanning table view ... [MrNoodle]
file Info.plist Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NSImage-NoodleExtensions.h Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NSImage-NoodleExtensions.m Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NSIndexSet-NoodleExtensions.h Sun Oct 25 12:52:26 -0700 2009 - Consolidated the new row spanning table view ... [MrNoodle]
file NSIndexSet-NoodleExtensions.m Sun Oct 25 12:52:26 -0700 2009 - Consolidated the new row spanning table view ... [MrNoodle]
file NSObject-NoodlePerformWhenIdle.h Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NSObject-NoodlePerformWhenIdle.m Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NSResponder-NoodleModalExtensions.h Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NSResponder-NoodleModalExtensions.m Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NSTableView-NoodleExtensions.h Sun Oct 25 12:52:26 -0700 2009 - Consolidated the new row spanning table view ... [MrNoodle]
file NSTableView-NoodleExtensions.m Sun Oct 25 12:52:26 -0700 2009 - Consolidated the new row spanning table view ... [MrNoodle]
file NSWindow-NoodleEffects.h Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NSWindow-NoodleEffects.m Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NoodleIPhoneTableView.h Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NoodleIPhoneTableView.m Sun Oct 25 12:52:26 -0700 2009 - Consolidated the new row spanning table view ... [MrNoodle]
directory NoodleKit.xcodeproj/ Sun Oct 25 12:52:26 -0700 2009 - Consolidated the new row spanning table view ... [MrNoodle]
file NoodleKit_Prefix.pch Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NoodleLineNumberMarker.h Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NoodleLineNumberMarker.m Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NoodleLineNumberView.h Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NoodleLineNumberView.m Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
file NoodleTableView.h Sun Oct 25 12:52:26 -0700 2009 - Consolidated the new row spanning table view ... [MrNoodle]
file NoodleTableView.m Sun Oct 25 12:52:26 -0700 2009 - Consolidated the new row spanning table view ... [MrNoodle]
file README.md Sun Oct 25 12:52:26 -0700 2009 - Consolidated the new row spanning table view ... [MrNoodle]
file version.plist Tue Sep 29 12:03:01 -0700 2009 - Initial checkin. [MrNoodle]
README.md

NoodleKit

This is a random collection of classes and categories that I am making public. Most of this code has been posted on my blog: http://www.noodlesoft.com/blog

The project is primarily structured to build a framework. There are targets for various examples showing how the different classes are used. Some of the examples also contain a Read Me file so check those out for more details on the specific classes.

This framework is meant to be built/used on 10.5 and later and should support 64-bit.

This code is maintained at http://github.com/MrNoodle/NoodleKit . Please post any issues and requests there.

What nifty stuff is in here?

NSObject-NoodlePerformWhenIdle

NSObject category for calling a method when the user has been idle for the specified amount of time. Useful for putting up non-critical alerts and purging memory caches, among other things.
http://www.noodlesoft.com/blog/2008/01/08/idle-hands/

NSIndexSet-NoodleExtensions

Provides an enumerator to cycle through the indexes in an NSIndexSet. Not featured directly in any blog article but used for the "Row Spanning Columns" feature (see below).

NSResponder-NoodleModalExtensions

NSResponder category providing methods that will dismiss a dialog and return the proper code for whatever button (OK/Cancel) was clicked. Just hook your dialog buttons up to these methods in IB and you're set. Alleviates having to write that glue code every time.
http://www.noodlesoft.com/blog/2008/03/10/modal-glue/

NSImage-NoodleExtensions

NSImage category providing methods to draw NSImages with correct orientation and scaling regardless of the flipped status of the image or the context being drawn into.
http://www.noodlesoft.com/blog/2009/02/02/understanding-flipped-coordinate-systems/

NSWindow-NoodleEffects

Provides a basic zoom effect for NSWindow.
http://www.noodlesoft.com/blog/2007/06/30/animation-in-the-time-of-tiger-part-1/
http://www.noodlesoft.com/blog/2007/09/20/animation-in-the-time-of-tiger-part-3/

NoodleLineNumberView, NoodleLineNumberMarker

Adds line numbers (and corresponding markers) to NSTextView.
http://www.noodlesoft.com/blog/2008/10/05/displaying-line-numbers-with-nstextview/

NSTableView-NoodleExtensions, NoodleTableView, NoodleIPhoneTableView

The NSTableView category and NoodleTableView are a consolidation of the sticky row header tableview and row spanning tableview featured on my blog.

Sticky Row Headers

An NSTableView category that does sticky row headers, like with UITableView on the iPhone. NoodleTableView implements the basic hooks to enable the feature while NoodleIPhoneTableView simulates the look and feel of UITableView. http://www.noodlesoft.com/blog/2009/09/25/sticky-section-headers-in-nstableview/

Row Spanning Columns

Certain columns can be made to allow their cells to span across multiple rows. These spans are determined by contiguous sections of rows with the same object value. You can enable this in NoodleTableView by using NoodleTableColumns for any columns you want to exhibit this behavior. Remember to enable the property on each column or call -setRowSpanningEnabledForCapableColumns: to enable it for all NoodleTableColumns in the tableview. http://www.noodlesoft.com/blog/2009/10/20/yet-another-way-to-mimic-the-artwork-column-in-cocoa/

License

Copyright (c) 2007-2009 Noodlesoft, LLC. All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.