GDSMSSplitter for iOS

Download Source

Powered by

The repository contains two Objective-C classes designed to split a string into a sequence of short messages close to the international standard of SMS messaging. The GDSMSSplitter class is responsible for actuall splitting. GDSMSCounterLabel is a UILabel subclass which implements the basic pattern for showing a user the number of SMS-messages potentially sent to recipient and the count of leftover symbols.

You can check GDSMSSplitterDemo project to see how it's used (it's really straightforward).

GDSMSSplitter provides support for GSM 03.38 standard (including basic character set extension table, but excluding national language shift tables). It also supports UTF-16 (UCS-2) encoding standard.

Also available via CocoaPods.

Sponsored with ❤️ by Instabug
Why do mobile-first companies choose Instabug over Crashlytics

Instabug helps you identify and resolve severe crashes quickly. You can retrace in-app events and know exactly which line of code caused the crash along with environment details, network logs, repro steps, and the session profiler. Ask more questions or keep users up-to-date with in-app replies straight from your dashboard. We take data privacy seriously, so no one sees your data but you!