Using Superwall with Cursor
Use our SDK footprint file, along with a custom Cursor User Rule, to use Superwall with AI.
If you’re developing an app using Cursor, you can use our custom Cursor User Rule to speed up your development. You can also prepend some of the examples found on cursorrules.io, or use your current rule, in addition by adding in our following Superwall User Rule after it.
Right now, this is available for iOS and Swift with more SDKs and languages to come.
Cursor user rules setup
To get started:
- Download the User Rule file for iOS here.
- In Cursor, go to Cursor -> Settings… -> Cursor Settings.
- Under User Rules, paste in the text from the User Rule file.
This feature works much better if you remind Cursor that a code sample is related to Superwall. For example:
Remember to check for updates to the User Cursor Rule, as we will edit it when our SDKs change.
Remember, LLMs can be hit or miss with advice — always review the code it suggests! Despite tuning the rules and prompts as best as we can, sometimes you may get inaccurate results.