This repo started out as a summary of all the Mastodon iOS apps I've found (see also the Awesome Mastodon list), but now it's also the issue tracker for my fediverse app in progress (available on Testflight) and a Swift package that currently comprises the middle layer between the UI and a fork of TootSDK.
While the development of both packages is oriented toward the app, the idea is to keep the TootSDK fork generally useful while the Fedicat package is somewhat app-specific, although it is an example how you can maintain session state, handle multiple sessions, and deal with multiple platforms. Feel free to use/fork/copy, but development is active so don't expect stability.
The forked and non-forked Swift packages used by Fedicat (the app) directly and indrectly includes AlertToast, DiasporaNodeInfo, EmojiText, Fedicat, HTML2Markdown, ImagePickerView, Nuke, SwiftCollections, SwiftKeychainWrapper, SwiftNIO, SwiftSoup, SwiftUI-Flow, SwiftUIKit, SwiftURL, SwiftSys, TootSDK.
The app icon is from my attempt at handcoding an SVG icon library, fediverse icons are from Arcticons under the Creative Commons CC-BY-SA 4.0 license, profile field icons are from Simple Icons, and all other icons are from Apple's SF Symbols. The technicat logo was designed by Dakota Snow.
Try to follow the Swift API Design Guidelines
Formatted and checked with swift-format.