Skip to content

Binding code seems to be unnecessary #1

@nk9

Description

@nk9

First off, thanks for this step-by-step explanation, it saved me a bunch of trial and error. I downloaded the code, but it's Swift 3 and I have Xcode 9, so I couldn't run it. Sill, I followed the instructions to get everything working.

I wanted to mention that I didn't have to do the code as you described to get the table view's sort descriptors bound to the array controller. I just went to the table view bindings, checked the box next to Sort Descriptors, made sure the array controller was selected in the popup and then put "sortDescriptors" in the Controller Key field. That, combined with setting the Sort Key for each column, made the magic happen.

So you may be able to cut out a bunch of the explanation around this and just have people bind them directly in IB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions