I got it to work. The key is to explicitly load the Nib in the
constructor of my NSViewController subclass
- (id)init
{
[NSBundle loadNibNamed:kNibName owner:self];
self = [super initWithNibName:kNibName bundle:nil];
...
}
Checking the result of commitEditing when the user clicks my
What I'm trying to say is that the root of my Nib is a Window since I
use it with NSPanel to display a modal sheet.
The window does have a view which has a text field and a button.
Do I need to have a subclass of NSWindowController just to load the
Nib -and- a NSViewController to manage the text
NSWindowController does not implement commitEditing, though.
NSViewController does but I have to use NSWindowController since my
dialog is a modal window (sheet).
Can I have my cake and eat it too?
On Mon, Jan 7, 2013 at 9:40 PM, jonat...@mugginsoft.com
wrote:
>
> On 2 Jan 2013, at 21:03
Tech Note 2239 refers to 64-bit register details in Listing 10,
Objective-C runtime 'secrets'. These details can be found here
http://developer.apple.com/library/mac/#technotes/tn2124/_index.html
It should be straightforward to translate to ARM and LLDB now.
-
Ah, mea culpa!
This then.
http://developer.apple.com/library/ios/#technotes/tn2239/_index.html
See the listings under Objective-C and the differences under Some
Assembly required.
--
for hire: mac osx device driver ninja. k
Off the top of my head:
po `$rdi`
Works on exceptions, haven't tried with symbolic breakpoints.
Above assumes you are using lldb.
On Wed, Jan 9, 2013 at 2:08 PM, Matt Neuburg wrote:
> When I've set a symbolic breakpoint for an Objective-C method and we pause at
> that breakpoint in assembler,
I have a dialog (sheet) with a single text field and a button.
I'm using Cocoa Bindings to validate the value in the text field and
set a string field in the File's Owner.
This works fine but I would like to trigger the same sequence of
events when pressing the button. How do I do this?
Than
Here's my write-up on using GCD with C++ for inter-thread communication:
http://wagerlabs.com/grand-central-dispatch-c-and-inter-thread-com
I wrote a user land USB driver, put in a framework and made the framework start
the driver thread upon initialization. I then proceeded to use Grand Central
On Feb 16, 2009, at 11:25 PM, Graham Cox wrote:
You tell it everything it needs to know when you register the
settings - how far apart the marks are and how many submarks that is
divided into and so forth. It asks its delegate for everything else.
I just wish it asked the delegate for the
I would like to use NSRulerView to label stock charts. It already
provides the hash marks and seems awfully handly, although the labels
will need adjustment.
Has anyone used NSRulerView with graphic or other non-text views?
I would like to reuse and extend rather than build from scratch.
Richard,
Richard Bannister wrote:
> Folks
>
> I'm working on an app that will be using timestamps in a NSRulerView -
> in the format 0:01, 0:02, et al.
Have you seen this?
http://www.noodlesoft.com/blog/2008/10/05/displaying-line-numbers-with-nstextview/
I'm exploring using NSRulerView for labe
11 matches
Mail list logo