Thanks Gideon.
Turning on the layer backing for all those levels did fix the redrawing problem.
I didn't find out how to fix the layer drawing when the bounds origin has been
moved, but I did work out a workaround.
I added an instance variable to my view (the scrollview's document view):
On 19 Oct 2013, at 03:58, Jerry Krinock je...@ieee.org wrote:
In Core Data documents, I ignore -[NSDocument isDocumentEdited] and instead
use
-[NSManagedObjectContext hasChanges].
In OS X v10.6 and later, this property is key-value observing compliant.
Unfortunately I am not using
Dear list,
I have an app with tabs and I’m trying to change the default 'close' keyboard
equivalent for only the main window which has the tabs. I’d like to have
Main Window with tabs:
close (cmd-shift-w)
close tab (cmd-w)
All other windows:
close (cmd-w)
close
On Oct 19, 2013, at 6:58 AM, Martin Hewitson martin.hewit...@aei.mpg.de wrote:
Main Window with tabs:
close (cmd-shift-w)
close tab (cmd-w)
All other windows:
close (cmd-w)
close tab (inactive, no keyboard shortcut)
This is pretty much the way things work in
On 19 Oct 2013, at 14:27, Andy Lee ag...@mac.com wrote:
On Oct 19, 2013, at 6:58 AM, Martin Hewitson martin.hewit...@aei.mpg.de
wrote:
Main Window with tabs:
close (cmd-shift-w)
close tab (cmd-w)
All other windows:
close (cmd-w)
close tab (inactive, no keyboard
On 18 Oct 2013, at 20:38, Kyle Sluder k...@ksluder.com wrote:
CFBundleGetFunctionPointerForName just calls dlsym.
Sure. NSLog also eventually calls syslog. I still wouldn’t drop down to syslog
for most Cocoa logging needs.
CFBundleGetFunctionPointerForName takes a CFStringRef and if you’re
On 19 Oct 2013, at 01:17, Shane Stanley sstan...@myriad-com.com.au wrote:
On 19 Oct 2013, at 3:15 AM, Uli Kusterer witness.of.teacht...@gmx.net wrote:
this is what you'd do if you wanted to make e.g. CoreFoundation APIs
accessible to a scripting language
That's along the lines of what I
On Oct 19, 2013, at 8:46 AM, Uli Kusterer witness.of.teacht...@gmx.net wrote:
On 19 Oct 2013, at 14:27, Andy Lee ag...@mac.com wrote:
On Oct 19, 2013, at 6:58 AM, Martin Hewitson martin.hewit...@aei.mpg.de
wrote:
Main Window with tabs:
close (cmd-shift-w)
close tab (cmd-w)
On 19 Oct 2013, at 15:04, Andy Lee ag...@mac.com wrote:
My first thought was that the app delegate might not get a validateMenuItem:
message if something earlier in the responder chain handles those menu items.
But you could change the actions of the menu items to something unique to
make
On Oct 19, 2013, at 9:04 AM, Andy Lee ag...@mac.com wrote:
My first thought was that the app delegate might not get a validateMenuItem:
message if something earlier in the responder chain handles those menu items.
But you could change the actions of the menu items to something unique to
Le 19 oct. 2013 à 15:01, Uli Kusterer witness.of.teacht...@gmx.net a écrit :
On 19 Oct 2013, at 01:17, Shane Stanley sstan...@myriad-com.com.au wrote:
On 19 Oct 2013, at 3:15 AM, Uli Kusterer witness.of.teacht...@gmx.net
wrote:
this is what you'd do if you wanted to make e.g.
libclang is more than that.
Xcode code highlighting and code indexing is based on lib clang, as well as
delta compilation. (and I have a remote plan of cloning Xcode for GNUstep)
Also, there was a friend of mine that created a translator that converts code
from a new language to C, and I
On 2013 Oct 19, at 03:38, jonat...@mugginsoft.com wrote:
I don't know if this is a common technique but I use it regularly to track
binding changes.
- (void)setValue:(id)value forKeyPath:(NSString *)keyPath
{
// all bindings that reference self (such as self.representedObject.xxx)
OK, so the idea is,
+ validateMenuItem in app delegate gets a first shot at setting the keyboard
shortcuts
+ I override validateMenuItem in my tabbed window and reset the keyboard
shortcuts
+ Other windows stick with the settings arranged by the app delegate
Did I understand correctly?
Thanks
I’ve considered that as my last resort - I’m not against code as I normally do
most of my work in code and don’t use NIBs as much as I probably should - but
I’m trying to see what is possible via storyboards and a bit of code.
On Oct 18, 2013, at 9:44 PM, Richard Heard heard...@gmail.com
I guess I didn’t understand correctly since my app delegate does not get asked
to validate the Close menu item. So far the only thing that get’s asked to
validate this is the tabbed window object. Even the window’s delegate is not
asked.
The documentation states:
For document-based
On Oct 19, 2013, at 1:32 PM, Martin Hewitson martin.hewit...@aei.mpg.de wrote:
I guess I didn’t understand correctly since my app delegate does not get
asked to validate the Close menu item. So far the only thing that get’s asked
to validate this is the tabbed window object. Even the
On 19, Oct, 2013, at 08:59 pm, Michael Babin mba...@orderndev.com wrote:
On Oct 19, 2013, at 1:32 PM, Martin Hewitson martin.hewit...@aei.mpg.de
wrote:
I guess I didn’t understand correctly since my app delegate does not get
asked to validate the Close menu item. So far the only thing
On Oct 19, 2013, at 12:28 PM, Martin Hewitson martin.hewit...@aei.mpg.de
wrote:
OK, so the idea is,
+ validateMenuItem in app delegate gets a first shot at setting the keyboard
shortcuts
+ I override validateMenuItem in my tabbed window and reset the keyboard
shortcuts
+ Other windows
Uli and I both remembered the app delegate is checked *after* the
window-related objects in the responder chain, which is what you discovered.
I *thought* you could work around this by changing the actions of the Close
menu items to methods that only the app delegate implements. But you really
Rather than rely on intercepting responder chain-based validation, wouldn't it
be much easier and more reliable to make some object the delegate of all of
your NSMenus and implement -menuNeedsUpdate:?
--Kyle Sluder
On Oct 19, 2013, at 1:28 PM, Andy Lee ag...@mac.com wrote:
Uli and I both
I created a simple project that uses a modal window. The quit
execution works are stated in the docs even though the window is modal.
Which means I am doing something wrong. More investigating to do.
On
19/10/2013, at 3:01 PM, Ken Thomases wrote:
On Oct 18, 2013, at
6:35 PM,
I have an array of objects. These objects may have some dynamic properties
handled with valueForUndefinedKey.
If I create a predicate along the lines of:
myObject.proertyA = something AND
myObject.proertyB = somethingElse AND
myObject.dynamicPropertyA = someOtherThing
How can I look at
On Oct 19, 2013, at 10:44 PM, Trygve Inda wrote:
I have an array of objects. These objects may have some dynamic properties
handled with valueForUndefinedKey.
If I create a predicate along the lines of:
myObject.proertyA = something AND
myObject.proertyB = somethingElse AND
On Oct 19, 2013, at 10:44 PM, Trygve Inda wrote:
I have an array of objects. These objects may have some dynamic properties
handled with valueForUndefinedKey.
If I create a predicate along the lines of:
myObject.proertyA = something AND
myObject.proertyB = somethingElse AND
25 matches
Mail list logo