ignore the continuous line breaks just like the input in weChat or weibo.
a picture is better than thousand words:
- download ignoreContinuousBreaks and try out the program example.
- if you find a bug , and can provide steps to reliably reproduce it, open an issue.
- if you have a feature request, open an issue.
- if you want to contribte, submit a pull request.
just drag the ignoreBreaks folder into your project.
- no requirements
just #import "NSString+ignore_continuous_line_breaks.h"
and then call [string ignoreContinuousLineBreaks];
ignoreContinuousBreaks is released under the MIT license. See LICENSE for details.