Cappuccino Resources
by Christian Kienle (Author, Cocoa developer, Twitterboy )
Example: Paint
Demonstrates how to subclass CPView and how to use CPBezierPath for drawing. In addition to that this example displays a CPColorPanel and lets the user choose a stroke color.
Try and download it.
Example: Drag And Drop
Demonstrates how to subclass CPView and how to respond to keyboard events and how to implement drag and drop. The application creates two instances of the class CharacterView. CharacterView acts as dragging source and as a dragging destination. You can change the character displayed by each CharacterView by typing a character. Then drag one character from one view to another.
Try and download it.
Demonstrates how to subclass CPView and how to use CPBezierPath for drawing. In addition to that this example displays a CPColorPanel and lets the user choose a stroke color.
Try and download it.
Example: Drag And Drop
Demonstrates how to subclass CPView and how to respond to keyboard events and how to implement drag and drop. The application creates two instances of the class CharacterView. CharacterView acts as dragging source and as a dragging destination. You can change the character displayed by each CharacterView by typing a character. Then drag one character from one view to another.
Try and download it.
Follow me
and
send me an email
.