Structures

The following structures are available globally.

  • API

    The REST API for communicating with a Parse Server.

    See more

    Declaration

    Swift

    public struct API
  • Provides utility functions for working with Apple User Authentication and ParseUser‘s. Be sure your Parse Server is configured for sign in with Apple. For information on acquiring Apple sign-in credentials to use with ParseApple, refer to Apple’s Documentation.

    See more

    Declaration

    Swift

    public struct ParseApple<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
  • Provides utility functions for working with Facebook User Authentication and ParseUser‘s. Be sure your Parse Server is configured for sign in with Facebook. For information on acquiring Facebook sign-in credentials to use with ParseFacebook, refer to Facebook’s Documentation.

    See more

    Declaration

    Swift

    public struct ParseFacebook<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
  • Provides utility functions for working with GitHub User Authentication and ParseUser‘s. Be sure your Parse Server is configured for sign in with GitHub. For information on acquiring GitHub sign-in credentials to use with ParseGitHub, refer to GitHub’s Documentation.

    See more

    Declaration

    Swift

    public struct ParseGitHub<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
  • Provides utility functions for working with Google User Authentication and ParseUser‘s. Be sure your Parse Server is configured for sign in with Google. For information on acquiring Google sign-in credentials to use with ParseGoogle, refer to Google’s Documentation.

    See more

    Declaration

    Swift

    public struct ParseGoogle<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
  • Provides utility functions for working with LDAP User Authentication and ParseUser‘s. Be sure your Parse Server is configured for sign in with LDAP.

    See more

    Declaration

    Swift

    public struct ParseLDAP<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
  • Provides utility functions for working with LinkedIn User Authentication and ParseUser‘s. Be sure your Parse Server is configured for sign in with LinkedIn. For information on acquiring LinkedIn sign-in credentials to use with ParseLinkedIn, refer to LinkedIn’s Documentation.

    See more

    Declaration

    Swift

    public struct ParseLinkedIn<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
  • Provides utility functions for working with Twitter User Authentication and ParseUser‘s. Be sure your Parse Server is configured for sign in with Twitter. For information on acquiring Twitter sign-in credentials to use with ParseTwitter, refer to Twitter’s Documentation.

    See more

    Declaration

    Swift

    public struct ParseTwitter<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
  • Provides utility functions for working with Anonymously logged-in users.

    Anonymous users have some unique characteristics:

    • Anonymous users don’t need a user name or password.
    • Once logged out, an anonymous user cannot be recovered.
    • When the current user is anonymous, the following methods can be used to switch to a different user or convert the anonymous user into a regular one:
      • signup converts an anonymous user to a standard user with the given username and password. Data associated with the anonymous user is retained.
      • login switches users without converting the anonymous user. Data associated with the anonymous user will be lost.
      • Service login (e.g. Apple, Facebook, Twitter) will attempt to convert the anonymous user into a standard user by linking it to the service. If a user already exists that is linked to the service, it will instead switch to the existing user.
      • Service linking (e.g. Apple, Facebook, Twitter) will convert the anonymous user into a standard user by linking it to the service.
    See more

    Declaration

    Swift

    public struct ParseAnonymous<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser

ParseEncoder

  • An object that encodes Parse instances of a data type as JSON objects.

    Note

    JSONEncoder facilitates the encoding of Encodable values into JSON. ParseEncoder facilitates the encoding of ParseType values into JSON. All Credit to Apple, this is a custom encoder with capability of skipping keys at runtime. ParseEncoder matches the features of the Swift 5.4 JSONEncoder . Update commits as needed for improvement.
    See more

    Declaration

    Swift

    public struct ParseEncoder

Query

  • The Query class defines a query that is used to query for ParseObjects.

    See more

    Declaration

    Swift

    public struct Query<T> : Encodable, Equatable where T : ParseObject
    extension Query: Queryable
    extension Query: CustomDebugStringConvertible
    extension Query: CustomStringConvertible
  • The Configuration for a Parse client.

    See more

    Declaration

    Swift

    public struct ParseConfiguration
  • ParseSwift contains static methods to handle global configuration for the Parse framework.

    See more

    Declaration

    Swift

    public struct ParseSwift
  • Manages Parse files and directories.

    See more

    Declaration

    Swift

    public struct ParseFileManager
  • ParseACL is used to control which users can access or modify a particular ParseObject. Each ParseObject has its own ACL. You can grant read and write permissions separately to specific users, to groups of users that belong to roles, or you can grant permissions to “the public” so that, for example, any user could read a particular object but only a particular set of users could write to that object.

    See more

    Declaration

    Swift

    public struct ParseACL: ParseType,
                            Decodable,
                            Equatable,
                            Hashable
    extension ParseACL: CustomDebugStringConvertible
    extension ParseACL: CustomStringConvertible
  • ParseAnalytics provides an interface to Parse’s logging and analytics backend.

    See more

    Declaration

    Swift

    public struct ParseAnalytics : ParseType, Hashable
    extension ParseAnalytics: CustomDebugStringConvertible
    extension ParseAnalytics: CustomStringConvertible
  • ParseBytes is used to store base 64 data.

    See more

    Declaration

    Swift

    public struct ParseBytes : Codable, Hashable
    extension ParseBytes: CustomDebugStringConvertible
    extension ParseBytes: CustomStringConvertible
  • An object with a Parse code and message.

    See more

    Declaration

    Swift

    public struct ParseError : ParseType, Decodable, Swift.Error
    extension ParseError: CustomDebugStringConvertible
    extension ParseError: CustomStringConvertible
    extension ParseError: LocalizedError
  • A ParseFile object representes a file of binary data stored on the Parse server. This can be a image, video, or anything else that an application needs to reference in a non-relational way.

    See more

    Declaration

    Swift

    public struct ParseFile : Fileable, Savable, Fetchable, Deletable, Hashable
    extension ParseFile: CustomDebugStringConvertible
    extension ParseFile: CustomStringConvertible
  • ParseGeoPoint is used to embed a latitude / longitude point as the value for a key in a ParseObject. It could be used to perform queries in a geospatial manner using ParseQuery.whereKey:nearGeoPoint:.

    Warning

    warning:Currently, instances of ParseObject may only have one key associated with a ParseGeoPoint type.
    See more

    Declaration

    Swift

    public struct ParseGeoPoint : Codable, Hashable
    extension ParseGeoPoint: CustomDebugStringConvertible
    extension ParseGeoPoint: CustomStringConvertible
  • ParseHealth allows you to check the health of a Parse Server.

    See more

    Declaration

    Swift

    public struct ParseHealth : ParseType, Decodable
  • A ParseOperation represents a modification to a value in a ParseObject. For example, setting, deleting, or incrementing a value are all ParseOperation‘s. ParseOperation themselves can be considered to be immutable.

    In most cases, you do not need to create an instance of ParseOperation directly as it can be indirectly created from any ParseObject by using the respective operation property.

    See more

    Declaration

    Swift

    public struct ParseOperation<T> : Savable where T : ParseObject
  • ParsePolygon is used to create a polygon that represents the coordinates that may be associated with a key in a ParseObject or used as a reference point for geo queries. This allows proximity-based queries on the key.

    See more

    Declaration

    Swift

    public struct ParsePolygon : Codable, Hashable
    extension ParsePolygon: CustomDebugStringConvertible
    extension ParsePolygon: CustomStringConvertible
  • The ParseRelation object that is used to access all of the children of a many-to-many relationship. Each instance of ParseRelation is associated with a particular parent object and key.

    In most cases, you do not need to create an instance of ParseRelation directly as it can be indirectly created from any ParseObject by using the respective relation property.

    See more

    Declaration

    Swift

    public struct ParseRelation<T> : Codable, Hashable where T : ParseObject
    extension ParseRelation: CustomDebugStringConvertible
    extension ParseRelation: CustomStringConvertible
  • ParseVersion is used to determine the version of the SDK.

    See more

    Declaration

    Swift

    public struct ParseVersion : Encodable
    extension ParseVersion: CustomDebugStringConvertible
    extension ParseVersion: CustomStringConvertible
  • A Pointer referencing a ParseObject.

    See more

    Declaration

    Swift

    public struct Pointer<T> : ParsePointer, Fetchable, Encodable, Hashable where T : ParseObject
    extension Pointer: CustomDebugStringConvertible
    extension Pointer: CustomStringConvertible
  • Used to constrain a query.

    See more

    Declaration

    Swift

    public struct QueryConstraint : Encodable, Hashable