Honors Software Design - iOS Name -
Learn Objective-C in 6 Days Worksheet #2
Answer the following after reading http://mobile.tutsplus.com/tutorials/iphone/learn-objective-c-2
1. According to the author, what is made up of methods and attributes?
2. What is the difference between an instance method and a class method?
3.Using "messages" in your answer, fully explain how you call methods in Objective-C. Compare the notation that is used in Objective-C with the notation and syntax that you would use in Java.
4. What is data encapsulation. Be sure to use "accesser" and "setter" in your answer.
5. What different file extensions are used for implementation and interface files?
6. What is indicated when a method's declaration is preceded by a hyphen ( - )?
7. How is the interface of a class typically separated from the implementation of a class in Objective-C?