Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

newformac

macrumors regular
Original poster
May 24, 2011
107
0
Hi all,

i have 2 NSWindow,one is main app window and other is secondary window.

on button click on Main app window i m launching secondary window.

NSTableView use in secondary window.

i want when Secondary Window it show the file name and path of files of given location that is already assign in main window.

please help me for this.

thanks in advance.
 
Last edited by a moderator:

jiminaus

macrumors 65816
Dec 16, 2010
1,449
1
Sydney
So Learner, let's see what you've learnt so far.

What ideas do you have for doing this? May be not detailed plans, but you should by now at least be able to come up broad ideas.

What research have you done around NSListView? (Psst, Cocoa doesn't have a class called NSListView, it does though have a class called NSTableView).

Have you tried anything so far? What's been the results of what you've tried?
 
Last edited:

newformac

macrumors regular
Original poster
May 24, 2011
107
0
How can show file name and path of files in NSTableView on launching of NSWindow?

i have no idea about this sir.

but i really want to learn about this.
 

jiminaus

macrumors 65816
Dec 16, 2010
1,449
1
Sydney
i have no idea about this sir.

but i really want to learn about this.

Okay, perhaps start off by learning about table views. Particularly about creating a data source for a table view. The Table View Programming Guide will teach you about this.

Then come back with some ideas about how you could set up a data source of filenames and paths. I tell you if you're on the right track.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.