Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / August 2005



Tip: Looking for answers? Try searching our database.

Question about NSTabView

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gary - 28 Aug 2005 12:17 GMT
HI

I don't know if Gorm/Interface Builder questions are on topic in here, the
FAQ doesn't seem to say.

Anyway, I had an application working fine with its NSTableView (the delegate
was my AppController class). I used Interface Builder to create a NSTabView
and then dropped the existing NSTableView into it. Now the NSTableView
doesn't get populated. Hillegass doesn't have much on NSTabView sadly.

Do I need to do something different now that my NSTableView is sitting inside
a NSTabView rather than in the NSWindow?

Signature

remove stars for email
g*a*r*y*c*o*w*e*l*l*a*t*m*a*c*d*o*t*c*o*m

matt neuburg - 28 Aug 2005 16:49 GMT
> Do I need to do something different now that my NSTableView is sitting inside
> a NSTabView rather than in the NSWindow?

An NSTableView can't be "inside" an NSTabView; it can be in an
NSTabViewItem, however. Anyway, the answer is no; you probably just lost
some connection, so recheck them. Keep in mind that the way an NSTabView
works is by ripping a view right out of the window each time you change
NSTabViewItems; this can make a difference to how and when you
populate.... m.

Signature

matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/
Tiger - http://www.takecontrolbooks.com/tiger-customizing.html
AppleScript - http://www.amazon.com/exec/obidos/ASIN/0596005571
Read TidBITS! It's free and smart. http://www.tidbits.com

Gary - 28 Aug 2005 20:30 GMT
> An NSTableView can't be "inside" an NSTabView; it can be in an
> NSTabViewItem, however. Anyway, the answer is no; you probably just lost
> some connection, so recheck them. Keep in mind that the way an NSTabView
> works is by ripping a view right out of the window each time you change
> NSTabViewItems; this can make a difference to how and when you
> populate.... m.

Yep, I'd missed the delegate and datasource. No indication that I had missed
these from IB or XCode! Thanks.

Signature

remove stars for email
g*a*r*y*c*o*w*e*l*l*a*t*m*a*c*d*o*t*c*o*m

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.