This is a Flarum iOS App Demo developed with SwiftUI and Flarum REST API, aiming to provide a convenient and fast way to view, post, and reply to discussions on Flarum using an iPhone.
*Please note do not use com.flarum or any similar wording that could imply the app is an official product of the Flarum team.
- iOS 16.0
If you want to adapt the app to your own Flarum installation, follow these steps:
- Open the file
Flarum iOS App/LiangJianForum/View/Helper/AppSettings.swift
. - Replace the values of
FlarumUrl
andFlarumName
in the following code snippet with the URL and name of your Flarum installation:
@Published var FlarumUrl = "https://discuss.flarum.org"
@Published var FlarumName = "Flarum"
- Save the file to customize the app for your Flarum installation.
- Running on the Xcode Simulator:
- Simply run the project in Xcode.
- Installing on an iPhone:
- Enable developer mode on your iPhone.
- Configure and sign in with your own Apple ID in Xcode.
- In the "Signing & Capabilities" tab, configure your own Team information and Bundle Identifier.
- Click run to install the app on your iPhone (or iPad).
- Native iOS interface with a clean UI and intuitive user experience
- Convenient and fast browsing, posting, and replying to discussions on Flarum using an iPhone
- Login using username and password, with an option to remember login credentials
- Browse all discussions on Flarum, with pagination support and display of pinned discussions
- View replies to discussions
- Create new discussions with tags and reply to existing discussions
- User profile page accessible by clicking on comments
- Dark mode support for iOS
- Check your latest comments in Notification Center
This project is licensed under the MIT License.
Contributions, issues, and feedback are welcome!