A popular sample Cocoa application rewritten in Nu. Original code by Aaron Hillegass, ported to Nu by Tim Burks.
timburks/nupagepacker
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a translation of Aaron Hillegass' PagePacker example from Objective-C to Nu. It is released under the BSD license, the same license as the original PagePacker. You'll notice that this project contains many fewer files than the original. This is partly because Nu code is more concise. But it also reflects my view that dividing code across multiple files makes it less readable, much like organizing a novel with each character's dialogue in a separate chapter. All but four methods were converted to Nu. Of these four, two or three may be representable in Nu with future improvements. I've never used AppleScript (and don't plan to), so the scripting support in scripting.nu is untested. I've attempted to test everything else, but there may still be problems that I haven't found. Please consider this a work in progress and an attempted proof of concept. It's goal is to demonstrate that Nu can be used to develop significant Cocoa applications. Writing this has helped me make Nu a lot better; perhaps reading it will help others see as many Nu opportunities as I do. Tim Burks Los Altos, CA December 2007
About
A popular sample Cocoa application rewritten in Nu. Original code by Aaron Hillegass, ported to Nu by Tim Burks.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published