mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
mplement KVC methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27022 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6afce1ea49
commit
577da43f2c
2 changed files with 15 additions and 0 deletions
|
@ -1175,6 +1175,11 @@ static BOOL isPlistObject(id o)
|
|||
[_lock unlock];
|
||||
}
|
||||
|
||||
- (void) setValue: (id)value forKey: (NSString*)defaultName
|
||||
{
|
||||
[self setObject: value forKey: (NSString*)defaultName];
|
||||
}
|
||||
|
||||
- (NSArray*) stringArrayForKey: (NSString*)defaultName
|
||||
{
|
||||
id arr = [self arrayForKey: defaultName];
|
||||
|
@ -1276,6 +1281,11 @@ static BOOL isPlistObject(id o)
|
|||
[_lock unlock];
|
||||
}
|
||||
|
||||
- (id) valueForKey: (NSString*)aKey
|
||||
{
|
||||
return [self objectForKey: aKey];
|
||||
}
|
||||
|
||||
- (BOOL) wantToReadDefaultsSince: (NSDate*)lastSyncDate
|
||||
{
|
||||
NSFileManager *mgr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue