ar.kalmykov created page: git tutorial authored by Artem Kalmykov's avatar Artem Kalmykov
# Objective-C Basics
https://www.tutorialspoint.com/objective_c/index.htm https://www.tutorialspoint.com/objective_c/index.htm
## 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`.
...@@ -25,7 +28,7 @@ And the following methods: ...@@ -25,7 +28,7 @@ And the following methods:
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?
2. What is a property? 2. What is a property?
... ...
......