... | @@ -27,7 +27,7 @@ And the following methods: |
... | @@ -27,7 +27,7 @@ And the following methods: |
|
* Public `employeeWithLowestSalary` method, which returns one employee with the lowest salary in the organization.
|
|
* Public `employeeWithLowestSalary` method, which returns one employee with the lowest salary in the organization.
|
|
* Public `employeesWithSalary:tolerance:` method, which accepts two arguments of type int - salary and tolerance - and returns all employees with given salary +- tolerance as an array.
|
|
* Public `employeesWithSalary:tolerance:` method, which accepts two arguments of type int - salary and tolerance - and returns all employees with given salary +- tolerance as an array.
|
|
|
|
|
|
Application should create one organization and multiple employees, which are added to the organization. Than all of the methods should be demonstrated in AppDelegate's applicationDidFinishLaunching method. 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 in AppDelegate's `applicationDidFinishLaunching` method. Everything should be logged to `NSLog`.
|
|
|
|
|
|
## You should be able to answer the following questions:
|
|
## You should be able to answer the following questions:
|
|
|
|
|
... | | ... | |