nsview
CoreUI console message
After switching to Lion I started having strange message in the debug console: CoreUI: Unable to lookup effect preset with Style 4 for {Normal, Active, On/Blue}[详细]
2023-04-03 16:31 分类:问答Is this disclosure button like view a standard view?
There is a view used frequently in Mac applications, for example, Mail, iTunes: . But I didn\'t find it in th开发者_如何学运维e library. Is there any third-party implementation?Not sure if it\'s inclu[详细]
2023-04-03 13:36 分类:问答How to make NSWindow accept mouseMove events immediately after opening?
I am writing an application using cocoa which, in some point (surprise), opens window. There is a \"Hover\" functionality in this window, and for that I need to accept mouseMoved events. I managed to[详细]
2023-04-03 11:36 分类:问答Programmatically resizing and Scrolling NSView after application launch
I want to create a simple application which performs some calculations and then draws some images on view. I use NSBezierPath. Then I must resize t开发者_JAVA技巧he view and allow people scroll the fi[详细]
2023-04-02 15:15 分类:问答Setting NSView default property value based on initial bounds
I need to set a property of an NSView loaded from a Nib calculated using its initial bounds. Its bounds is still null inside - (void)awakeFromNib, so what is the first开发者_如何学编程 point in the vi[详细]
2023-04-02 11:31 分类:问答Animated rotation of NSView contents
I\'m trying to rotate the contents of an NSView (NSButton) in-place (I.e. from the center. I want to convert - into |).This can be done with setFrameCenterRotation: …However, I\'m trying to ani开发者[详细]
2023-04-02 10:33 分类:问答NSView change type of property animation
I have an NSButton that I\'d like to animate when I call [button setHidden: NO];However, I don\'t want the default fade animation, I\'d like a slide-from-left animation instead.[详细]
2023-04-02 10:33 分类:问答Quartz is drawing on a different window
I am trying to draw some pixels (NSRects that are 1x1) on a NSWindow in mac os, but when I do that it randomly pics a window to draw it o开发者_开发问答n (see below). It is supposed to be on the left[详细]
2023-04-01 22:57 分类:问答Dragging the view
I have an NSView which I am adding as a sub-view of another NSView. I want to be able to drag the first NSView around the parent view. I have some code that is partially working but there\'s an issue[详细]
2023-03-31 07:46 分类:问答Getting NSView to appear programmatically in Objective-C
I have a NSView object that is being returned to me as a result of a function.I know the view is valid because I can see the contents of the view if I do this:[详细]
2023-03-28 06:06 分类:问答