fusionbox/sugarcube — pull request #6 by katsuyoshi (2012-08-27 16:18:01+00:00)
Title: NSIndexPath#to_a and NSIndexSet#to_a

It just an idea.

Switch statement with index path will be simple.
Like that

case indexpath.to_a
when [0, 0]
.
when [0, 1]
.
when [1, 0]
.
end

instead of

case indexpath.section
when 0
case indexPath.row
when 0
.
when 1
.
end
when 1
case indexPath.row
.
end
.
end