On Aug 7, 2011, at 7:17 AM, Graham Cox wrote:
> Your implementation seems to be built on faulty assumptions about how
> views/windows work, which in turn suggests you haven't read the documentation:
>
> http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaViewsGuide/Introd
On Aug 7, 2011, at 5:17 AM, Graham Cox wrote:
On 07/08/2011, at 4:56 PM, James Merkel wrote:
updating of some text boxes in the same window.
But I have fixed that. I just needed an update method for the window
No you don't. Updating a text box is also automatic. There's almost
never
On 07/08/2011, at 4:56 PM, James Merkel wrote:
> updating of some text boxes in the same window.
> But I have fixed that. I just needed an update method for the window
No you don't. Updating a text box is also automatic. There's almost never a
reason to "update a window", views that come from
On Aug 6, 2011, at 6:26 PM, Graham Cox wrote:
On 06/08/2011, at 10:44 PM, James Merkel wrote:
True, I could just update the window. But that seemed like more
work than just going through the closing/opening cycle.
If this seems even remotely true, you're surely doing it wrong.
Incident
On 06/08/2011, at 10:44 PM, James Merkel wrote:
> True, I could just update the window. But that seemed like more work than
> just going through the closing/opening cycle.
If this seems even remotely true, you're surely doing it wrong. Incidentally,
IKImageView/NSImageVIew should handle this
On Aug 6, 2011, at 3:58 AM, Graham Cox wrote:
On 06/08/2011, at 7:07 AM, James Merkel wrote:
In my app, I accept edits in a window, save the edits to a file,
close the window, then reopen the window to show the changes.
With an NSImageView, you get an annoying flash when the window
closes
On 06/08/2011, at 7:07 AM, James Merkel wrote:
> In my app, I accept edits in a window, save the edits to a file, close the
> window, then reopen the window to show the changes.
> With an NSImageView, you get an annoying flash when the window closes and
> then opens again.
> With an IKImageVie
As a follow on to a previous thread on thumbnails, I finally settled
on using Image I/O for creating a thumbnail from a file using a
CGImageRef.
However I could still use an NSImageView or an IKImageView to display
the image.
NSImageView requires converting the CGImageRef to an NSImage, with