Skip to content
    Back to all Bounties

    Earn 6,750 ($67.50)

    Time Remainingdue 2 years ago
    Completed

    ExtensionKit for iOS SwiftUI project (allow 3rd party devs to customize my app)

    JordanHowlett
    JordanHowlett
    Posted 2 years ago
    This Bounty has been completed!

    Bounty Description

    Problem Description

    Apple has something called ExtensionKit (https://developer.apple.com/documentation/extensionkit) that theoretically allows people to write extensions (UI and without UI) that target an app to make changes to it. These are normally written to make changes to Apples own apps like writing ad blockers for Safari.

    However, I want to make it so people can write extensions that target my own app.

    This will be a very simple iOS app just showing off that its possible. I cannot find ANY sample code from Apple or anyone else doing this. I have attached a Mac app below that shows it working with a Mac app, but i'd love something like that that targets iOS.

    Acceptance Criteria

    • iOS swiftui app
    • 2 separate extensions. 1 that changes the UI in the above SwiftUI app (can be a simple change). And one that just extends some functionality without changing the UI

    Technical Details

    There is a tutorial for how to do this on mac: https://rambo.codes/posts/2022-06-27-creating-custom-extension-points-with-extensionkit.

    You can even see the Code here: https://github.com/insidegui/TextTransformer

    If you copied this essentially and had it work for iOS that would be great, or just use it for inspiration.