Revision: 13978
http://sourceforge.net/p/skim-app/code/13978
Author: hofman
Date: 2023-12-24 17:32:06 +0000 (Sun, 24 Dec 2023)
Log Message:
-----------
don't bother with exposeBinding
Modified Paths:
--------------
trunk/SKColorSwatch.m
trunk/SKFontWell.m
trunk/SKLineWell.m
Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m 2023-12-24 17:27:43 UTC (rev 13977)
+++ trunk/SKColorSwatch.m 2023-12-24 17:32:06 UTC (rev 13978)
@@ -109,12 +109,6 @@
@synthesize colors, autoResizes, selects, alternate,
clickedColorIndex=clickedIndex, selectedColorIndex=selectedIndex;
@dynamic color, fitWidth;
-+ (void)initialize {
- SKINITIALIZE;
-
- [self exposeBinding:COLORS_KEY];
-}
-
- (Class)valueClassForBinding:(NSString *)binding {
if ([binding isEqualToString:COLORS_KEY])
return [NSArray class];
Modified: trunk/SKFontWell.m
===================================================================
--- trunk/SKFontWell.m 2023-12-24 17:27:43 UTC (rev 13977)
+++ trunk/SKFontWell.m 2023-12-24 17:32:06 UTC (rev 13978)
@@ -69,14 +69,6 @@
@dynamic active, fontName, fontSize, textColor, hasTextColor;
-+ (void)initialize {
- SKINITIALIZE;
-
- [self exposeBinding:FONTNAME_KEY];
- [self exposeBinding:FONTSIZE_KEY];
- [self exposeBinding:TEXTCOLOR_KEY];
-}
-
+ (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key {
NSSet *keyPaths = [super keyPathsForValuesAffectingValueForKey:key];
if ([key isEqualToString:FONTNAME_KEY] || [key
isEqualToString:FONTSIZE_KEY])
Modified: trunk/SKLineWell.m
===================================================================
--- trunk/SKLineWell.m 2023-12-24 17:27:43 UTC (rev 13977)
+++ trunk/SKLineWell.m 2023-12-24 17:32:06 UTC (rev 13978)
@@ -63,16 +63,6 @@
@synthesize lineWidth, style, dashPattern, startLineStyle, endLineStyle;
@dynamic active, canActivate, displayStyle;
-+ (void)initialize {
- SKINITIALIZE;
-
- [self exposeBinding:SKLineWellLineWidthKey];
- [self exposeBinding:SKLineWellStyleKey];
- [self exposeBinding:SKLineWellDashPatternKey];
- [self exposeBinding:SKLineWellStartLineStyleKey];
- [self exposeBinding:SKLineWellEndLineStyleKey];
-}
-
- (Class)valueClassForBinding:(NSString *)binding {
if ([binding isEqualToString:SKLineWellDashPatternKey])
return [NSArray class];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit