Read-Only ABRecord
-
The ABRecord class provides the isReadOnly method.
Use isReadOnly to determine whether or not a record is read-only.
http://developer.apple.com/documentation/UserExperience/Reference/
AddressBook/Classes/ABRecord_Class/Reference/Reference.html
I would like to find out how to set a ABRecord as read-only, and if a
record is configured to be read-only is it possible to edit it in the
Address Book Application.
Thanks
Alex -
On 30 Apr '08, at 4:47 PM, Alexander Hartner wrote:
> I would like to find out how to set a ABRecord as read-only, and if
> a record is configured to be read-only is it possible to edit it in
> the Address Book Application.
I don't think read-only means what you think it does. It's not some
kind of write protection in the database; it's just a characteristic
of the in-memory object, kind of like the distinction between mutable
and non-mutable collections in Foundation.
—Jens -
That's what I was afraid of :-(
Thanks
Alex
On 1 May 2008, at 03:28, Jens Alfke wrote:
>
> On 30 Apr '08, at 4:47 PM, Alexander Hartner wrote:
>
>> I would like to find out how to set a ABRecord as read-only, and if
>> a record is configured to be read-only is it possible to edit it in
>> the Address Book Application.
>
> I don't think read-only means what you think it does. It's not some
> kind of write protection in the database; it's just a characteristic
> of the in-memory object, kind of like the distinction between
> mutable and non-mutable collections in Foundation.
>
> —Jens



