A collection of useful classes and categories.
Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CIImage+NSImage
NSBezierPath+Additions
NSColor+SJAdditions
NSImage+SJAdditions
NSTableView+RightClickedIndices
SCNNode+SJAdditions
SJACOReader
SJADNShareController
SJAddressBookAccessor
SJExpandingTextView
SJTextViewAttachmentsController
SJView
SelectorTimer
StatusItem
.gitignore
README.md

README.md

Kit

A collection of Objective-C classes and categories I've created whilst working on various projects. You may find something useful here..

Components

  • CIImage+NSImage
  • NSBezierPath+Additions - Smooth an NSBezierPath, get all points
  • NSColor+SJAdditions - RGB/RGBA string input extensions to NSColor
  • NSImage+SJAdditions - a few additions on NSImage: blending, masking, flipping etc.
  • NSTableView+RightClickedIndices
  • SCNNode+SJAdditions
  • SelectorTimer
  • SJACOReader - read Adobe .aco swatch files and return every color in hex format
  • SJAddressBookAccessor
  • SJADNShareController - Add App.net to the Mountain Lion share menu in your app, or use it standalone to share
  • SJExpandingTextView - a vertically expanding NSTextView, similar to Messages and other chat apps
  • SJTextViewAttachmentsController - get all files/images dragged into an NSTextview
  • SJView - use blocks for drawing, animate background changes, get an image from a view
  • StatusItem - a very simple custom NSStatusItem and view wrapper, allowing for easy subclassing and including delegate methods

Use

Share, make changes, use commercially if you wish. Crediting "Seb Jachec" would be nice, but is not necessary.