mukyasa / MMPaper

MMPaper [Inspired From Paper by Facebook, Approach to simulate Paper app
396 stars 45 forks source link

Swift version? #3

Open DirkLXX opened 10 years ago

DirkLXX commented 10 years ago

Awesome work! I would love to use it but unfortunately lack the skills to make it work in my Swift project. Would you mind to create a simple swift example that shows how to combine then OjbC parts with Swift. Essentially how to call the MMPaper part via segue from another view.

I tried myself but only to find a big, black view controller with a bunch of small white tiles on it. Latter one where resizable but all the cool stuff was gone:(

DirkLXX commented 10 years ago

Can somebody please help out? Thanks!

mukyasa commented 10 years ago

Can u send me the your project and Exact requirement what you want? Also doing a swift version of this will take time.

DirkLXX commented 10 years ago

Mukyasa, thanks for getting back on this one. I was not asking for a rewrite of the project. I think its easy enough (for a beginner) to add the Obj-C code to a swift project. However, what I found tricky was how to use it. I added all the obj-c code to my swift project, made the entries in the bridging header file and also added the views into my storyboard. How to make it show up as (sub)part of my other views, I could not figure out. That's why I was hoping for an example.

I hope this makes more sense now.

DirkLXX commented 10 years ago

Mukyasa, do you think a small swift demo would be doable? or at least a start