22 lines
608 B
Objective-C
22 lines
608 B
Objective-C
//
|
|
// NSObject+MPStringTest.h
|
|
// MathPad
|
|
//
|
|
// Created by Kim Wittenburg on 20.04.14.
|
|
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface NSObject (MPStringTest)
|
|
|
|
/*!
|
|
@method isString
|
|
@brief Returns wether the receiver is a string object.
|
|
@discussion A string object is an instance of the @c NSString class or any of its subclasses (for example @c NSMutableString). For an @c NSAttributedString this method returns @c NO.
|
|
@return @c YES if the receiver is an instance of @c NSString or a subclass, @c NO otherwise.
|
|
*/
|
|
- (BOOL)isString;
|
|
|
|
@end
|