Re: Cocoa API documentation
Re: Cocoa API documentation
- Subject: Re: Cocoa API documentation
- From: Scott Anguish <email@hidden>
- Date: Tue, 12 Jul 2005 06:52:11 -0400
On Jul 12, 2005, at 6:44 AM, Roland Silver wrote:
I used to be able to get documentation of Cocoa API methods using
Docoa Browser -- which doesn't seem to work anymore with Xcode 2.1
under Tiger.
Where, for example, can I find a concise description of the method
CFPreferenceGetAppIntegerValue?
I just downloaded DevDocumentation.pkg, but I can't spot a simple
find capability associated with it.
In Xcode go to the Help menu, and select "Documentation". all
the doc is there
I don't see that me method function (it's core foundation, so C API)
I do find 5 references for CFPreferencesGetAppIntegerValue
You probably want to get the full Xcode 2.1 and the latest July doc
update (which you can download from Xcode's Preferences->Documentation)
CFPreferencesGetAppIntegerValue
Convenience function that directly obtains an integer preference
value for the specified key.
CFIndex CFPreferencesGetAppIntegerValue (
CFStringRef key,
CFStringRef applicationID,
Boolean *keyExistsAndHasValidFormat
);
Parameter Descriptions
key
The preference key whose value you wish to obtain. The key must
specify a preference whose value is of type int.
applicationID
The identifier of the application whose preferences you wish to
search, typically kCFPreferencesCurrentApplication. Do not pass NULL
or kCFPreferencesAnyApplication. Takes the form of a Java package
name, com.foosoft.
keyExistsAndHasValidFormat
On return, indicates whether the preference value for the specified
key was located and found to be of type int.
function result
The preference data for the specified key and application. If no
value was located, 0 is returned.
Availability
Available in CarbonLib v1.1 and later. Available in Mac OS X v10.0
and later.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden