Declared in NSString+JSMessagesView.h

Tasks

Instance Methods

js_numberOfLines

- (NSUInteger)js_numberOfLines
Discussion

Returns the number of lines in the receiver by counting the number of occurences of the newline character, \n.

Return Value

An unsigned integer describing the number of lines in the string.

Declared In

NSString+JSMessagesView.h

js_stringByTrimingWhitespace

- (NSString *)js_stringByTrimingWhitespace
Discussion

Returns a copy of the receiver with all whitespaced removed from the front and back.

Return Value

A copied string with all leading and trailing whitespace removed.

Declared In

NSString+JSMessagesView.h