|
Re: validateUserInterfaceItem not called
I think you should be calling (NSWindow) makeFirstResponder.
Jeremy
I think you should be calling (NSWindow) makeFirstResponder.
Jeremy
|
By
Jeremy Hughes
·
#900
·
|
|
validateUserInterfaceItem not called
I implemented a new feature that brings up an NSTextField for entering data. Once it's done, I call removeFromSuperview() and it goes away as expected. But then validateUserInterfaceItem is no longer
I implemented a new feature that brings up an NSTextField for entering data. Once it's done, I call removeFromSuperview() and it goes away as expected. But then validateUserInterfaceItem is no longer
|
By
John Brownie
·
#899
·
|
|
Re: Some advice requested on debugging a difficult problem. iOS.
The document you cite is about Key Value Coding, not about Objective-C properties. The latter are not implemented using the former.
If a @property declaration specifies a getter or setter method, the
The document you cite is about Key Value Coding, not about Objective-C properties. The latter are not implemented using the former.
If a @property declaration specifies a getter or setter method, the
|
By
Chris Hanson
·
#898
·
|
|
Re: Some advice requested on debugging a difficult problem. iOS.
Alex;
I think you may be going down the wrong path on this one. It sounds more like a second instance is being created somehow. Did you guard the init method so that no one can create a second one,
Alex;
I think you may be going down the wrong path on this one. It sounds more like a second instance is being created somehow. Did you guard the init method so that no one can create a second one,
|
By
Jack Brindle
·
#897
·
|
|
Re: Some advice requested on debugging a difficult problem. iOS.
Yes, unfortunately, that is the correct behavior. This is described
Yes, unfortunately, that is the correct behavior. This is described
|
By
Quincey Morris
·
#896
·
|
|
Re: Some advice requested on debugging a difficult problem. iOS.
At the runtime level, properties are implemented as getter and/or setter methods. The `getter=` syntax just lets you rename the getter method. It doesn’t affect the property name.
It seems a little
At the runtime level, properties are implemented as getter and/or setter methods. The `getter=` syntax just lets you rename the getter method. It doesn’t affect the property name.
It seems a little
|
By
Jens Alfke
·
#895
·
|
|
Re: Some advice requested on debugging a difficult problem. iOS.
I just replicated this in a sample and ran a short test to see what the results are.
@interface MyObject : NSObject
@property(strong, nonatomic, readwrite,getter=getRootAPIData) NSDictionary
I just replicated this in a sample and ran a short test to see what the results are.
@interface MyObject : NSObject
@property(strong, nonatomic, readwrite,getter=getRootAPIData) NSDictionary
|
By
Alex Zavatone
·
#894
·
|
|
Some advice requested on debugging a difficult problem. iOS.
In the iOS app that I’m working on now, we have a problem that I’ve never seen in my years as an iOS programmer.
While we have a 99.7% crash free user experience, what does crash is weird as
In the iOS app that I’m working on now, we have a problem that I’ve never seen in my years as an iOS programmer.
While we have a 99.7% crash free user experience, what does crash is weird as
|
By
Alex Zavatone
·
#893
·
|
|
Re: find standard about panel
There are other NSPanels, that’s not sufficient.
What I came up with was to find an array of visible windows before calling orderFrontStandardAboutPanel:, find an array of visible windows
There are other NSPanels, that’s not sufficient.
What I came up with was to find an array of visible windows before calling orderFrontStandardAboutPanel:, find an array of visible windows
|
By
James Walker
·
#892
·
|
|
Re: find standard about panel
True, but this is a little freeware side project, and I didn’t feel like polishing that much.
True, but this is a little freeware side project, and I didn’t feel like polishing that much.
|
By
James Walker
·
#891
·
|
|
Re: Custom UTIs based on com.apple.package don't always work
Where is it documented that it's wrong? I don't think it's actually wrong. iMovie, for example, has com.apple.iMovieEvent declared both as an exported UTI and as a document type. Besides, it *does*
Where is it documented that it's wrong? I don't think it's actually wrong. iMovie, for example, has com.apple.iMovieEvent declared both as an exported UTI and as a document type. Besides, it *does*
|
By
Steve Mills
·
#890
·
|
|
Re: Custom UTIs based on com.apple.package don't always work
Well, this is kind of wrong. CFBundleTypeExtensions and LSTypeIsPackage should not be specified in the document type when you’re using an exported UTI. I don’t really recall their presence
Well, this is kind of wrong. CFBundleTypeExtensions and LSTypeIsPackage should not be specified in the document type when you’re using an exported UTI. I don’t really recall their presence
|
By
Quincey Morris
·
#889
·
|
|
Custom UTIs based on com.apple.package don't always work
I have a file type all set up in my target's Document Types and Exported UTIs as
I have a file type all set up in my target's Document Types and Exported UTIs as
|
By
Steve Mills
·
#888
·
|
|
Re: find standard about panel
The About window has no name - the title is blank.
it would seem that a more interesting way to do the would be to use the [NSWindow windowNumberWithOptions:] method, which does return an array of
The About window has no name - the title is blank.
it would seem that a more interesting way to do the would be to use the [NSWindow windowNumberWithOptions:] method, which does return an array of
|
By
Jack Brindle
·
#887
·
|
|
Re: find standard about panel
Ah, fair point!
How hard is it then to make your own About box? To bring it up instead of the prebuilt one is a very small change to the ‘About’ menu item, to target a different method.
Making
Ah, fair point!
How hard is it then to make your own About box? To bring it up instead of the prebuilt one is a very small change to the ‘About’ menu item, to target a different method.
Making
|
By
Graham Cox
·
#886
·
|
|
Re: find standard about panel
Well, its class is NSPanel rather than NSWindow - is it sufficient to just hide / show all NSPanels in the app's window list when you're deactivated / activated?
Alternately, you can look at all
Well, its class is NSPanel rather than NSWindow - is it sufficient to just hide / show all NSPanels in the app's window list when you're deactivated / activated?
Alternately, you can look at all
|
By
Jon Gotow
·
#885
·
|
|
Re: find standard about panel
The standard About panel doesn’t exist in a nib, it’s synthesized by AppKit.
The standard About panel doesn’t exist in a nib, it’s synthesized by AppKit.
|
By
James Walker
·
#884
·
|
|
Re: find standard about panel
In Interface Builder, just check the “Hides on Deactivate” checkbox for the panel. That should do it… have you tried it?
—G
In Interface Builder, just check the “Hides on Deactivate” checkbox for the panel. That should do it… have you tried it?
—G
|
By
Graham Cox
·
#883
·
|
|
find standard about panel
How can I find the window produced by -[NSApplication
orderFrontStandardAboutPanel:]? (I’d like to hide the window when my app deactivates.) I know it’s somewhere in the array -[NSApplication
How can I find the window produced by -[NSApplication
orderFrontStandardAboutPanel:]? (I’d like to hide the window when my app deactivates.) I know it’s somewhere in the array -[NSApplication
|
By
James Walker
·
#882
·
|
|
Re: Care to opine on a stack trace
Jens,
Thanks here’s what I have,
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application
Jens,
Thanks here’s what I have,
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application
|
By
Sandor Szatmari
·
#881
·
|