1
/** Declaration of extension methods for base additions
3
Copyright (C) 2003-2010 Free Software Foundation, Inc.
5
Written by: Richard Frith-Macdonald <rfm@gnu.org>
6
and: Adam Fedor <fedor@gnu.org>
8
This file is part of the GNUstep Base Library.
10
This library is free software; you can redistribute it and/or
11
modify it under the terms of the GNU Lesser General Public
12
License as published by the Free Software Foundation; either
13
version 2 of the License, or (at your option) any later version.
15
This library is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
Library General Public License for more details.
20
You should have received a copy of the GNU Lesser General Public
21
License along with this library; if not, write to the Free
22
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
27
#ifndef INCLUDED_NSAttributedString_GNUstepBase_h
28
#define INCLUDED_NSAttributedString_GNUstepBase_h
30
#import <GNUstepBase/GSVersionMacros.h>
31
#import <Foundation/NSAttributedString.h>
33
#if defined(__cplusplus)
37
#if OS_API_VERSION(GS_API_NONE,GS_API_LATEST)
39
@interface NSAttributedString (GNUstepBase)
41
* Deprecated synonym for attributedSubstringFromRange:
42
* for consistency with NSString
44
- (NSAttributedString*) attributedSubstringWithRange: (NSRange)aRange;
47
#endif /* OS_API_VERSION */
49
#if defined(__cplusplus)
53
#endif /* INCLUDED_NSAttributedString_GNUstepBase_h */