... | @@ -3,7 +3,9 @@ |
... | @@ -3,7 +3,9 @@ |
|
https://www.tutorialspoint.com/objective_c/index.htm
|
|
https://www.tutorialspoint.com/objective_c/index.htm
|
|
|
|
|
|
## You should do the following:
|
|
## You should do the following:
|
|
You should create an iOS application in Xcode, written in Objective-C. It should contain 2 classes: `Organization` and `Employee`, both of each are subclasses of `NSObject`. `Organization` should have the following properties:
|
|
You should create an iOS application in Xcode, written in Objective-C. It should contain 2 classes: `Organization` and `Employee`, both of each are subclasses of `NSObject`.
|
|
|
|
|
|
|
|
`Organization` should have the following properties:
|
|
|
|
|
|
* Public “name” of type `NSString`.
|
|
* Public “name” of type `NSString`.
|
|
* Private “employees” of type `NSArray<Employee>`.
|
|
* Private “employees” of type `NSArray<Employee>`.
|
... | | ... | |