nsviewcontroller
NSView high-level overview?
I am trying to create a custom view and load it into a window. In the end, I know there will be a few steps to follow, reflecting the key relationships that I am missing. I am hoping someone can exp[详细]
2023-01-20 14:05 分类:问答Loading NSView from NIB won't work
I have this code to load an NSView from a NIB and add it to another NSView: // INIT - (void)awakeFromNib {[详细]
2023-01-19 22:29 分类:问答Resizing Nested NSViews
In order to categorize a wide variety of unique views, I have an elaborate setup: main categories are selected via a toolbar, and then specific panes are selected in a category\'s NSScrollView. This l[详细]
2023-01-15 10:41 分类:问答How to have a NSViewController who's view's content depends on the way it's initialized?
This is actually a two part question, hope my explanation is clear: I have an NSViewController which can be configured to show a different custom view on part of its view. For example, its view can s[详细]
2023-01-07 23:05 分类:问答How to display a subview loaded from a separate NIB file
I\'m developing a Cocoa desktop appl开发者_开发技巧ication that uses a source list in the style of iTunes: different elements in the source list cause the main content area to display different views.[详细]
2023-01-02 11:45 分类:问答Is it possible to get an NSView to pass rightMouseDown: to the next responder without subclassing?
I have a view which contains a few subviews: mainView subViewA subViewB SubViewC mainView is an NSView constructed from a nib and is controlled with an NSViewController subclass. The subviews are s[详细]
2023-01-01 21:12 分类:问答Binding selection across multiple view controllers in a single window interface
I am having an issue wrapping my head around how to hook up a few NSArrayControllers across two view controllers.I want to sync the selection in the source list table view to update the values in the[详细]
2022-12-21 14:52 分类:问答Why "add subview" not work?
I try add subview but not work. My code is: HomeViewController* homeViewController = [[HomeViewController alloc] initWithNibName:@\"HomeView\" bundle:nil];[详细]
2022-12-20 12:09 分类:问答Passing CoreData content to a NSViewController
I\'ve started to move to using NSViewControllers and I can\'t for the life of me figure out how to get content from a CoreData entity to a TableView (for example) throu开发者_JAVA百科gh a NSViewContro[详细]
2022-12-15 19:10 分类:问答NSView inside self window
I h开发者_StackOverflow社区ave basic *.xib file, which have NSView. How can I use another nib files for this Custom View? What is NSViewController and how should I use it?Generally, you create a new[详细]
2022-12-15 17:25 分类:问答
加载中,请稍侯......