MMKSpannableStringSpan

@interface MMKSpannableStringSpan : NSObject

A span of text in the SpannableString.

Summary

Class methods

+ (nonnull MMKSpannableStringSpan *)spanWithBegin:( NSInteger)begin
                                              end:( NSInteger)end;

Properties

@property (nonatomic, readonly) NSInteger begin;
The index of the beginning symbol of the span

@property (nonatomic, readonly) NSInteger end;
The index of the ending symbol of the span

Class methods

spanWithBegin:end:

+ (nonnull MMKSpannableStringSpan *)spanWithBegin:( NSInteger)begin
                                              end:( NSInteger)end;


Properties

begin

@property (nonatomic, readonly) NSInteger begin;

The index of the beginning symbol of the span.


end

@property (nonatomic, readonly) NSInteger end;

The index of the ending symbol of the span.