Hot to get path of image on imageBrowserSelectionDidChange

Discussion in 'Mac Programming' started by mkristain, Sep 26, 2011.

  1. mkristain macrumors regular

    Aug 18, 2011
    hi ,

    i want to get path on imageBrowserSelectionDidChange,i got the selected image index using below code.

    - (void) imageBrowserSelectionDidChange:(IKImageBrowserView *)aBrowser
    	NSArray *tempArray = [images objectsAtIndexes:[imageBrowser selectionIndexes]];
    	MyImageObject *item;
    	item = [tempArray objectAtIndex:0];
    when i chk the MyImageObject variable item in debugger,it shows the NSObject and NSPathStore2, but i don't know how can i get the path in NSString so please help me to do this.

    thanks in advance.
  2. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset
    Google NSPathStore2 and see what you can learn about it.
  3. mkristain thread starter macrumors regular

    Aug 18, 2011

Share This Page