April 23
Useful command
Control-Shift-Alt-v for pasting text without formatting.
Control-Shift-Alt-v for pasting text without formatting.
Some notes in the form of questions
2. Give an example of using the CGRectInset method. Give 3 example arguments for it and the output that would be generated. Give an example of input that would result in the output being an empty rectangle.
3. How do we search for an image in the assets folder with a particular name and do something based on the result of that search?
4. What two commands allow a Bez path to be drawn after it has been set up?
5. What counts as custom drawing on a view? What method would be used to manually force a redraw of the custom drawing on a view (Hint: it does not involve calling drawRect)?
6. The method that gets the current drawing context.
7. Describe 2 ways that images can be stored in the model. One way should involve the view being redrawn
8. Give the 3 ways that a gesture recognizer can be added to code.
No comments:
Post a Comment