[sword-svn] r2543 - trunk/bindings/objc/src
mdbergmann at crosswire.org
mdbergmann at crosswire.org
Fri Aug 27 00:49:47 MST 2010
Author: mdbergmann
Date: 2010-08-27 00:49:47 -0700 (Fri, 27 Aug 2010)
New Revision: 2543
Modified:
trunk/bindings/objc/src/SwordModule.h
trunk/bindings/objc/src/SwordModule.mm
Log:
minor changes to module about
Modified: trunk/bindings/objc/src/SwordModule.h
===================================================================
--- trunk/bindings/objc/src/SwordModule.h 2010-08-25 12:26:59 UTC (rev 2542)
+++ trunk/bindings/objc/src/SwordModule.h 2010-08-27 07:49:47 UTC (rev 2543)
@@ -182,7 +182,7 @@
*/
- (NSString *)aboutText;
/**
- Module full about text as RTF string
+ Override to get custom behaviour.
*/
- (NSAttributedString *)fullAboutText;
/**
Modified: trunk/bindings/objc/src/SwordModule.mm
===================================================================
--- trunk/bindings/objc/src/SwordModule.mm 2010-08-25 12:26:59 UTC (rev 2542)
+++ trunk/bindings/objc/src/SwordModule.mm 2010-08-27 07:49:47 UTC (rev 2543)
@@ -178,9 +178,8 @@
#pragma mark - Conf entries
-/** abstract method. subclasses should handle implementation. */
- (NSAttributedString *)fullAboutText {
- return [[NSMutableAttributedString alloc] init];
+ return [[[NSAttributedString alloc] initWithString:@""] autorelease];
}
- (NSInteger)error {
More information about the sword-cvs
mailing list