[sword-svn] r2627 - trunk/bindings/objc/src
mdbergmann at crosswire.org
mdbergmann at crosswire.org
Thu Jun 23 03:24:07 MST 2011
Author: mdbergmann
Date: 2011-06-23 03:24:07 -0700 (Thu, 23 Jun 2011)
New Revision: 2627
Modified:
trunk/bindings/objc/src/SwordDictionary.h
trunk/bindings/objc/src/SwordDictionary.mm
Log:
fix for -attributeValueForLinkData: method
Modified: trunk/bindings/objc/src/SwordDictionary.h
===================================================================
--- trunk/bindings/objc/src/SwordDictionary.h 2011-06-10 08:02:20 UTC (rev 2626)
+++ trunk/bindings/objc/src/SwordDictionary.h 2011-06-23 10:24:07 UTC (rev 2627)
@@ -24,5 +24,4 @@
- (NSArray *)allKeys;
- (NSString *)entryForKey:(NSString *)aKey;
-
@end
Modified: trunk/bindings/objc/src/SwordDictionary.mm
===================================================================
--- trunk/bindings/objc/src/SwordDictionary.mm 2011-06-10 08:02:20 UTC (rev 2626)
+++ trunk/bindings/objc/src/SwordDictionary.mm 2011-06-23 10:24:07 UTC (rev 2627)
@@ -156,8 +156,12 @@
}
- (id)attributeValueForParsedLinkData:(NSDictionary *)data {
+ return [self attributeValueForParsedLinkData:data withTextRenderType:TextTypeStripped];
+}
+
+- (id)attributeValueForParsedLinkData:(NSDictionary *)data withTextRenderType:(TextPullType)textType {
id ret = nil;
-
+
NSString *attrType = [data objectForKey:ATTRTYPE_TYPE];
if([attrType isEqualToString:@"scriptRef"] ||
[attrType isEqualToString:@"scripRef"] ||
More information about the sword-cvs
mailing list