I'm trying to mimic the following automatic behavior of
NSTableView/NSOutlineView:
When drawing NSImageCells that use a "template" NSImage (either because the
image name ends with "Template" or because -[NSImage setTemplate:YES] was
called), the table view automatically renders the image in whi
Hi everyone,
I am trying to implement "promise" type file drags from my app to the Finder
using the new, 10.6-and-later NSPasteboardItem APIs. I found almost no
information about it, and it didn't seem to make sense.
It starts in the outlineView:writeItems:toPasteboard: method of my
NSOutlineV
> No more .ibplugins in Xcode 4, so now what...?
I've faced the same problem, and found no elegant solution. Removing
dependencies on external plug-ins from a large IB file is tedious and
error-prone. Maybe it's unreasonable to think that Xcode will support plug-ins
again, but I'm still hopeful
The KVC infrastructure did not always generate value-changed
notifications for setValue:forUndefinedKey: overrides.
The setValue:forUndefinedKey: override should have nothing to do
with it. It's the setValue:forKey: call -- the one which provokes
the call to setValue:forUndefinedKey: --
On Aug 8, 2009, at 2:37 PM, Keary Suska wrote:
It used to be that if you overrode -[NSObject
setValue:forUndefinedKey:] your own subclass was responsible for
calling -[NSObject will/didChangeValueForKey: so that bindings and
observers would work as expected.
That was fine, since it allowed one
It used to be that if you overrode -[NSObject
setValue:forUndefinedKey:] your own subclass was responsible for
calling -[NSObject will/didChangeValueForKey: so that bindings and
observers would work as expected.
That was fine, since it allowed one to provide different
implementations depe