nsview
WebView Insert / Modify Content dynamically
In my application, i am using WebView to display the content, Now is it possible to modify the content dynamically, the requirement is something like this,[详细]
2023-02-17 02:26 分类:问答Custom Record View in Cocoa Application
I want to create a custom view in a Cocoa application. It\'s basic开发者_开发知识库ally a record view, where the data from multiple database fields is displayed in a long list. Here\'s a quick mockup:[详细]
2023-02-17 00:05 分类:问答Shadow between NSViews
I am currently working on an app which displays a subview with a progress control when it\'s doing some work. The subview appears from the top of the window using animation, and hides back when the op[详细]
2023-02-16 20:01 分类:问答Cocoa: NSView not drawing rect
I have a class called ServerImage (sub of NSView) which I am calling from my AppController but for some reason it won\'t draw to the screen. I have other views which I am able to draw and add images t[详细]
2023-02-16 11:31 分类:问答First Quartz 2D program giving errors... What's the mistake?
I am trying to make my first Quartz 2D app for MAC. I just have my app delegate and a myView class which is as below -[详细]
2023-02-16 07:55 分类:问答Custom NSWindow content margin causes mess up with autoresizing mask
I\'m currently using the method shown in this Cocoa with Love article to create a custom NSWindow subclass. As in the example, I needed to have a roughly 10px margin around the content of the window i[详细]
2023-02-15 17:31 分类:问答Cocoa - Custom NSView in NSMenuItem will not draw
I have a custom NSView which used to get created in a NIB and assigned as the view for an NSMenuItem, which works great, but now I want to create the view in code (for good reason I can assure you) wh[详细]
2023-02-14 17:59 分类:问答Cocoa: awakeFromNib instantiate a NSView subclass drawRect not working
Am I doing something wrong here? If I call my class from the awakeFromNib method I can trace, via a NSLog, that the class is being called up to the initWithFrame method, but the drawRect method is n[详细]
2023-02-14 10:28 分类:问答Cocoa working with a texture atlas
I\'m loading a texture atlas into my app using the drawRect of a NSView subview: NSImage *imageFromBundle = [NSImage imageNamed:@\"sheet1.png\"];[详细]
2023-02-14 09:31 分类:问答Cocoa: Passing texture atlas values to a NSView
I\'m passing values to a method in a NSView subclass - I\'m calling it twice but the drawRect method is only showing the last value passed...the values are coordinates on a texture atlas, not sure if[详细]
2023-02-14 03:38 分类:问答