正在加载视频...

视频加载失败

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

13,998 次观看 • 1 年前 •via X (Twitter)

8 条评论

Rudrank Riyam 的头像
Rudrank Riyam1 年前

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 的头像
camsoft20001 年前

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 的头像
Rudrank Riyam1 年前

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 的头像
Sebastian BO1 年前

🔥🔥🔥 Able to share it?

Rudrank Riyam 的头像
Rudrank Riyam1 年前

Documenting everything here:

Timur Gabriel Klimov 的头像
Timur Gabriel Klimov1 年前

Hot 🔥

Matt Siatrak | ShipThat.App 🚀 的头像
Matt Siatrak | ShipThat.App 🚀1 年前

I’m going to try that this weekend!

Starduster 的头像
Starduster1 年前

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

相关视频