|
Re: validateUserInterfaceItem not called
Alex Zavatone via Groups.Io wrote on 21/4/19 12:16:
That doesn't work, either. I was trying to force it bottom-up (I thought that the next responder would automatically be made first), but it seems to
Alex Zavatone via Groups.Io wrote on 21/4/19 12:16:
That doesn't work, either. I was trying to force it bottom-up (I thought that the next responder would automatically be made first), but it seems to
|
By
John Brownie
·
#904
·
|
|
Re: validateUserInterfaceItem not called
Sorry if this is too late, but isn’t there a resignFirstResponder that you could call on the text field?
Cheers,
Alex Zavatone
Sorry if this is too late, but isn’t there a resignFirstResponder that you could call on the text field?
Cheers,
Alex Zavatone
|
By
Alex Zavatone
·
#903
·
|
|
macOS Drag and Drop onto App Icon
Hi Folks,
I will dispense with a rant about the eroding freedoms and the pains of sandboxing.
My problem is finding a correct (App Store approval) method to enable drag and drop to the App
Hi Folks,
I will dispense with a rant about the eroding freedoms and the pains of sandboxing.
My problem is finding a correct (App Store approval) method to enable drag and drop to the App
|
By
Bill Pitcher
·
#902
·
|
|
Re: validateUserInterfaceItem not called
Thanks, that was it.
John
Jeremy Hughes via Groups.Io wrote on 18/4/19 12:55:
--
John Brownie
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland
Thanks, that was it.
John
Jeremy Hughes via Groups.Io wrote on 18/4/19 12:55:
--
John Brownie
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland
|
By
John Brownie
·
#901
·
|
|
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
·
|