Skip to content

NSString category for translating indices returned in the App.net API to NSRanges.

License

Notifications You must be signed in to change notification settings

berg/ANAPIRangeAdapter

Repository files navigation

ANAPIRangeAdapter

This is a NSString category useful for translating App.net entities into NSRanges, taking into account the relative offsets caused by NSString's internal UTF-16 encoding and the App.net API's use of UTF-32 code points as entity offsets.

This code is public domain, under the same license as SQLite. Please use it if you like.

Authors/Contributors

About

NSString category for translating indices returned in the App.net API to NSRanges.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published