- Foundation
- SwiftUI
This project has been conceived as a team assignment and completed exclusively in SwiftUI. The main goal is to build a simple list that displays some predefined posts and allows the user to create new posts with and without attached image.
Data has been passed through the different views by conforming the model to the ObservableObject
protocol and defining the model instance in the view as ObservedObject
. MVVM was the chosen pattern to build and structure the app. Finally the Image picker implementation has been done by creating a Coordinator
class that conformed to UIImagePickerControllerDelegate
and passed the selected image from its delegate.
Those are the most relevant screenshots of the app.