nicklockwood / Euclid

A Swift library for creating and manipulating 3D geometry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to use with Objective C ?

unnamed666 opened this issue · comments

i installed it with pod to my project but cant figure out how to use it - is it even possible ?

@unnamed666 Euclid isn't designed to be used with Objective-C. What you could do is write a wrapper in Swift that imports Euclid and exports whatever functionality you need as @objc class interfaces that can be called from Objective-C code.

thank you - i'am trying it right now :)

//edit - its working, thank you for great lib, i was strugling for so long with custom geometry creation, this will be great help for me :)