Re: Edit menu localisation, default application menu

2015-07-11 Thread Ulf Dunkel
7;s not that tricky. Visit <https://developer.apple.com/downloads/> and enter "Glossaries" in the search field. Enjoy. ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator c

Re: How to make a TableColumn unsortable

2014-12-17 Thread Ulf Dunkel
Hi Gerriet. Maybe this link can help: http://stackoverflow.com/questions/4311334/how-to-disable-sorting-in-nstableview - - - - - Am 17.12.2014 um 14:29 schrieb Gerriet M. Denkmann: > I tried: myTableColumn.sortDescriptorPrototype = nil; > But clicking in the Header still sorts it. > > What am I

Re: Auto layout without ambiguity

2014-11-02 Thread Ulf Dunkel
> By the way: there was in Xcode a way to test a nib without running the app. > Can't find this anymore in 6.1. > Where is this hiding? I guess this has gone (I also can no longer find it) in favor of using both Auto-Layout and Base Internationalization, where you can view the NIB layouts as if th

Re: NSTableView inside NSTextView

2014-10-17 Thread Ulf Dunkel
Lee Ann, thank you for pointing me to the TextEdit sources which I had already checked. They do not even contain the terms "NSTable" or "NSTextTable" at all. TextEdit seems to keep all text content in a simple NSTextView. They just added the system method -orderFrontTablePanel: to the app menu

Re: NSTableView inside NSTextView

2014-10-16 Thread Ulf Dunkel
-- Charles On Thursday, October 16, 2014 at 8:13, Ulf Dunkel wrote: When I place a table (NSTableView) in an TextEdit document, I can easily resize the column width of any table column using the mouse pointer, just by dragging the column border lines to and fro. In my app, I want to use the same

NSTableView inside NSTextView

2014-10-16 Thread Ulf Dunkel
text there. But I cannot drag the column border lines for resizing columns widths and/or row heights. Is this not possible? ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Re: Memory issues when loading a document

2012-10-23 Thread Ulf Dunkel
again to only keep the required about 900 MB. To me, this seems to be very ineffective. I wonder if there is any way to not decode the document as a kind of monolite, but decode and convert object by object, deallocating RAM after a single object has been created, not when the whole document ha

Memory issues when loading a document

2012-10-23 Thread Ulf Dunkel
he document has been loaded successfully. Is this a wanted behavior of Mac OS X, or are we able to control how much RAM is being allocated in the document load process? ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Localization for nibs

2012-02-23 Thread Ulf Dunkel
ww.icalamus.net/ioda/howto_niblayout.php?lan=en And - oh, adjusting NIBs in multiple languages from a changed base language NIB layout is a piece of cake, using iLocalize. Just my 2 cents, ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: Questions about -orderFrontTablePanel:

2011-09-27 Thread Ulf Dunkel
me to this. So I will file an enhancement request for the -orderFrontTablePanel: documentation and one for the function itself. I'd like to have it toggle its (predefined) menu string and show/hide its panel, like e.g. -orderFrontColorTable: does.

Re: Questions about -orderFrontTablePanel:

2011-09-26 Thread Ulf Dunkel
Really nobody can say something on this topic? - - - - - Am 22.09.2011 11:39, schrieb Ulf Dunkel: I wonder about the functionality of the NSTextView method -orderFrontTableView: but couldn't find answers for my following questions in the documentation or googling. The documentation only

Questions about -orderFrontTablePanel:

2011-09-22 Thread Ulf Dunkel
I wonder about the functionality of the NSTextView method -orderFrontTableView: but couldn't find answers for my following questions in the documentation or googling. The documentation only says: "Brings forward a panel allowing the user to manipulate text tables in the text view.", but it als

Re: How to do Save As... in Lion

2011-09-19 Thread Ulf Dunkel
about any encoding issues, which means when I add any Unicoe character to my previously ASCII saved text, the next save should automatically save it in a Unicode format, with UTF-8 (no BOM) being the best choise by default. ---Ulf Dunkel ___ Coco

Re: finder eject images

2011-07-05 Thread Ulf Dunkel
Tiger)? ---Ulf Dunkel ___ 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:

Re: Why is a button in a window not redrawn when I change its state?

2011-07-05 Thread Ulf Dunkel
;d like to keep it in the main window of this tiny tool. Some folks were curious to know which tool I'm talking about: <http://www.dsd.net/prod/mac/tweakme.php?lan=en&pmode=overview> ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-d

Re: Why is a button in a window not redrawn when I change its state?

2011-07-05 Thread Ulf Dunkel
icial API for what I am doing here, so I fear there's no other nice way of checking if helpd has been launched. I could get rid of this all if I'd "cover" the relevant button in a sheet which isn't visible all the time, but I'd like to keep it in the main window

Re: Why is a button in a window not redrawn when I change its state?

2011-07-04 Thread Ulf Dunkel
Thank you for this hint, Alexander. I wasn't aware that I was still inside the action and that the poor button couldn't do then what I asked it to do. I was quite sure that using -setNeedsDisplay:YES would trigger some auto-redraw stuff somewhen later in the application. - - - - - Am 04.07.

Why is a button in a window not redrawn when I change its state?

2011-07-04 Thread Ulf Dunkel
isplay:YES]; } Can someone please tell me what else I should do to force the redraw? Thank you in advance, ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: How Do I get informed when -showHelp: has been called?

2011-07-04 Thread Ulf Dunkel
]; [... do some other stuff]; } ---Ulf Dunkel ___ 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

Re: How Do I get informed when -showHelp: has been called?

2011-06-29 Thread Ulf Dunkel
I would really like to get a hint on this. Even a simple "not possible" would help. Thank you. :-) - - - - - Am 27.06.2011 22:58, schrieb Ulf Dunkel: In a simple app of mine, I use the standard Help menu and MyApp Help menu item, which is bound to -showHelp:. I would like

Re: Fuzzy string matching

2011-06-29 Thread Ulf Dunkel
element (I'd suggest a slider) to let the user define a looser or tighter distance for better results. ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

How Do I get informed when -showHelp: has been called?

2011-06-27 Thread Ulf Dunkel
. Which other way can I use to receive any information when -showHelp: has been called? TY in advance, ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: tools for writing help books

2011-06-08 Thread Ulf Dunkel
Here is a little How To: http://www.icalamus.net/ioda/howto_subversion.php?lan=en ---Ulf Dunkel ___ 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

Re: How to define allowed file extensions in Info.plist?

2011-05-25 Thread Ulf Dunkel
Thank you for knocking my head on the table, Atze. That simple solution made my day. (Sometimes the Xcode project settings interface drives me nuts.) - - - - - On 25.05.2011 17:06, Alexander Spohr wrote: Sorry for replying in German. I wanted to reply off list only but hit 'reply to all'. T

Re: How to define allowed file extensions in Info.plist?

2011-05-24 Thread Ulf Dunkel
Hi Kyle. On 24.05.2011 17:10, Kyle Sluder wrote: On Tue, May 24, 2011 at 7:05 AM, Ulf Dunkel wrote: Can someone please show me how to? Here is the relevant part of the Info.plist with the current settings for just one file extension (.csv): CFBundleDocumentTypes

Re: How to define allowed file extensions in Info.plist?

2011-05-24 Thread Ulf Dunkel
Hi Christiaan. This is a list for questions about the use of the xcode tool set, so you're at the wrong list. You may have seen that I have xposted to cocoa-dev and xcode-users because I wasn't sure if this refers to cocoa (CFBundleTypeExtensions) or Xcode, where you can set up these parame

How to define allowed file extensions in Info.plist?

2011-05-24 Thread Ulf Dunkel
I wonder how to define that an app should only be able to read and write these types of files: .csv .dat .txt I tried everything I could find in the documentation for CFBundleDocumentTypes but cannot manage to get it to work properly. I also tried to configure it in the app's target's Proper

Re: Edit NSScrollView text

2011-03-22 Thread Ulf Dunkel
lking about the NSTableHeaderView? There doesn't seem to be any Inspector edit field for its content in the integrated IB 4 (yet). Just double-click the header view's cell and edit the string. Maybe this is a IB4 bug and you may want to f

Re: NSTableView: which delegate after a drag operation?

2011-03-10 Thread Ulf Dunkel
be dragged inside their own list. Thank you all for your suggestions and hints. I could now solve these problems. ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Re: NSTableView: which delegate after a drag operation?

2011-03-05 Thread Ulf Dunkel
show updated data. I really don't know which notification or delegate to use for this. Can you give me a notification example, please? ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: NSTableView: which delegate after a drag operation?

2011-03-04 Thread Ulf Dunkel
. Maybe this is just a stupid question, but what do you mean here with "the object array"? ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

NSTableView: which delegate after a drag operation?

2011-03-03 Thread Ulf Dunkel
w position. 2) How can I prevent drag operations from table view A to table view B (and vice versa)? List members shall only be dragged inside their own list. Can you give me a hint how to do this? ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@

Re: NSNumberFormatter issue with method -setLocale

2011-02-25 Thread Ulf Dunkel
er has changed the System Prefs settings for "Language & Text"? The code mentioned below doesn't crash when I exchange autoupdatingCurrentLocale by currentLocale, but of course I don't get any new NSLocale parameters then. - - - - - On 24.02.2011 16:44, Ulf Dunkel wro

Re: NSNumberFormatter issue with method -setLocale

2011-02-25 Thread Ulf Dunkel
Nobody, no hint? - - - - - On 24.02.2011 16:44, Ulf Dunkel wrote: Mac OS 10.6.6 and Xcode 3.2.5: I am playing with NSNumberFormatter stuff for various custom number edit fields, which will e.g. be used to auto-format dpi values, degree values, document measurement values with various format

NSNumberFormatter issue with method -setLocale

2011-02-24 Thread Ulf Dunkel
localeIdentifier]; NSLog(@"%@", localeIdentifier); // outputs e.g. "fr_CA" [self setLocale:autoLocale]; // <-- EXC_BAD_ACCESS // more formatting stuff [...] } I cannot find what I am doing wrong. Can you help, please? ---Ulf Dunkel ___

Re: Help with Apple Helpbooks

2011-02-23 Thread Ulf Dunkel
one is much easier to implement. ;-) ---Ulf Dunkel ___ 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

Re: Help with Apple Helpbooks

2011-02-23 Thread Ulf Dunkel
10.6. You will find more information and a discussion forum in this Apple mailing list: apple-help-author...@lists.apple.com Hope this helps, ---Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moder

Re: File name issue with German umlauts

2010-12-20 Thread Ulf Dunkel
Hi Uli. On 17.12.2010 09:59, Uli Kusterer wrote: Another guess is that the folder he's having an issue with maybe was created by such a wrong way and hence didn't get its name properly normalized ... might be worth trying to re-type the file name in Finder to make sure it's correct? The ap

Re: File name issue with German umlauts

2010-12-17 Thread Ulf Dunkel
Hi Uli. Another guess is that the folder he's having an issue with maybe was created by such a wrong way and hence didn't get its name properly normalized ... might be worth trying to re-type the file name in Finder to make sure it's correct? The folder was created in Finder. No tricks, ju

Re: File name issue with German umlauts

2010-12-17 Thread Ulf Dunkel
Hi Stephen. My issue: When I search for an existing folder named "äöütest", it isn't found, until I enter the search string not via keyboard to a search field in my app, but copy it from the folder name in the Finder and paste it to the search field in my app. Some code here would help figure

File name issue with German umlauts

2010-12-16 Thread Ulf Dunkel
I wonder if I have to handle NSString for folder/file names in a special way. My issue: When I search for an existing folder named "äöütest", it isn't found, until I enter the search string not via keyboard to a search field in my app, but copy it from the folder name in the Finder and paste i

How to highlight only part of the text in a text field?

2010-09-13 Thread Ulf Dunkel
t;). I would like to see only "bar" preselected when the window opens and the myTextField is selected for editing. I guess you folks know how to, while I poke through the documentation. Can you help me out? Thanks in advance, Ulf Dunkel _

Wrong font size in menu items

2010-09-02 Thread Ulf Dunkel
or me? Best regards, Ulf Dunkel ___ 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 you

Re: MainMenu.nib won't load

2010-04-11 Thread Ulf Dunkel
ase class instead of your subclass. I don't know what would be causing that, but you might look in your code for direct messages to NSDocumentController, instead of your subclass. Good luck tracking it down, -Peter On Apr 10, 2010, at 2:43 AM, Ulf Dunkel wrote: I am kind of stuck with a s

MainMenu.nib won't load

2010-04-10 Thread Ulf Dunkel
just grab the multi-lingual app from here: http://www.dsd.net/prod/mac/barcody.php?lan=en&pmode=download (And yes, it happens whatever language and country he sets in his System Prefs.) Clueless, Ulf Dunkel ___ Cocoa-dev mailing list (

Re: How can I use NSTextField like a button?

2008-11-12 Thread Ulf Dunkel
Hi Jean-Daniel. http://developer.apple.com/qa/qa2006/qa1487.html I have implemented this now, but I am stuck in another tiny issue right now. In my NIB file, I use an NSTextField with right alignment. When I use the described -setHyperlinkWithTextField:, the alignment is reset to left align

Re: How can I use NSTextField like a button?

2008-11-12 Thread Ulf Dunkel
I want to use some kind of URL text in a dialog, which the users can click on and which should then open the browser with a specific URL. Ron Fleckner pointed me to this helpful link: http://developer.apple.com/qa/qa2006/qa1487.html I have implemented this now, but I am stuck in another tiny is

How can I use NSTextField like a button?

2008-11-06 Thread Ulf Dunkel
I want to use some kind of URL text in a dialog, which the users can click on and which should then open the browser with a specific URL. Here is an example of how it should look like: http://man.icalamus.net/fr/img/menu/about_unregistered.gif I used an NSTextField with blue text and connected

File icons shown upside down in the Open Recent menu

2008-10-16 Thread Ulf Dunkel
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: and don't manipu

File icons shown upside down in the Open Recent menu

2008-10-11 Thread Ulf Dunkel
lves, I have no idea why the app shows this behaviour under Leopard. Other apps don't show their document or folder icons upside down in the Open Recent menu, so I really wonder if we have forgotten to adjust some parameters for Leopard here. Any

Can I use tool tips with images?

2008-10-11 Thread Ulf Dunkel
I would like to show tool tips for an image which is used in a text ruler representation, like shown here: http://man.icalamus.net/en/img/doc/sample_frame_convertedToText.gif I talk about the image in the upper right corner of the text ruler which shows tabulator options. Users miss tool tips

Re: How do I check if at least one TWAIN device is available

2008-09-17 Thread Ulf Dunkel
How do I check if at least one TWAIN device is available? Really noone out there who could help me with this topic? Or is this no question for cocoa-dev? Then please point me to the right list, thanks. Regards, UlfDunkel ___ Cocoa-dev mailing l

How do I check if at least one TWAIN device is available

2008-09-16 Thread Ulf Dunkel
In TWAINhandler.cpp (by Apple Inc.) and the relevant files, I get all that nice stuff to access a TWAIN data source etc. in my app. The following line in TWAINHandler::selectDS() e.g. opens the 'Select Device' window provided by Mac OS X: DSM_Entry(&mAppIdentity, NULL, DG_CONTROL, DAT_IDENTIT

toggleToolbarShown: How do I localize the menu item strings for non-supported languages?

2008-06-12 Thread Ulf Dunkel
When I add the recommended menu items " Hide Toolbar " " Customize Toolbar... " to my app's View menu, I can give them any text I like, but the "Hide Toolbar" string will be replaced by the system when the app is launched and a document window has been opened. The Action toggleToolbarS

NSToolbarItems - can I define the sorting in the customization palette

2008-06-11 Thread Ulf Dunkel
Is there any method to sort NSToolbarItem objects for the representation in the customization sheet which is shown on runToolbarCustomizationPalette: ? Any help is appreciated. Ulf Dunkel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com