Loading video...

Video Failed to Load

Go Home

I wrote a script that creates a new project for prototyping with everything ready for hot reloading with Cursor! ๐Ÿช„

13,998 views โ€ข 1 year ago โ€ขvia X (Twitter)

8 Comments

Rudrank Riyam's profile picture
Rudrank Riyam1 year ago

It uses XcodeGen to create the folder structure, adds the relevant dependency and linker flags, imports Inject, adds it to the ContentView, opens InjectionIII, & finally opens the directory in Cursor! Then, I use SweetPad to run it on simulator with Injection observing changes~

camsoft2000's profile picture
camsoft20001 year ago

This is interesting though most people will delete boilerplate views like ContentView. What would be amazing would be a Swift Macro that automatically adds it to the view and some Cursor magic to add the macro. Does this script also configure InjectionIll on the project dir?

Rudrank Riyam's profile picture
Rudrank Riyam1 year ago

It adds everything related to Inject! I usually avoid Macro for the compile times, but for a prototype, it does make sense. And a cursor rule file at the directory's root would be amazing!!

Sebastian BO's profile picture
Sebastian BO1 year ago

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ Able to share it?

Rudrank Riyam's profile picture
Rudrank Riyam1 year ago

Documenting everything here:

Timur Gabriel Klimov's profile picture
Timur Gabriel Klimov1 year ago

Hot ๐Ÿ”ฅ

Matt Siatrak | ShipThat.App ๐Ÿš€'s profile picture
Matt Siatrak | ShipThat.App ๐Ÿš€1 year ago

Iโ€™m going to try that this weekend!

Starduster's profile picture
Starduster1 year ago

You lost 93% of people who saw it at xcode part

Related Videos