Change Lottie Animations

First you will need a new Lottie animation. You can visit https://lottiefiles.com/ to download animation you like in a JSON format. Drag & Drop the Json Lottie file from Finder directly in your project -> Lottie folder group. In the example bellow we use a json Lottie file called bluewaves. -> Change it with the…

Custom Json REST API url

If you want to have a custom API address Go to Plugins -> Plugin Editor -> Select plugin to edit: MyCar4Sale -> Select In the editor at line 145 replace rest and api with your own. -> Than Update File to save the changes. Test your new json, and don’t forget to update JSONViewModel.swift

Global Styling Modifiers

If they are global that mean we make the changes in one place and applies everywhere where they are used. To edit a modifier right click on the modifier and select -> Jump to Definition. The view will jump directly to the swift file where is defined. There you can edit and save the file.…

Add/Edit Blog Categories

Data contained in our JSON is being saved in our app’s CoreData in SQLite format. In order to sort our CD entries we have to specify exactly the value of our saved Strings. The value we are interested in is the Name: “Car Tuning”, “Electric Cars”, “News” and “Uncategorised”. Open BlogView.swift and edit this section…

2.3 First Build + Run

First Test Run! At this moment you can test your app in the simulator. To do this you have to select a target device. In case you dont have any simulators, just press Add Simulators (the process is straight forward). Than press on the RUN button on the upper left or Command+R on your keyboard…

2.2 Add Swift Packages Dependencies

This app uses the following Packages: https://github.com/onevcat/Kingfisher.git https://github.com/maxnatchanon/trackable-scroll-view.git https://github.com/dkk/WrappingHStack.git https://github.com/onevcat/Kingfisher.git They should load automatically when you open the project in Xcode. Just in case something went wrong in this article i will show you how to manually add them. To add a package follow the instructions bellow. Navigate to Swift Packages as shown bellow. Here…