On Oct 5, 2011, at 1:39 PM, Nick wrote:

> I have a task to write a simple vector graphics editor, which has a window, a 
> sheet (which can be bigger than the window), and some objects (triangles, 
> rectangles) to be placed on this sheet (and then, edited, e.g. rotated, 
> stretched) by their borders.

Apple's Sketch+Accessibility sample code would be a good place to start.

     http://developer.apple.com/library/mac/#samplecode/Sketch+Accessibility/

> Is it correct to implement all the objects as views, that are the subviews of 
> the "sheet view"?

No, that would be the wrong approach.

If you study the Sketch sample code it will guide you in the right direction.

--Richard

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to