How to make a realm model in swift

I ran into an issue when making my first realm object in swift. Realm is a new embedded database engine that treats models like objects. It's pretty slick.

I ran into trouble when trying to create my first Realm Model in Swift. Here is a gist for that:

    import Realm

class ModelName: RLMObject {  
    dynamic name: String = ""
    dynamic value: Int = 0