Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

I wrote a script that creates a new project for prototyping with everything ready for hot reloading with Cursor! 🪄

13,998 Aufrufe • vor 2 Jahren •via X (Twitter)

8 Kommentare

Profilbild von Rudrank Riyam
Rudrank Riyamvor 2 Jahren

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~

Profilbild von camsoft2000
camsoft2000vor 2 Jahren

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?

Profilbild von Rudrank Riyam
Rudrank Riyamvor 2 Jahren

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!!

Profilbild von Sebastian BO
Sebastian BOvor 2 Jahren

🔥🔥🔥 Able to share it?

Profilbild von Rudrank Riyam
Rudrank Riyamvor 2 Jahren

Documenting everything here:

Profilbild von Timur Gabriel Klimov
Timur Gabriel Klimovvor 2 Jahren

Hot 🔥

Profilbild von Matt Siatrak | ShipThat.App 🚀
Matt Siatrak | ShipThat.App 🚀vor 2 Jahren

I’m going to try that this weekend!

Profilbild von Starduster
Stardustervor 2 Jahren

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

Ähnliche Videos