Fri, May 01, 2009Cocoa Drawing Example

I haven't had much time lately to write any good articles, but I have been working with Mike Rundle (@mike9r) on some cocoa draw. Rounding the corners of a custom view and of a picture. I have attached the source code to this article that does just that.


In the zip file there is a standard project with Bubble.m and Bubble.h also my picture from twitter. You should be able to run the project to see just what it looks like. If using this as an example, please make sure you pay attention to clipping ( [framePath addClip] ) because it impacts the layout and how things are displayed more then I realized.


I apologize for it being just source code, and hope to write something more formal at a later date. Also if you have any suggestions, just shoot me a tweet or email me at wess(at)wattz(dot)net.

Thanks,
Wess (@wattzilla)


cocoaDrawing.zip