Views
public class Views
Undocumented
-
Declaration
Swift
let languages: Languages
-
Declaration
Swift
var context: MemriContext?
-
Undocumented
Declaration
Swift
init()
-
Undocumented
Declaration
Swift
public func load(_ context: MemriContext) throws
-
Undocumented
Declaration
Swift
public func listenForChanges()
-
Undocumented
Declaration
Swift
public func setCurrentLanguage(_ language: String) throws
-
Undocumented
Declaration
Swift
public func install( overrideCodeForTesting: String? = nil, _ callback: @escaping (Error?) -> Void )
-
Undocumented
Declaration
Swift
public class func formatDate(_ date: Date?, dateFormat: String? = nil) -> String
-
Undocumented
Declaration
Swift
public class func formatDateSinceCreated(_ date: Date?) -> String
-
Undocumented
Declaration
Swift
func reloadViews(_: [Item])
-
Undocumented
Declaration
Swift
func getGlobalReference(_ name: String, viewArguments: ViewArguments?) throws -> Any?
-
Undocumented
Declaration
Swift
func lookupValueOfVariables( lookup: ExprLookupNode, viewArguments: ViewArguments? ) throws -> Any?
-
Undocumented
Declaration
Swift
func lookupValueOfVariables( lookup: ExprLookupNode, viewArguments: ViewArguments?, isFunction: Bool = false ) throws -> Any?
-
Undocumented
Declaration
Swift
func executeFunction( lookup: ExprLookupNode, args: [Any?], viewArguments: ViewArguments? ) throws -> Any?
-
Undocumented
Declaration
Swift
public func fetchDefinitions( selector: String? = nil, name: String? = nil, type: String? = nil, query: String? = nil, domain: String? = nil ) -> [CVUStoredDefinition]
-
Undocumented
Declaration
Swift
func parseDefinition(_ viewDef: CVUStoredDefinition?) throws -> CVUParsedDefinition?
-
Takes a stored definition and fetches the view definition or when its a session definition, the currentView of that session
Declaration
Swift
func getViewStateDefinition(from stored: CVUStoredDefinition) throws -> CVUStateDefinition
-
Undocumented
Declaration
Swift
public func renderItemCell( with item: Item?, search rendererNames: [String] = [], inView viewOverride: String? = nil, use viewArguments: ViewArguments = ViewArguments() ) -> AnyView