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.4 Include your JSON in the app’s Fetch Request
At this point you can now set your json address to the app fetch request service. Open a folder called MVVM and click on JSONViewModel.swift. On line 173 paste the complete address of your listings json. Next open Blog folder and click on JSONBlogModel.swift and paste your Blog json address. That it! Now Run the…
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…
2.1 Install Xcode and open project
In order to open our app, you need to Xcode on an eligible Apple device: MacBook, MacBook Pro, iMac, MacBook Air. This project was created on the following configuration: To download Xcode go to App Store on your Mac and search for Xcode.
1.3 Import our configuration files(optional)
Only if you chose to start fresh (new them install) to make sure we are on the same progress you can use our configuration files for listings types. This will set your fields in the correct way. Browse the downloaded folder from your purchase and Import it to Configuration tab of each corespondent listing type.…
1.2 Install our custom Plugin
Navigate to: Dashboard -> Plugins -> Add New -> Chose File 2. Next browse the downloaded folder of your purchase and chose MyHouse4Sale_Plugin.zip 3. After the process finishes activate the plugin. 4. Test your plugin by visiting in a web browser this addresses 4.1 For listings: http://yourwebsite.com/wp-json/rest/api 4.1 For blog posts: http://yourwebsite.com/wp-json/rest/api/blog 5. For testing…
1.1 Install MyListing
1.1.1 New to MyListing? Info Note! MYLISTING Theme is not included in our product. We don’t have any affiliate contract or any other benefits. In order to continue with the installation precess of our apps you have to be an owner of MyListing theme – MyListing Theme Your best choice to build a directory. MyListing…