I've been trying to learn to draw simple shapes in Objective-c (I'm new to the language) and I am having trouble figuring it out. I just want some sample code to explain the barebones basics of drawing simple shapes (rectangles and oval's). I've found some source code from apple which I'm sure would be helpful if I understood the basics but they have so many other things going on at once that I have no idea what is necessary for drawing shapes. Can someone please point me to a simple tutorial for drawing simple shapes using the NSBezierPath class (or using something else if NSBezierPath isn't what I need).