Creating a post

We are going to use an external library to handle the complex process of rendering all the user's media, picking an image, and applying a filter for us. The name of the library is YPImagePicker. This is an open source library that implements an Instagram-like photo and video picker in Swift. Instead of spending too much time in this book developing such a component, we are going to use one off the shelf and focus on implementing the rest of the application. Add the library to the Podfile, by inserting the pod 'YPImagePicker' line to the file. Then install the new pod like we have done before.

If you are interested in how to implement such a picker, you can take a look at the YPImagePicker source code here:  https://github.com/Yummypets/YPImagePicker/tree/master/Source ...

Get Learn Swift by Building Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.