NSCoding #728

merged 2 commits into from Feb 20, 2014


None yet
2 participants

bismark commented Feb 20, 2014

This adds NSCoding required methods to some of the classes embedded in NSAttributedStrings by the library. NSCoding may still fail on some attributed strings; in particular, the CTRunDelegateRef used for attachment is not NSCoding compatible. Nevertheless, it get things one step closer.

bismark added some commits Feb 20, 2014

@bismark bismark NSCoding for DTTextBlock and DTCSSListStyle
Includes unit tests and some compatibility methods for NSCoder
@bismark bismark Adds NSCoding for DTTextAttachment
Unit tests still need to be written

odrobnik merged commit d4f17b0 into Cocoanetics:develop Feb 20, 2014

1 check passed

default The Travis CI build passed

odrobnik commented Feb 20, 2014

Awesome work! More unit tests would be great. Is the encoding compatible between Mac and iOS?

bismark deleted the thusfresh:nscoding branch Feb 20, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment