Archived
1
This repository has been archived on 2022-08-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
mathpad/MathPad/NSObject+MPStringTest.h
Kim Wittenburg 24c53bde2e Added Helper Categories
Added Documentation
2014-04-23 03:09:26 +02:00

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