Added Helper Categories
Added Documentation
This commit is contained in:
21
MathPad/NSTextStorage+MPSetContents.h
Normal file
21
MathPad/NSTextStorage+MPSetContents.h
Normal file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// NSTextStorage+MPSetContents.h
|
||||
// MathPad
|
||||
//
|
||||
// Created by Kim Wittenburg on 21.04.14.
|
||||
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface NSTextStorage (MPSetContents)
|
||||
|
||||
/*!
|
||||
@method setString:
|
||||
@brief Replaces the contents of the receiver with @c aString.
|
||||
@discussion This method sends the receiver a @c replaceCharactersInRange:withString: with a range including all characters of the receiver and @c aString. See @c replaceCharactersInRange:withString: for details.
|
||||
@param aString A string specifying the characters to replace the receiver's current contents.
|
||||
*/
|
||||
- (void)setString:(NSString *)aString;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user