Revision: 6449
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6449&view=rev
Author:   hofman
Date:     2010-04-08 23:35:27 +0000 (Thu, 08 Apr 2010)

Log Message:
-----------
use property rename class

Modified Paths:
--------------
    trunk/NSScrollView_SKExtensions.h
    trunk/NSScrollView_SKExtensions.m

Modified: trunk/NSScrollView_SKExtensions.h
===================================================================
--- trunk/NSScrollView_SKExtensions.h   2010-04-08 23:28:40 UTC (rev 6448)
+++ trunk/NSScrollView_SKExtensions.h   2010-04-08 23:35:27 UTC (rev 6449)
@@ -40,8 +40,5 @@
 
 
 @interface NSScrollView (SKExtensions) 
-
-- (NSArray *)placards;
-- (void)setPlacards:(NSArray *)newPlacards;
-
+...@property (nonatomic, copy) NSArray *placards;
 @end

Modified: trunk/NSScrollView_SKExtensions.m
===================================================================
--- trunk/NSScrollView_SKExtensions.m   2010-04-08 23:28:40 UTC (rev 6448)
+++ trunk/NSScrollView_SKExtensions.m   2010-04-08 23:35:27 UTC (rev 6449)
@@ -40,7 +40,7 @@
 #import "SKRuntime.h"
 
 
-...@interface BDSKPlacardView : NSView
+...@interface SKPlacardView : NSView
 - (void)tile;
 @end
 
@@ -75,7 +75,7 @@
 - (void)replacement_tile {
     original_tile(self, _cmd);
     
-    BDSKPlacardView *placardView = [scrollViewPlacardViews objectForKey:self];
+    SKPlacardView *placardView = [scrollViewPlacardViews objectForKey:self];
     if (placardView) {
         NSScroller *scroller = [self horizontalScroller];
         NSRect placardFrame, scrollerFrame = [scroller frame];
@@ -103,9 +103,9 @@
 }
 
 - (void)setPlacards:(NSArray *)newPlacards {
-    BDSKPlacardView *placardView = [[scrollViewPlacardViews objectForKey:self] 
retain];
+    SKPlacardView *placardView = [[scrollViewPlacardViews objectForKey:self] 
retain];
     if (placardView == nil && [newPlacards count]) {
-        placardView = [[BDSKPlacardView alloc] init];
+        placardView = [[SKPlacardView alloc] init];
         [scrollViewPlacardViews setObject:placardView forKey:self];
     }
     
@@ -128,7 +128,7 @@
 @end
 
 
-...@implementation BDSKPlacardView
+...@implementation SKPlacardView
 
 - (void)drawRect:(NSRect)aRect {
     NSImage *bgImage = [NSImage imageNamed:@"Scroller_Background"];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to