         }
         return false
     }
-    
 }

        self.id = generateId()
    }
    
    /**Generate a unique id based on the ibecons paramaters*/
    func generateId()->String{
        return "\(self.UUID)m\(self.major)m\(self.minor)"
    }
    
    
    override public var description:String{
        return debugDescription
    }
    


/**iBeacon*/
public class iBeacon : NSObject {
    
    /// iBeacon Minor
    public let minor:UInt16?
    
    /// iBeacon Major
    public let major:UInt16?
    
    /// Internal name - it will be used by firebase
    private(set) public var id:String
    
    /// Human readable id
    private(set) public var readeableId:String = ""
    
    /// iBeacon UUID
    let UUID: String
    
    
    /// Default proximity
    private(set) public var proximity: CLProximity  = CLProximity.Unknown
    
    
    /// Default state
    private(set) public var state:CLRegionState = CLRegionState.Unknown
    
    
    
