Mac Developer Library

Developer

PSAuthor Class Reference

Options
Deployment Target:

On This Page

PSAuthor

Inheritance


Conforms To


Import Statement


Not Applicable

Objective-C

@import PubSub;

Availability


Available in OS X v10.5 and later.
Deprecated in OS X v10.9.

A PSAuthor object is used to identify an author of a entry object. Use an author object to retrieve information about the author of an entry, and to associate the author with an Address Book person (ABPerson) object. Each author object can contain a name, an email address and a URL.

To determine the author of an entry, use the author property of an entry object. It returns an array of author objects. It is not recommended that you subclass PSAuthor.

  • URL URL (OS X v10.9) Property

    A URL to the author's homepage. (read-only)

    Declaration

    Objective-C

    @property(readonly, retain) NSURL *URL

    Discussion

    Corresponds to the <uri> element of a Person construct in Atom. There is no RSS equivalent.

    Import Statement

    Objective-C

    @import PubSub;

    Availability

    Available in OS X v10.5 and later.

    Deprecated in OS X v10.9.

  • name name (OS X v10.9) Property

    The author's name. (read-only)

    Declaration

    Objective-C

    @property(readonly, retain) NSString *name

    Discussion

    Corresponds to the <name> element of a Person construct in Atom. Parsed from the <author> element in RSS.

    Import Statement

    Objective-C

    @import PubSub;

    Availability

    Available in OS X v10.5 and later.

    Deprecated in OS X v10.9.

  • email email (OS X v10.9) Property

    The author's email address. (read-only)

    Declaration

    Objective-C

    @property(readonly, retain) NSString *email

    Discussion

    Corresponds to the <email> element of a Person construct in Atom. Parsed from the <author> element in RSS.

    Import Statement

    Objective-C

    @import PubSub;

    Availability

    Available in OS X v10.5 and later.

    Deprecated in OS X v10.9.