ABRecord

Crowd-sourced documentation and tutorials by the Cocoa developer community
Revision as of 15:42, 29 April 2012 by Importer (Talk | contribs)

Jump to: navigation, search


ABRecord is a child of NSObject


an ABRecord object represents a row in the AddressBook database.


%%BEGINCODESTYLE%%- (id)valueForProperty:(NSString )property;%%ENDCODESTYLE%%

   * Returns the value of a given property. The type of the value depends on the property type.
   * The retuned object is immutable (NSString not NSMutableString, ABMultiValue not ABMutableMultiValue, etc..)
   * Raises if property is nil



%%BEGINCODESTYLE%%- (BOOL)setValue:(id)value forProperty:(NSString )property;%%ENDCODESTYLE%%

   *  Set the value of a given property. The type of the value must match the property type.
   * Raises if property is nil or value not of the correct type
   * Returns YES if the value was set successfully



%%BEGINCODESTYLE%%- (BOOL)removeValueForProperty:(NSString )property;%%ENDCODESTYLE%%

   * Remove the value of a given property. Subsequent calls to -valueForProperty on the same
   * property will return nil.
   * Raises if property is nil
   * Returns YES if the value was removed successfully
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox