Fun with circles!

http://matthewpalmer.net/blog/2014/08/17/draw-circle-core-animation-swift-ios/

summary

to draw->

1 get context

2 set stroke 1)color 2)width 3) fill for context

3 add arc

4) drawpath

(note->drawRect is called when you initwithframe for an UIView object)

suppliment

http://www.knowstack.com/cocoa_drawing/

http://www.ioscreator.com/tutorials/drawing-circles-uitouch-ios8-swift

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s