On Mon, 06 Jun 2011 14:31:28 -0700, Development <developm...@fornextsoft.com> said: >According to like a million examples... If I place the follow bit of code in a >view's drawRect: method I should get a line from pointA to pointB however I >get nothing.
What I would suggest you do is start with code that *does* work and then modify it gradually so that it does what you want. When it breaks, that's when you broke it. :) My book's Drawing chapter can be studied here: http://www.apeth.com/iOSBook/ch15.html And even better, the example projects themselves can now be downloaded here: https://github.com/mattneub/Programming-iOS-4-Book-Examples The point is that this way you can start with an *entire project* that works. When you copy and paste code into your own project, all kinds of conditions can be incorrect, but when you have an entire project that embodies the example code and that the author is telling you works right out of the box (just build and run and look at the result) you have a firm starting-place from which to experiment. m. -- matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/> A fool + a tool + an autorelease pool = cool! Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook_______________________________________________ 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