Image:CocoaNav icon.png

PARMANOIR

Introducing CocoaNav, a Cocoa Class Browser

CocoaNav is a project I've built to teach myself Cocoa. It parses frameworks in /System and displays them with Core Animation. And it's open source !

Download CocoaNav

Source

If some of you are motivated to help, leave a comment. The app is stable but the parsing sucks and does not understand C functions, defines, or structs — only Objective C classes. CocoaNav can parse your projects and display their classes in the Cocoa hierarchy (eg your NSView subclasses will shop up as descendant of NSView in the tree), but there is no refresh when you're editing your files. Apparently FSEvents can notify the file changes, now to handle them … Also only .h files are parsed, so any method defined in .m files won't show up.

Can CocoaNav be used to visually check things like Demeter's Law ? Or to graph which functions are called by whom how many times ? This would make a depth graph of function usage, if it's too messy this might be time to refactor ! I've never seen a way to visually glimpse the code flow of a project, that would be pretty cool if we could do that visually. With Core Animation, of course :)

Marc Driftmeyer
2008 05 22

Add a minimum operating system requirements description.

Patrick Geiller
2008 05 22

Indeed, I forgot that. Fixed, thanks !

You'll need Mac OS X 10.5.2+.

2008 07 25Where in build phases is that file ?
2008 07 192Imagine clickable error messages
2008 07 18Succulent Stormhoek
2008 07 173Loving the for
2008 07 12(Parmanoir) Feed now validates
2008 07 108Telling classes from instances
2008 07 08Comma Trick
2008 07 06Using libffi
2008 07 04BridgeSupport's type and type64
2008 07 042Clickable Disabled MenuItems
2008 07 026Less bugs through compiler optimizations
2008 06 251CocoaNav JS, a light CocoaNav for Safari
2008 06 232NSWindow goodies : bottomCornerRounded, usesLightBottomGradient
2008 06 222Inspecting NSUndoManager's undo stack
2008 06 16Cocoa Regular Expressions via JavascriptCore
2008 06 15Crossing the WebKit bridge
2008 06 08Double and Triple Click
2008 06 05Photoshop-like compositing with Core Animation
2008 06 052One way binding to NSSlider
2008 05 30Threaded Core Animation, Part Deux
Image:rss.png
Image:rss.png

Powered by MediaWiki

Hi ! I'm learning Cocoa to (hopefully !) become an indie developer.

I've written software all my professional life, in C++, PHP, Javascript. I've designed websites and web interfaces. My last venture went into flames as clients were happy but didn't like paying very much.

I've had little luck in the B2B world, I'm hoping for a better future writing Mac applications.

Planet Cocoa