Re: Problem with subview creation or it in somewhere else
Re: Problem with subview creation or it in somewhere else
- Subject: Re: Problem with subview creation or it in somewhere else
- From: Erik Buck <email@hidden>
- Date: Fri, 2 Jun 2006 11:44:53 -0700 (PDT)
This question is a little different than most newbie questions because it is clear that the poster has completely misunderstood basically everything about drawing in general irrespective of using Cocoa. I am at a loss about how to answer in any way that will benefit the poster without just saying, learn about basic computer graphics, coordinate systems, affine transforms, and then learn about the Cocoa view hierarchy and the way Cocoa implements all of the graphics concepts.
In all seriousness, I have been programming for so long that I can not even imagine someone starting from the idea that they want to rotate some drawing and jumping to the conclusion that they should be dynamically adding a new sub-view to an existing view in order to accomplish that rotation.
It is necessary to know at least the first principals of the programming task you want to undertake before jumping into Cocoa and trying to implement something. This is not particularly a Cocoa question. It is a basic computer graphics question mixed with the need to know how to implement basic computer graphics via the features of Cocoa.
Someone please recommend an introductory computer graphics text book.
For Cocoa specific information, start with http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaDrawingGuide/index.html
This helpful conceptual documentation provided by Apple actually explains a lot on non-Cocoa specific concepts like the Painters Model and coordinate systems.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden