michaelhly's blog

logs.blobs.lol/two

Wow. I got Unity running in my Swift app today!

Unity example

This build was running on my iPhone. The XCode simulator will still be unusable though 🙁.

But really, all thanks to David Peicho's example. He also wrote a nice Swift API wrapper around this NativeCallsProtocol interface to help us send messages from our Swift app to our Unity build!

I still wasted time doing stupid things today:

Woohoo! We're making progress! More to come soon!

Hopefully, I will spend less time doing dumb things ...

#bloblogs #ios #swift #unity #xcode