Peter Steinberger
Peter Steinberger
We use this in PSPDFKit all the time, works fine.
haven't tested it in a while. what exactly doesn't work, can you elaborate? And which iOS version?
Possible. Haven't had a need for this code in a long time. Feel free to submit a pull request.
There you go. If you update your PR using the selector I'll merge it. It's another option and also interesting.
That needs to be conditionalized for iOS6 dispatch object changes. Feel free to submit a pull request or lower your target to iOS5.
Looks good. Can you make it a pull request?
Ah, you're right. John must have gotten that wrong. characters can be less than bytes used.
Ah, great! It should be reflected in the README, and maybe nonatomic should be default?
Yes, atomic is safer, but also slower - as I understand nonatomic is encouraged, only where thread access is used we should switch to atomic. I do like XRETAIN_ATOMIC and...
There are ways to parse things from the interface builder by reading the undocumented keys from `NSCoder` - we did that in PSTCollectionView as well. It's quite a lot trial...