baf853f46e
* Allow forced translation with DeepL Translation with DeepL can now be forced either per post or on the system level. Signed-off-by: Paul Schuetz <pa.schuetz@web.de> * Require the use of a private API key A private API key of the user is now required to allow "always translate via DeepL". Signed-off-by: Paul Schuetz <pa.schuetz@web.de> * Persist a stored API key An API key is stored even if useOnlyDeepL is disabled. If the API key is empty, the setting is still disabled. Signed-off-by: Paul Schuetz <pa.schuetz@web.de> * Localize the texts Signed-off-by: Paul Schuetz <pa.schuetz@web.de> * Save API key while writing The API key is now saved, even if the app is closed before leaving the translation settings view. Signed-off-by: Paul Schuetz <pa.schuetz@web.de> * Fix build * Fix theme * Transition to KeychainSwift, clean up KeychainHelper is replaced with the already-used KeychainSwift package, the functions are cleaned up so that the process is easier to understand. The deactivateToggleIfNoKey function doesn't change the behavior of the buttons or context menus in the timeline, only demonstrates the necessity of an API key to the user. Consequently, it's only called when the settings view is shown. Signed-off-by: Paul Schuetz <pa.schuetz@web.de> * Swiftformat + fixes --------- Signed-off-by: Paul Schuetz <pa.schuetz@web.de> Co-authored-by: Thomas Ricouard <ricouard77@gmail.com> |
||
---|---|---|
.github | ||
ci_scripts | ||
IceCubesActionExtension | ||
IceCubesApp | ||
IceCubesApp.xcodeproj | ||
IceCubesNotifications | ||
IceCubesShareExtension | ||
Images | ||
Packages | ||
.gitignore | ||
.swiftformat | ||
IceCubesApp-release.xcconfig | ||
IceCubesApp.xcconfig.template | ||
LICENSE | ||
PRIVACY.MD | ||
README.md | ||
TERMS.MD |
IceCubesApp
IceCubesApp is an open source application for accessing the decentralized social network Mastodon! It's built entirely in SwiftUI, making it fast, lightweight, and easy to use.
You can connect to any Mastodon instance and browse your timeline, interact with other users, and post updates and media.
The project is split into different Swift Packages to make it easier to manage and maintain the codebase. Each package is focused on a specific aspect of the application, such as the UI, network communication, or data models. This modular approach allows for easier collaboration and ensures that the code is organized and easy to understand.
It's a great starting point for learning SwiftUI. The app covers many of the basic concepts of SwiftUI, such as building layouts, working with data, and handling user interaction. By exploring the code, you can gain a solid understanding of how to use SwiftUI in your daily life. Plus, the open source nature of IceCubesApp means that you can see how real-world applications are built and get a sense of best practices for using SwiftUI.
The architecture is straightforward MVVM for most parts, no redux on this one ;)
Please note that IceCubesApp is currently in an early stage of development and as such, there are many features that are still missing. While the app is functional and can be used to browse and interact with Mastodon, there are still many features that are planned for the future.
Thanks!
Building the project
To build the project, you need to clone the repo and create a copy of the included .xcconfig
file to create your config before you can compile the project. Otherwise, you will get an error.
Here are the steps:
- Clone the repo
- In the same folder that contains the
IceCubesApp.xcconfig.template
, run this command:
cp IceCubesApp.xcconfig.template IceCubesApp.xcconfig
- Fill in the
DEVELOPMENT_TEAM
andBUNDLE_ID_PREFIX
values. The first should have your Apple Team ID (which you can find by logging into the Apple Developer Portal). The latter is your domain in reverse notation or whatever you use as the prefix for your projects. - Save your changes, and then you should be able to compile the project without any issues.