Cocoa explorations on more advanced topics.
A free book for starting with Cocoa using Objective-C
Why sign your code?
Any Cocoa application that uses public key encryption to handle licensing and registration, like my app DateLine, is open to systematic cracks. This has historically been almost unavoidable due to certain features of the Cocoa runtime, like runtime swizzling, and classdumping.
The Potion Store is a fantastic way for Cocoa developers to create their own web stores - after all, it's tailor made for us. Kudos to the Potion Factory for their efforts and for choosing to open source the entire project. You guys totally rock.
In the first post in this series, CodexFab and Cocoa Application Licensing, I discussed some possible licensing schemes for Cocoa apps; and in particular CocoaFob, a recently released project which makes it easy to build secure Potion Store licensing into any Cocoa app. My own derivative project, CodexFab, illustrates an example implementation of the code in CocoaFob.
This post will discuss the other side of the equation: what it takes to get the Potion Store and CocoaFob licensing up and running on your own hardware under Leopard Server. Surprisingly little, actually.
Cocoa application licensing schemes are a contentious issue. Opinions on how, and whether, to protect your application from piracy vary widely; from the open source approach, which simply sidesteps the issue, to sophisticated public key encryption schemes. There are at least four pages on CocoaDev vigorously debating the pros and cons of each approach.
Assuming that you do want to copy protect your Cocoa app, choosing a licensing scheme in 2009 boils down to a small number of choices, as far as I could determine.
While working on feature requests for DateLine recently, I needed to add the ability to run the app Dockless - that is, without a menu bar or Dock icon.
XMRemoteImage is a simple project that demonstrates a way to update an NSImage from a high resolution graphic on the web.
A Cocoa source project using NSAppleScript to access iTunes artwork by track Persistent ID
Some free, creative commons licensed source code.
CocoaLab is a free resource for Cocoa developers. Includes examples, source code and exercises, as well as a complete introductory book, BecomeAnXcoder.