Revision: 29832
http://sourceforge.net/p/bibdesk/svn/29832
Author: hofman
Date: 2025-11-17 10:21:52 +0000 (Mon, 17 Nov 2025)
Log Message:
-----------
use instancetype
Modified Paths:
--------------
trunk/bibdesk/BDSKStringNode.h
trunk/bibdesk/BDSKStringNode.m
Modified: trunk/bibdesk/BDSKStringNode.h
===================================================================
--- trunk/bibdesk/BDSKStringNode.h 2025-11-17 10:19:56 UTC (rev 29831)
+++ trunk/bibdesk/BDSKStringNode.h 2025-11-17 10:21:52 UTC (rev 29832)
@@ -59,7 +59,7 @@
@param s The string value without the quotes.
@result A newly allocated string node of string type.
*/
-- (BDSKStringNode *)initWithString:(NSString *)s;
+- (instancetype)initWithString:(NSString *)s;
/*!
@method initWithType:value:
Modified: trunk/bibdesk/BDSKStringNode.m
===================================================================
--- trunk/bibdesk/BDSKStringNode.m 2025-11-17 10:19:56 UTC (rev 29831)
+++ trunk/bibdesk/BDSKStringNode.m 2025-11-17 10:21:52 UTC (rev 29832)
@@ -44,7 +44,7 @@
@synthesize type, value;
-- (BDSKStringNode *)initWithString:(NSString *)s{
+- (instancetype)initWithString:(NSString *)s{
return [self initWithType:BDSKStringNodeString value:s];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit