For the one-argument initializer, the name is used to figure out where the
model file is. But I’m using the two-argument initializer, where I already give
the model file’s location (because it’s in my framework’s bundle). Can I just
put any random thing there (even an empty string), or is the
Have you tried printing the responder chain when this happens? But as others
have said, funnelling all menu choices through a menuClick: method sounds
backwards.
On 12 Feb 2017, at 18:01, Andreas Falkenhahn wrote:
> I'm experiencing a strange issue with my app.
When I was typing in a test object of type NSPersistentStoreDescription (on
Xcode 8 with Swift 3), the auto-complete gave me two initializers. Besides the
documented one that takes a URL, there’s one that takes no arguments. Its own
notes say it’s for subclasses. I, however, am describing an
Another possibility is that the target (app delegate) overrides
-validateMenuItem: and isn’t doing the right thing.
—Graham
> On 13 Feb 2017, at 7:55 AM, Kyle Sluder wrote:
>
>>>
>>> On Feb 12, 2017, at 12:36 PM, Andreas Falkenhahn
>>> wrote:
>> On Feb 12, 2017, at 12:36 PM, Andreas Falkenhahn
>> wrote:
>
>
>> On 12.02.2017 at 21:29 Kyle Sluder wrote:
>>
>> You’ve wired up every single menu item to a single action in your app
>> delegate? That’s certainly non-standard.
>
> It's really old code. It's an
On 12.02.2017 at 21:29 Kyle Sluder wrote:
> You’ve wired up every single menu item to a single action in your app
> delegate? That’s certainly non-standard.
It's really old code. It's an Xcode project I originally created on a
PowerPC Mac some 10 years ago, so I don't really remember how I used
On 12.02.2017 at 20:44 Alexander Reichstadt wrote:
> Do you subclass NSApplication or alter the responder chain?
No, not doing any of that.
--
Best regards,
Andreas Falkenhahnmailto:andr...@falkenhahn.com
___
Cocoa-dev
On Sun, Feb 12, 2017, at 11:01 AM, Andreas Falkenhahn wrote:
> I'm experiencing a strange issue with my app. Sometimes, maybe in 1 out
> of 10
> programs starts, all menus of my app are grayed out, including standard
> menus
> like "Services", "Hide XXX", "Hide Others", "Show All", "Minimize",
>
On 12.02.2017 at 19:21 Ken Thomases wrote:
> On Feb 12, 2017, at 11:01 AM, Andreas Falkenhahn
> wrote:
>> I'm experiencing a strange issue with my app. Sometimes, maybe in 1 out of 10
>> programs starts, all menus of my app are grayed out, including standard menus
>>
On Feb 12, 2017, at 11:01 AM, Andreas Falkenhahn wrote:
>
> I'm experiencing a strange issue with my app. Sometimes, maybe in 1 out of 10
> programs starts, all menus of my app are grayed out, including standard menus
> like "Services", "Hide XXX", "Hide Others", "Show
I'm experiencing a strange issue with my app. Sometimes, maybe in 1 out of 10
programs starts, all menus of my app are grayed out, including standard menus
like "Services", "Hide XXX", "Hide Others", "Show All", "Minimize", "Zoom",
"Bring All To Front", really everything is grayed out right after
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
12 matches
Mail list logo