Let's talk about making portable libraries with Swift clients. Has anyone made a tool yet to autogen Obj-C wrappers for C++ interfaces?
Conversation
3
1
10
Logic should be common code. Only the parts that *must* be platform specific (UI, HAL, etc.) should be.
3
Replying to
Yeah, agreed. I want to keep my UIKit-interacting layer paper thin. Interacting with UIKit counts w.r.t. SRP.
Replying to
I've worked (pre-) where this wasn't true for our Mac and iOS software. Why!? It's madness!
1
Basically no one considers "interacting with the system framework" a responsibility but I've seen the sausage
1
Show replies
Replying to
Shared model, of course. We do a lot of shared drawing, even, w/ CG between iOS/Mac…
2




