... | @@ -24,6 +24,7 @@ And the following methods: |
... | @@ -24,6 +24,7 @@ And the following methods: |
|
* Public `initWithFirstName:lastName:salary`: initializer method, which accepts first name, last name and salary as input parameters.
|
|
* 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:
|
|
You should be able to answer the following questions:
|
|
|
|
|
|
1. How could a class be defined in Objective-C?
|
|
1. How could a class be defined in Objective-C?
|
... | | ... | |