Permalink
Browse files

Update to latest BBlock

  • Loading branch information...
1 parent 6066324 commit 16dfcd458fdc8fc09ad8b1ca0e13082d3eaedc4e @kgn committed Mar 31, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 BBlock
  2. +3 −3 PaintCodeExample/PCViewController+PaintCode.m
@@ -12,7 +12,7 @@
@implementation PCViewController(PaintCode)
- (UIImage *)popupImage{
- return [UIImage imageNamed:@"popupImage" forSize:CGSizeMake(120, 60) andDrawingBlock:^{
+ return [UIImage imageWithIdentifier:@"popupImage" forSize:CGSizeMake(120, 60) andDrawingBlock:^{
//// General Declarations
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
CGContextRef context = UIGraphicsGetCurrentContext();
@@ -95,7 +95,7 @@ - (UIImage *)popupImage{
}
- (UIImage *)debutsImage{
- return [UIImage imageNamed:@"debutsImage" forSize:CGSizeMake(42, 42) andDrawingBlock:^{
+ return [UIImage imageWithIdentifier:@"debutsImage" forSize:CGSizeMake(42, 42) andDrawingBlock:^{
//// General Declarations
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
CGContextRef context = UIGraphicsGetCurrentContext();
@@ -325,7 +325,7 @@ - (UIImage *)debutsImage{
}
- (UIImage *)debutsHighlightedImage{
- return [UIImage imageNamed:@"debutsHighlightedImage" forSize:CGSizeMake(42, 42) andDrawingBlock:^{
+ return [UIImage imageWithIdentifier:@"debutsHighlightedImage" forSize:CGSizeMake(42, 42) andDrawingBlock:^{
//// General Declarations
CGContextRef context = UIGraphicsGetCurrentContext();

0 comments on commit 16dfcd4

Please sign in to comment.