Ahmed-Ali / RealmObjectEditor

Realm Object Editor is a visual editor where you can create your Realm entities, attributes and relationships inside a nice user interface. Once you finish, you can save your schema document for later use and you can export your entities in Swift, Objective-C and Java.
MIT License
424 stars 47 forks source link

Right panel not showing details for attributes #9

Closed Kirow closed 8 years ago

Kirow commented 8 years ago

Just checked master branch and compiled app do not display details for attributes (i.e. can not set indexed/primary/ignored). Works for relations only. same issue on v0.0.4

akuzminskyi commented 8 years ago

I fixed it by hidden some views, but I'm really not sure if its correct solution. EditorViewController.swift:

    func selectedAttributeDidChange()
    {
        if selectedAttribute != nil{
            for subView in optionContainers{
                subView.hidden = true
            }
            attributeOptionsContainer.hidden = false
            populateAttributeUI()
        }
    }
filip982 commented 8 years ago

Right panel still not working. This is cool helper program, it would be a bit waste not to fix this. Same thing like @Kirow reported.

Ahmed-Ali commented 8 years ago

Resolved by merging PR #12