lucas clemente
lucas clemente

Reputation: 6389

How to build an "editor" in Cocoa

I am looking for some very general advice on how to implement editing in Cocoa. Not for text, but shapes, pictures, etc. Basically I want to implement objects on a drawing board that the user can e.g. drag around, assign new content, resize, ... Similar to almost any graphical editor like Keynote, Pages, Drawing programs.

I think there is no solution built into Cocoa, and I am not aware of any other implementation (besides CGDrawKit, but that's somehow only for drawing). What would be your advice on how to implement this?

Upvotes: 2

Views: 241

Answers (1)

Jens Ayton
Jens Ayton

Reputation: 14558

Take a look at the Sketch sample code, which is installed in /Developer/Examples/.

Upvotes: 5

Related Questions