OrClause

public class OrClause: NSObject, Clause

Class represents Or clause.

  • clauses array of OrClause

    Declaration

    Swift

    public private(set) var clauses = [Clause]()
  • Initialize with clause clauses.

    Parameter

    Parameter clauses: Clause instances for OR clauses

    Declaration

    Swift

    public init(clauses:Clause...)

    Parameters

    clauses

    Clause instances for OR clauses

  • Undocumented

    Declaration

    Swift

    public class OrClause: NSObject, Clause
  • Undocumented

    Declaration

    Swift

    public class OrClause: NSObject, Clause
  • Add clause to OrClause

    Parameter

    Parameter clause: Clause instances to add

    Declaration

    Swift

    public func add(clause: Clause)

    Parameters

    clause

    Clause instances to add

  • Get Clause as NSDictionary instance

    Returns

    a NSDictionary instance.

    Declaration

    Swift

    public func toNSDictionary() -> NSDictionary

    Return Value

    a NSDictionary instance.