ontroller management of the Open Recent menu is useful in
>> applications that don’t use subclasses of NSDocument.
>>
>> I have subclassed NSDocumentController.
>>
>> I have the Menu structure for there Open Recent menu.
>>
>> I use -noteNewRecentDocumen
On 10/07/2012, at 4:34 AM, koko wrote:
> In some situations, it is worthwhile to subclass NSDocumentController in
> non-NSDocument-based applications to get some of its features. For example,
> the NSDocumentController management of the Open Recent menu is useful in
> application
> the NSDocumentController management of the Open Recent menu is useful in
> applications that don’t use subclasses of NSDocument.
>
> I have subclassed NSDocumentController.
>
> I have the Menu structure for there Open Recent menu.
>
> I use -noteNewRecentDocumentURL:
>
In some situations, it is worthwhile to subclass NSDocumentController in
non-NSDocument-based applications to get some of its features. For example, the
NSDocumentController management of the Open Recent menu is useful in
applications that don’t use subclasses of NSDocument.
I have subclassed
I've not experienced this crash, but the call stack of your crash includes
these lines.
4 com.apple.CoreFoundation CFURLCopyResourcePropertyForKey
5 com.apple.LaunchServices _LSGetIconRefForURL
6 com.apple.LaunchServices LSSharedFileListInsertItemURL
The declaration of LSSharedFileListIns
Hi,
For one of my users my application is always crashing when it tries to add an
entry to the "Open Recent" menu via:
[[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL:
[NSURL fileURLWithPath:folderPath]]
He is running Mac OS X Lion Server 10.7.2. Full s
i need to disable opening any files via the "Open Recent" menu items
until the user has specified some information that i save in my app's
prefs. this situation can occur if the user has deliberately or
accidentally deleted the prefs. now, i can (and do) override
-[NSDoc
On 20.07.2009, at 23:13, Ali Ozer wrote:
You probably want to call this when you open a doc, or revert, or do
"save as..." (if you have any of these commands in your app, of
course).
Das ist fantastisch... 8-( )
[[NSDocumentController sharedDocumentController]
noteNewRecentDocumentURL:
update the
Open Recent menu "manually"? Where to store its items? How to
populate this submenu when my app is loaded?
Or should I use NSDocumentController anyway?
If your app isn't document based, it might complicate things too
much to have an NSDocumentController there (whic
On 20.07.2009, at 21:47, Graham Cox wrote:
... and use a menu delegate to update the menu from this.
This is just what is unclear for me, as I'm still learning Cocoa :)
Do you have in mind that I must:
1 - create an outlet, pointing to "Open Recent" menu item
2 - create an o
y. At least I believe so.
My problem is that Recent menu is empty, because in Cocoa (AFAIK) it
is maintained automatically by NSDocumentController, which is absent
in my app. So, my question is - how to create and update the Open
Recent menu "manually"? Where to store its items?
nu is empty, because in Cocoa (AFAIK) it
is maintained automatically by NSDocumentController, which is absent
in my app. So, my question is - how to create and update the Open
Recent menu "manually"? Where to store its items? How to populate this
submenu when my app is loaded?
int?
>
> ---snip---
> I wonder what I could have done wrong that all document and folder icons
> which are automatically remembered and shown in our app's Open Recent
> menu are shown upside down.
>
> As we didn't change anything related with openDocument: and don'
Noone out there who could give me a hint?
---snip---
I wonder what I could have done wrong that all document and folder icons
which are automatically remembered and shown in our app's Open Recent
menu are shown upside down.
As we didn't change anything related with openDocument:
I wonder what I could have done wrong that all document and folder icons
which are automatically remembered and shown in our app's Open Recent
menu are shown upside down.
As we didn't change anything related with openDocument: and don't
manipulate the Open Recent menu ourse
15 matches
Mail list logo