oleksii-demedetskyi / Parus

Parus is simple chain style auto-layout helper for objective-c.
MIT License
106 stars 4 forks source link

Library doesn't work in Swift #39

Open xNekOIx opened 10 years ago

xNekOIx commented 10 years ago

Halp! App doesn't appear to work in Swift code.

xNekOIx commented 10 years ago

@DAlOG @AndreyMoskvin

Guys, please, have a look at how xcode and swift are recognise our C functions

screen shot 2014-06-19 at 1 05 24 am

screen shot 2014-06-19 at 1 27 45 am

And also I haven't found a way to cast return value to an object confirming protocol :(

let constr = LeftOf(view!) as _PVLocationRelationSelect didn't work for me

xNekOIx commented 10 years ago

@DAlOG @AndreyMoskvin What do you think of finalising #27 and iOS8 features in objc. Move this to side objc branch and freeze objc version development. This way it will work fine for iOS8.

After that we can start develop Autolayout DSL for Swift from scratch as master.

oleksii-demedetskyi commented 10 years ago

I think we have what to do even without iOS 8 and swift. We can finish categories, and other polish targeted 1.5 first. This is my point of view.