mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:20:49 +00:00
Change NSString to NSDataAssetName.
This commit is contained in:
parent
a6c7d1d8fc
commit
765e9bfecd
2 changed files with 8 additions and 8 deletions
|
@ -39,21 +39,21 @@ typedef NSString* NSDataAssetName;
|
|||
|
||||
@interface NSDataAsset : NSObject <NSCopying>
|
||||
{
|
||||
NSString *_name;
|
||||
NSDataAssetName _name;
|
||||
NSBundle *_bundle;
|
||||
NSData *_data;
|
||||
NSString *_typeIdentifier;
|
||||
}
|
||||
|
||||
// Initializing the Data Asset
|
||||
- (instancetype) initWithName: (NSString *)name;
|
||||
- (instancetype) initWithName: (NSString *)name bundle: (NSBundle *)bundle;
|
||||
- (instancetype) initWithName: (NSDataAssetName)name;
|
||||
- (instancetype) initWithName: (NSDataAssetName)name bundle: (NSBundle *)bundle;
|
||||
|
||||
// Accessing data...
|
||||
- (NSData *) data;
|
||||
|
||||
// Getting data asset information
|
||||
- (NSString *) name;
|
||||
- (NSDataAssetName) name;
|
||||
- (NSString *) typeIdentifier;
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue