An iOS app for Mastodon, Pleroma, and more.
https://vaccor.space/tusker
Shadowfacts
244659c262
If a status in a conversation view controller creates a work item to update the timestamp in 1 minute, but the view controller is deinit'd before that time elapses, the mastodonController instance will be nil, resulting in a crash. The DispatchWorkItems's are cancelled by the respective cell deinit methods. But if the work item has already begun, cancelling it has no effect, potentially leading to a crash in the conditions described above are true. Using a weak reference to self fixes this. Additionally, don't unnecessarily recreate the work items every time. They don't capture any local variables, only self, so nothing changes. |
||
---|---|---|
Ambassador@4fe264af51 | ||
BlankSlate.xcappdata | ||
Cache@8c42c575cf | ||
Documentation | ||
Embassy@189436100c | ||
Gifu@ed572f53ce | ||
Pachyderm | ||
PachydermTests | ||
SwiftSoup@f445c9067d | ||
Tusker | ||
Tusker.xcodeproj | ||
Tusker.xcworkspace | ||
TuskerTests | ||
TuskerUITests | ||
.gitignore | ||
.gitmodules | ||
README.md |
README.md
Tusker
Tusker is a WIP iOS app for Mastodon and Pleroma.
Installing for Development
Xcode 11 is required, macOS Mojave or later should work (only macOS Catalina is regularly tested).
- Clone the project:
git clone https://git.shadowfacts.net/shadowfacts/Tusker.git
- Change directory into the project:
cd Tusker
- Clone the submodules:
git submodule init && git submodule update
- Open
Tusker.xcworkspace
in Xcode. - Change the code signing identity to your own.
- Change the bundle identifier to something unique.
- Select a target in the Tusker scheme and build & run.