Open bitwolaiye opened 11 years ago
:+1: should be merged to support 5.0
Yay @bitwolaiye @jstart — thank you all!
I’ll take a look and merge.
Took a look. I have several concerns and wish to discuss with you:
I think — initially — we can do some typedef-fing for every symbol around UICollectionView
and then run this logic at runtime:
abort()
.It appears that PSTCreateUICollectionViewClasses()
does roughly the same thing. I’ll greatly appreciate if you can try this path — run RAPageViewController
unmodified, compile with iOS 6.0 SDK with distribution target of iOS 5.0+ to steal all the constants at compile time, and invoke PSTCreateUICollectionViewClasses()
at run time.
Let me know how it goes.
You are right. Thank you.I will try later
Ideally we do not have to change anything in RAPageViewController, but it seems that UIKit compatibility in PSTCollectionView is done by forcing use of special classes from the calling site.
I think it’s because otherwise classes will just not be linked correctly if they are not available. (note: fuzzy memory, I can be dead wrong.)
We might have to implement our own mechanism like that and special-code the sniffing in. Can’t have developers who use RAPageViewController to just fork and patch.
On Apr 14, 2013, at 10:38 PM, bitwolaiye notifications@github.com wrote:
You are right. Thank you.I will try later
Reply to this email directly or view it on GitHub: https://github.com/evadne/RAPageViewController/issues/5#issuecomment-16351108
I merge this project with PSTCollectionView (https://github.com/steipete/PSTCollectionView ) code in my repo https://github.com/bitwolaiye/RAPageViewController thanks to evadne.