|
|
|
# CocoaPods
|
|
|
|
|
|
|
|
https://cocoapods.org
|
|
|
|
|
|
|
|
https://github.com/EmilYo/HSDatePickerViewController
|
|
|
|
|
|
|
|
https://www.cocoacontrols.com
|
|
|
|
|
|
|
|
|
|
|
|
## You should do the following:
|
|
|
|
1. Read about Cocoa pods and understand what that is.
|
|
|
|
2. Create a branch from develop called feature/cocoa_pods
|
|
|
|
3. Install cocoa pods on your Mac.
|
|
|
|
4. Integrate cocoa pods with your project.
|
|
|
|
5. Include 1 third-party library in podfile - `HSDatePickerViewController`. Link to it is provided.
|
|
|
|
6. Modify the existing application, so Employee entity contains dateOfBirth field of Date type. You should add corresponding field to detail and create view controllers. In create controller `HSDatePickerViewController` should be used to pick a date.
|
|
|
|
7. Create a pull request from your branch to develop.
|
|
|
|
|
|
|
|
|
|
|
|
## You should be able to answer the following questions:
|
|
|
|
* What is a third-party library?
|
|
|
|
* What are cocoa pods? What are they used for?
|
|
|
|
* Are there any other options to link a third-party library with a project?
|
|
|
|
* If you update a podfile, how can you apply the changes? |