正在加载视频...
视频加载失败
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 条评论

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~

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?

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

🔥🔥🔥 Able to share it?

Documenting everything here:

Hot 🔥

I’m going to try that this weekend!

You lost 93% of people who saw it at xcode part
相关视频
Sensitive content
Gigi drops a new vlog after breaking up with Kai Cenat, saying she got everything she ever wanted and is already looking for her next man 😬 “I have everything I need now. I’m single and ready for something better.”
levi
5,939,424 次观看 • 5 个月前

