Structures
The following structures are available globally.
-
The REST API for communicating with a Parse Server.
See moreDeclaration
Swift
public struct API
-
Provides utility functions for working with Apple User Authentication and
See moreParseUser
‘s. Be sure your Parse Server is configured for sign in with Apple. For information on acquiring Apple sign-in credentials to use withParseApple
, refer to Apple’s Documentation.Declaration
Swift
public struct ParseApple<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
-
Provides utility functions for working with Facebook User Authentication and
See moreParseUser
‘s. Be sure your Parse Server is configured for sign in with Facebook. For information on acquiring Facebook sign-in credentials to use withParseFacebook
, refer to Facebook’s Documentation.Declaration
Swift
public struct ParseFacebook<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
-
Provides utility functions for working with GitHub User Authentication and
See moreParseUser
‘s. Be sure your Parse Server is configured for sign in with GitHub. For information on acquiring GitHub sign-in credentials to use withParseGitHub
, refer to GitHub’s Documentation.Declaration
Swift
public struct ParseGitHub<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
-
Provides utility functions for working with Google User Authentication and
See moreParseUser
‘s. Be sure your Parse Server is configured for sign in with Google. For information on acquiring Google sign-in credentials to use withParseGoogle
, refer to Google’s Documentation.Declaration
Swift
public struct ParseGoogle<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
-
Provides utility functions for working with LDAP User Authentication and
See moreParseUser
‘s. Be sure your Parse Server is configured for sign in with LDAP.Declaration
Swift
public struct ParseLDAP<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
-
Provides utility functions for working with LinkedIn User Authentication and
See moreParseUser
‘s. Be sure your Parse Server is configured for sign in with LinkedIn. For information on acquiring LinkedIn sign-in credentials to use withParseLinkedIn
, refer to LinkedIn’s Documentation.Declaration
Swift
public struct ParseLinkedIn<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
-
Provides utility functions for working with Twitter User Authentication and
See moreParseUser
‘s. Be sure your Parse Server is configured for sign in with Twitter. For information on acquiring Twitter sign-in credentials to use withParseTwitter
, refer to Twitter’s Documentation.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.
Declaration
Swift
public struct ParseAnonymous<AuthenticatedUser> : ParseAuthentication where AuthenticatedUser : ParseUser
-
An object that encodes Parse instances of a data type as JSON objects.
Note
JSONEncoder
facilitates the encoding ofEncodable
values into JSON.ParseEncoder
facilitates the encoding ofParseType
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.Declaration
Swift
public struct ParseEncoder
-
The
See moreQuery
class defines a query that is used to query forParseObject
s.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 moreDeclaration
Swift
public struct ParseConfiguration
-
See moreParseSwift
contains static methods to handle global configuration for the Parse framework.Declaration
Swift
public struct ParseSwift
-
Manages Parse files and directories.
See moreDeclaration
Swift
public struct ParseFileManager
-
See moreParseACL
is used to control which users can access or modify a particularParseObject
. EachParseObject
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.Declaration
Swift
public struct ParseACL: ParseType, Decodable, Equatable, Hashable
extension ParseACL: CustomDebugStringConvertible
extension ParseACL: CustomStringConvertible
-
See moreParseAnalytics
provides an interface to Parse’s logging and analytics backend.Declaration
Swift
public struct ParseAnalytics : ParseType, Hashable
extension ParseAnalytics: CustomDebugStringConvertible
extension ParseAnalytics: CustomStringConvertible
-
See moreParseBytes
is used to store base 64 data.Declaration
Swift
public struct ParseBytes : Codable, Hashable
extension ParseBytes: CustomDebugStringConvertible
extension ParseBytes: CustomStringConvertible
-
An object with a Parse code and message.
See moreDeclaration
Swift
public struct ParseError : ParseType, Decodable, Swift.Error
extension ParseError: CustomDebugStringConvertible
extension ParseError: CustomStringConvertible
extension ParseError: LocalizedError
-
A
See moreParseFile
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.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 aParseObject
. It could be used to perform queries in a geospatial manner usingParseQuery.whereKey:nearGeoPoint:
.Warning
warning:Currently, instances ofParseObject
may only have one key associated with aParseGeoPoint
type.Declaration
Swift
public struct ParseGeoPoint : Codable, Hashable
extension ParseGeoPoint: CustomDebugStringConvertible
extension ParseGeoPoint: CustomStringConvertible
-
See moreParseHealth
allows you to check the health of a Parse Server.Declaration
Swift
public struct ParseHealth : ParseType, Decodable
-
A
ParseOperation
represents a modification to a value in aParseObject
. For example, setting, deleting, or incrementing a value are allParseOperation
‘s.ParseOperation
themselves can be considered to be immutable.In most cases, you do not need to create an instance of
See moreParseOperation
directly as it can be indirectly created from anyParseObject
by using the respectiveoperation
property.Declaration
Swift
public struct ParseOperation<T> : Savable where T : ParseObject
-
See moreParsePolygon
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.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 ofParseRelation
is associated with a particular parent object and key.In most cases, you do not need to create an instance of
See moreParseRelation
directly as it can be indirectly created from anyParseObject
by using the respectiverelation
property.Declaration
Swift
public struct ParseRelation<T> : Codable, Hashable where T : ParseObject
extension ParseRelation: CustomDebugStringConvertible
extension ParseRelation: CustomStringConvertible
-
See moreParseVersion
is used to determine the version of the SDK.Declaration
Swift
public struct ParseVersion : Encodable
extension ParseVersion: CustomDebugStringConvertible
extension ParseVersion: CustomStringConvertible
-
A Pointer referencing a ParseObject.
See moreDeclaration
Swift
public struct Pointer<T> : ParsePointer, Fetchable, Encodable, Hashable where T : ParseObject
extension Pointer: CustomDebugStringConvertible
extension Pointer: CustomStringConvertible
-
Used to constrain a query.
See moreDeclaration
Swift
public struct QueryConstraint : Encodable, Hashable