NSCollectionView

Discussion in 'Mac Programming' started by func, Jul 6, 2009.

  1. macrumors newbie

    Joined:
    Jul 6, 2009
    #1
    I'm developing a map editor for a simple tile-based game.

    Right now I'm trying to use a NSCollectionView as a grid containing all the tiles. The problem is that the collectionview seams to arrange the collection items more like a list rather than like a grid. And if the tiles gets resized the view automatically rearranges the tiles, with animations. I need the tiles position to be static.

    Is there a way to turn off animations in NSCollectionView?

    Is the whole idea with using a NSCollectionView for a tile-based view a bad idea? What are the alternatives?

    Thanks!
     
  2. macrumors 6502a

    GorillaPaws

    Joined:
    Oct 26, 2003
    Location:
    Richmond, VA
    #2
    Have you tried creating an NSMatrix of your views?
     

Share This Page