Swift SDK Version

Common

  • Represents an immutable Facebook profile.
    This class provides a global current instance to more easily add social context to your application. When the profile changes, a notification is posted so that you can update relevant parts of your UI and is persisted to NSUserDefaults.
    Typically, you will want to call Profile.updatesOnAccessTokenChange = true, so that it automatically observes changes to the AccessToken.current.
    You can use this class to build your own ProfilePictureView or in place of typical requests to /me.
    See more

    Declaration

    Swift
    publicstructUserProfile