GDSMSSplitter for iOS

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
Instabug: Understand how your app is doing with real-time contextual insights from your users
Instabug

Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.