Test your basic knowledge |

iOS 5 App Development 2

Subjects : it-skills, apple
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. What about the view talking to the controller?


2. Talk about BOOL variables.






3. What if I want to put a scalar into an NSArray or NSSet?






4. Talk about NSString






5. ________ implements the getter and setter. But we can always__________






6. How to access the controller's top view?






7. Use ______ to send debugging messages to the console. Use _____ for any object - which should return an string. Can also use ______.






8. What is used in lieu of pixels? And why?






9. You can send a message to a...






10. All classes should have a __________________ to be called by subclasses.






11. Where do I initialize properties?






12. The basic steps in custom drawing.






13. Why are properties good?






14. Does a view 'own' the data it displays?






15. How is ARC done?






16. What to do in Xcode for short documentation? For full documentation?






17. A _______ is how a view notifies the controller of something - for example - a button press.






18. What is the makeup of a CGPoint?






19. How to force a redraw of a custom area?






20. What is a reason to write our own setter?






21. Some controllers have ____________ as their views.






22. What about the model and the view talking to one another?






23. Show a private interface section.






24. Instead of 'include' statements - in Objective-C we use _______ which does ________






25. How to tell whether an object implements a particular method? (A line of code)






26. ________ is the .h file and __________ is the .m file.






27. What do I use for an ordered collection of objects? And is it mutable?


28. How to create a UIView in code?






29. Can the controller talking to the view?






30. ______ is a pointer to any object.






31. When is it OK to call drawRect: directly?






32. How to instantiate an object?






33. If a method starts with a dash - it's a ___________. If it starts with a plus sign - it's a ______________.






34. A property is just the combination of _______.






35. Is it always bad to send messages to id?


36. How to add subviews in code? How to remove them?






37. Is NSArray mutable?






38. How to do enumeration with NSArray - NSDictionary - etc?


39. How can I save user information between launches of my app?






40. How to tell if an object is of a particular class? (Write a line of code)






41. What is the name of a property in the controller that it uses to talk to views?






42. The view is...


43. When happens when you send a message to nil?






44. What is an example of a reason to write a getter?






45. Instance methods start with a ______ and class methods start with a ______.






46. How many superviews does a view have? How many subviews?






47. The controller is always a subclass of...?






48. There is no difference between _____ and _______ at runtime.






49. Objects in an array: are the pointed to strongly or weakly?






50. In a nutshell: how to do custom drawing?