ObjFW  Diff

Differences From Artifact [ceca8248e3]:

To Artifact [da0012a76b]:

  • File src/OFSettings.h — part of check-in [0a73af49f0] at 2017-04-30 13:35:16 on branch trunk — Use nonatomic for properties and clean up

    This changes retaining behavior, meaning properties are not returned
    retained and autoreleased anymore, so a property returned from a getter
    now needs to be manually retained and autoreleased before calling the
    setter. However, this is rarely the case and not using atomic improves
    performance. (user: js, size: 6419) [annotate] [blame] [check-ins using]


36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
	OFString *_applicationName;
}

/*!
 * The name of the application whose settings are accessed by the instance.
 */
@property (readonly, copy) OFString *applicationName;

/*!
 * @brief Create a new OFSettings instance for the application with the
 *	  specified name.
 *
 * @param applicationName The name of the application whose settings should be
 *			  accessed







|







36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
	OFString *_applicationName;
}

/*!
 * The name of the application whose settings are accessed by the instance.
 */
@property (readonly, nonatomic) OFString *applicationName;

/*!
 * @brief Create a new OFSettings instance for the application with the
 *	  specified name.
 *
 * @param applicationName The name of the application whose settings should be
 *			  accessed