nsview
Custom ScrollView, How to make NSView setFrame: faster?
I am开发者_如何转开发 making my own ScrollView. here is the code i use for scrolling with mouse wheel or touchpad[详细]
2023-03-18 09:18 分类:问答Redraw NSBezierPath multiple times, with scaling?
I am currently writing many chunks of text on an NSView using the NSString helper method ... however it is very slow to write a large amount of in many cases repeated text. I am trying to re-write the[详细]
2023-03-17 10:02 分类:问答Getting the center point of an NSView
I need to get the center point of a NSView in the form of a CGPoint, how can I achieve开发者_JAVA百科 this?[详细]
2023-03-17 09:46 分类:问答Highlight NSView on Rollover/Click
Upon rolling over or clicking on an NSView, how can I update the view so that I can change the colour and other properties of view? It\'s the redra开发者_如何学JAVAwing of the view which is the key to[详细]
2023-03-17 06:41 分类:问答Translate Colors to Image?
Im not sure how else I should approach it, but if I was to (in my mac application) have a grid of NSViews, which the user can change the colour of each, is it possible to then translate this, so now I[详细]
2023-03-17 06:38 分类:问答CGAffineTransforms on NSViews
I am trying to port some iOS code to Mac OS X. I am having trouble 开发者_开发问答porting this though,[详细]
2023-03-17 06:09 分类:问答Loading different views into a custom view dynamically
I\'ve an application that performs a multi-step process. Each step is implemented as a NSView subclass and I want to navigate between the different views. I\'m trying this by implementing a cust开发者[详细]
2023-03-16 15:29 分类:问答Problem with Position of NSWindow after changing the ContenView
in my application i hav one NSWindow and different CustomViews... my target is just to change the contenView of the window.[详细]
2023-03-13 17:19 分类:问答location of a button/textfield in a view in cocoa
I\'m sorry to ask such a question, but I can\'t seem to find the answer for it from the wild web. I want to find out the location of a NSTextField in my custom view, so I can add other textfields und[详细]
2023-03-13 07:39 分类:问答NSMenuItem's NSView not highlighting in submenu
I have an NSStatusItem that displays an NSMenu full of NSView subclasses. I override drawRect: in my NSView subclass to implement highlighting in the NSMenu and everything works fine in the root menu,[详细]
2023-03-11 04:15 分类:问答