... | ... | @@ -23,10 +23,7 @@ Employee should have the following properties: |
|
|
And the following methods:
|
|
|
* Public `initWithFirstName:lastName:salary`: initializer method, which accepts first name, last name and salary as input parameters.
|
|
|
|
|
|
Application should create one organization and multiple employees, which are added to the organization. Than all of the methods should be demonstrated. Everything should be logged to `NSLog`.
|
|
|
|
|
|
|
|
|
|
|
|
Application should create one organization and multiple employees, which are added to the organization. Than all of the methods should be demonstrated. Everything should be logged to `NSLog`.
|
|
|
You should be able to answer the following questions:
|
|
|
|
|
|
1. How could a class be defined in Objective-C?
|
... | ... | |