-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CFURL and CFAttributedString patches for TextEdit #6
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work — nitpicking as promised 😀
The only thing blocking this PR is the discussion regarding whether the symbols from LaunchServices should be loaded and unloaded for each function call or loaded once statically, and whether that loading should have global or local scope. I'd like to examine what Apple does, however I do not have access to a Mac and am not sure how to do so. I think I've handled everything except for squashing the commits(I'm waiting to do this until I verify the code is correct) |
38bd89e
to
6107bdb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see anything wrong with this anymore, other than minor stylistic nitpicks that are, at this point, not worth obsessing over. So given that, and that Ariel has approved the change as well, let's go 🚀
Adds Type Identification to CFURl(and by extension NSURL) using the LaunchServices
UTTypeCreatePreferredIdentifierForTag(...)
API.