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. The decision on what method to call is made when?






2. How is ARC done?






3. What about the view talking to the controller?


4. Are local pointers to objects strong or weak? So what happens at the end of the routine?






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






6. What is at the top of the view hierarchy?






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






8. In the initializer methods of objects I create - add what line of code? Why?






9. Remember that it's cool to...






10. What do I use for a bag of bits?






11. What is the makeup of a CGPoint?






12. What is the bounds property of a UIView?






13. Show a private interface section.






14. Class methods are used for ___________ and the call starts with ____________.






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






16. What does a view (UIView) represent?






17. What about public/private in Objective-C?


18. The basic steps in custom drawing.






19. How can I find out the class of any object? Give a line of code.






20. Why are properties good?






21. List the iOS hierarchy from top to bottom.






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






23. Can the controller talking to the view?






24. What is the center property of a UIView?


25. How to see all actions - outlets - incoming/outgoing segues on a view?






26. Calling a method on id works just fine because....?






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






28. How about the model talking to the controller?


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


30. How to instantiate an object?






31. What does 'weak' mean?


32. What is the base class for most objects in the iOS SDK?






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






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






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


36. What about controller talking to the model?






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






38. What is the fundamental design pattern of iOS development?






39. In synthesize: @synthesize foo = _foo; The __foo_ is the ____________ or also known as the ___________________.


40. What is in the model?






41. What do I use for an unordered collection - e.g. test for membership? And is it mutable?


42. You can send a message to a...






43. Is NSString mutable or not?






44. How to create a UIView in code?






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






46. What do I use for a hash table/associative array? And is it mutable?


47. Is NSArray mutable?






48. What is static typing? Why is it good?


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






50. The single-view template in Xcode does not...