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`.
* Private “employees” of type `NSArray<Employee>`.
...
...
@@ -17,7 +17,7 @@ And the following methods:
* Public `employeesWithSalary:` method, which accepts one argument of type int - salary - and returns all employees with given salary as an array.
Employee should have the following properties:
`Employee` should have the following properties:
* Private “firstName” and “lastName”, which are of type `NSString`.