«« Next » « Previous
«« Next » « Previous

Link Details

It's so much easier than programming. Login and vote now.
Link 80838 thumbnail

By bloid
via blog.downtownsoftwarehouse.com
Submitted: May 13 2008 / 18:15

Earlier this week I was working on a project where I wanted to filter a table view based on tags. The data model I was working with was very simple. My table view was bound to an array of objects through an NSArrayController, and each object had it’s own array of NSStrings which represented tags. My goal was to create a filter bar control, which I could bind to the array controller in order to popular the list of tags. The filter bar would display each unique tag once, and update itself when objects were added or removed, or an object’s tag array changed.
  • 2
  • 0
  • 95
  • 11

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)



Voters Against This Link (0)