CoreDataHelper
public class CoreDataHelper : NSObject
-
Declaration
Swift
public static let shared: CoreDataHelper -
Call this function to add a tag on Mapsted Map.
Declaration
Swift
public func addTag(tag: MNTag)Parameters
tagNameThe name of tag.
tagPosThe position of tag.
-
Declaration
Swift
public func addTag(name: String, propertyId: Int, buildingId: Int, floorId: Int, x: Double, y: Double, type: Int) -
Declaration
Swift
public func addTags(tags: [MNTag]) -
Declaration
Swift
public func allTags(propertyId: Int) -> [MNTag] -
Declaration
Swift
public func renameTag(tag: MNTag, newName: String) -
Declaration
Swift
public func deleteTag(tag: MNTag, completion: ((Bool) -> Void)? = nil) -
Declaration
Swift
public func searchTags(propertyId: Int, search text: String) -> [Tag]?
CoreDataHelper Class Reference