Skip to content
Browse files

Merge remote-tracking branch 'indragiek/master'

  • Loading branch information...
2 parents 779f07b + 886e887 commit 85430a89420c767239ce81f96e9517af000b2e6d @aaronbrethorst aaronbrethorst committed Aug 9, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 BCCollectionViewGroup.m
View
7 BCCollectionViewGroup.m
@@ -2,7 +2,6 @@
// Copyright 2011 Bohemian Coding. All rights reserved.
#import "BCCollectionViewGroup.h"
-#import "CHUserDefaults.h"
@implementation BCCollectionViewGroup
@synthesize title, itemRange;
@@ -34,12 +33,14 @@ - (NSString *)defaultsIdentifier
- (BOOL)isCollapsed
{
- return CHDefaultsBoolForKey([self defaultsIdentifier]);
+ return [[NSUserDefaults standardUserDefaults] boolForKey:[self defaultsIdentifier]];
}
- (void)setIsCollapsed:(BOOL)isCollapsed
{
- CHDefaultsSetBoolForKey(isCollapsed, [self defaultsIdentifier]);
+ NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
+ [ud setBool:isCollapsed forKey:[self defaultsIdentifier]];
+ [ud synchronize];
}
@end

0 comments on commit 85430a8

Please sign in to comment.
Something went wrong with that request. Please try again.