Re: -NSMutableIndexSet shiftIndexesStartingAtIndex:by: weirdness

2009-09-17 Thread Tommy Nordgren
bscription: http://lists.apple.com/mailman/options/cocoa-dev/tommy.nordgren%40comhem.se This email sent to tommy.nordg...@comhem.se -- Skinheads are so tired of immigration, that they are going to move to a country that don't accept immigrants! Tommy Nordgren tommy.

Objective C Compiler Settings

2009-06-28 Thread Tommy Nordgren
eating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What parody?" Tommy Nordgren tommy.nordg...@comhem.se ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r

Re: GC bug in NSFontManager?

2009-06-30 Thread Tommy Nordgren
Tommy Nordgren tommy.nordg...@comhem.se ___ 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

Re: GC bug in NSFontManager?

2009-06-30 Thread Tommy Nordgren
On Jul 1, 2009, at 1:57 AM, Tommy Nordgren wrote: On Jun 30, 2009, at 11:48 PM, Ross Carter wrote: On Jun 30, 2009, at 3:33 PM, Quincey Morris wrote: On Jun 30, 2009, at 11:34, Ross Carter wrote: I am receiving crash reports for code that enumerates an array returned by NSFontManager

Re: GC bug in NSFontManager?

2009-07-01 Thread Tommy Nordgren
On Jul 1, 2009, at 5:34 PM, Ross Carter wrote: On Jun 30, 2009, at 7:57 PM, Tommy Nordgren wrote: Is CCMApp an NSApplication subclass. This stack trace seems to indicate that there is an instance of it in your nib/xib file. Nope, it's the application delegate. The principal cla

Re: How do I track down an OSStatus error code?

2009-07-21 Thread Tommy Nordgren
fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Dane women Tommy Nordgren tommy.nordg...@comhem.se ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Quit iTunes

2008-05-24 Thread Tommy Nordgren
e you are born, but where your heart finds peace" - Tommy Nordgren, "The dying old crone" [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Conta

Re: Quit iTunes

2008-05-24 Thread Tommy Nordgren
a while and I found aevtquit but I can't find out how to send. On May 24, 2008, at 11:13 AM, Tommy Nordgren wrote: On 24 maj 2008, at 17.49, Mr. Gecko wrote: How would I quit iTunes. There is a way to launch it with NSWorkspace but how about quit?

Re: looking for a crc code

2008-06-14 Thread Tommy Nordgren
2: In order to compare your code should print with the %x command line directive , since the command line tool you compare with uses hexadecimal -- What is a woman that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, h

Re: Creating AppControllers in InterfaceBuilder 3.1

2008-06-30 Thread Tommy Nordgren
new way to do that but I can't find it. Any help appreciated You create the files from an XCode file template, and drag the header file into IB - This sig is dedicated to the advancement of Nuclear Power T

Re: How to converting a Carbon nib to Cocoa?

2008-07-03 Thread Tommy Nordgren
o a country that don't accept immigrants! Tommy Nordgren [EMAIL PROTECTED] ___ 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(

Re: How to converting a Carbon nib to Cocoa?

2008-07-03 Thread Tommy Nordgren
On 3 jul 2008, at 14.54, Kyle Sluder wrote: On Thu, Jul 3, 2008 at 8:27 AM, Tommy Nordgren <[EMAIL PROTECTED] > wrote: So it is a matter of writing and applying a suitable xsl stylesheet file. The transformations required to obtain a meaningful Cocoa XIB from a Carbon NIB are impossi

Re: Hillegass, Third Edition, Chapter 18

2008-07-15 Thread Tommy Nordgren
el: Invasion of the man eating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What parody?" Tommy Nordgren [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not p

Re: Trouble with Scripting Bridge

2008-08-31 Thread Tommy Nordgren
ating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What parody?" Tommy Nordgren [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques

Re: Finding other apps' paths - deterministically!

2008-09-20 Thread Tommy Nordgren
- What is a woman that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Dane women Tommy Nordgren [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.co

Re: Finding other apps' paths - deterministically!

2008-09-21 Thread Tommy Nordgren
On Sep 21, 2008, at 6:36 AM, Michael Ash wrote: On Sat, Sep 20, 2008 at 12:57 PM, Tommy Nordgren <[EMAIL PROTECTED]> wrote: Use NSTask with the command line find -x / -name '*.app' Do this on a separate thread, and cache the result. I highly recommend against th

Re: Finding other apps' paths - deterministically!

2008-09-21 Thread Tommy Nordgren
On Sep 21, 2008, at 11:25 PM, Peter O'Gorman wrote: Peter O'Gorman wrote: Tommy Nordgren wrote: On Sep 21, 2008, at 6:36 AM, Michael Ash wrote: On Sat, Sep 20, 2008 at 12:57 PM, Tommy Nordgren <[EMAIL PROTECTED]> wrote: Use NSTask with the command line find -x

Re: Restoring a .nib's Edit menu

2008-09-28 Thread Tommy Nordgren
? Thank you very much for your time Generate a new project from the same template your project is instantiated from. Then you can open both nibs in IB to compare them manually. -- Skinheads are so tired of immigration, that they are going to move to a country

Re: Where is mach_port_deallocate()?

2008-04-21 Thread Tommy Nordgren
. --- See the amazing new SF reel: Invasion of the man eating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What parody?" Tommy Nordgren [EMAIL PROTECTED] ___ Cocoa-d

Re: controlTextDidChange for UITextField?

2008-12-14 Thread Tommy Nordgren
still available -- Skinheads are so tired of immigration, that they are going to move to a country that don't accept immigrants! Tommy Nordgren tommy.nordg...@comhem.se ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r

Re: More - Safari Download Security Alerts

2008-12-16 Thread Tommy Nordgren
t where you are born, but where your heart finds peace" - Tommy Nordgren, "The dying old crone" tommy.nordg...@comhem.se ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the l

Needed : set class for Cocoa

2009-02-05 Thread Tommy Nordgren
[someSet add: s2]; // After these calls, someSet should contain 2 elements because s1 != s2 by pointer semantics -- "Home is not where you are born, but where your heart finds peace" - Tommy Nordgren, "The dying

Re: Needed : set class for Cocoa

2009-02-05 Thread Tommy Nordgren
On Feb 6, 2009, at 1:18 AM, Sean McBride wrote: Tommy Nordgren (tommy.nordg...@comhem.se) on 2009-02-06 6:29 PM said: Do anyone know of a set container class for Cocoa objects, that use pointer semantics. Like this: NSMutableString * s1 = [@"Hello" mutableCopy], * s2

Re: Needed : set class for Cocoa

2009-02-06 Thread Tommy Nordgren
On Feb 6, 2009, at 2:50 AM, Sean McBride wrote: Tommy Nordgren (tommy.nordg...@comhem.se) on 2009-02-06 7:55 PM said: I have decided to do an implementation myself, as an objective c++ wrapper to std::set. I want to use the class to aid in destruction of directed cyclical object graphs, in

Re: Moving oneself to /Applications (or ~/Applications)

2009-02-23 Thread Tommy Nordgren
-- How many National Democrats does it take to change a light bulb? 108: 8 who smashes the rest of the light bulbs, and 100 to blame a zionist world conspiracy for the darkness -- Tommy Nordgren tommy.nordg...@comhem.se ___

Re: Help with recursive includes

2009-02-23 Thread Tommy Nordgren
em if you applies it consistenly -- What is a woman that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Dane women Tommy Nordgren tommy.nordg...@comhem.se ___ Cocoa-dev mai

Re: Moving oneself to /Applications (or ~/Applications)

2009-02-23 Thread Tommy Nordgren
ad nothing to do with his question, just assumptions, I think some help would've been more appropriate. On Feb 23, 2009, at 5:25 PM, Tommy Nordgren wrote: On Feb 18, 2009, at 7:28 AM, Ben Lachman wrote: Hi all: I'm wanting to move away from DMGs to ZIP delivery. As part of

Re: Moving oneself to /Applications (or ~/Applications)

2009-02-23 Thread Tommy Nordgren
elp would've been more appropriate. On Feb 23, 2009, at 5:25 PM, Tommy Nordgren wrote: On Feb 18, 2009, at 7:28 AM, Ben Lachman wrote: Hi all: I'm wanting to move away from DMGs to ZIP delivery. As part of this move I'd like to have my app, SousChef, prompt the use

Re: Moving oneself to /Applications (or ~/Applications)

2009-02-23 Thread Tommy Nordgren
On Feb 24, 2009, at 3:34 AM, Shawn Erickson wrote: On Mon, Feb 23, 2009 at 6:22 PM, Tommy Nordgren wrote: The following code will test if you are running from the DMG: NSString * volName = @"Mother"; NSString * appName = @"MyApp.app"; if ([[[NSBundle mainBundle] b

Re: Moving oneself to /Applications (or ~/Applications)

2009-02-23 Thread Tommy Nordgren
ume containing the app is removeable will match for ANY volume except the boot volume. --- Engineers supporting greenpeace: Comparable to Afroamericans who wants to join the Ku Klux Klan ---- Tommy Nordgren

Re: Moving oneself to /Applications (or ~/Applications)

2009-02-23 Thread Tommy Nordgren
On Feb 24, 2009, at 3:34 AM, Shawn Erickson wrote: On Mon, Feb 23, 2009 at 6:22 PM, Tommy Nordgren wrote: The following code will test if you are running from the DMG: NSString * volName = @"Mother"; NSString * appName = @"MyApp.app"; if ([[[NSBundle mainBundle] b

Re: Security - Write to protected directory

2008-10-24 Thread Tommy Nordgren
ke her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Dane women Tommy Nordgren [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques

Cocoa and Printing (Advanced Q)

2008-10-26 Thread Tommy Nordgren
finds peace" - Tommy Nordgren, "The dying old crone" [EMAIL PROTECTED] ___ 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)l

Re: How to check the number of pending events in the application event queue?

2008-10-27 Thread Tommy Nordgren
events, whereas I'd like it to return nil. Any other suggestions? ___ Use a separate thread. -- "Home is not where you are born, but where your heart finds peace" - Tommy Nordgren

Re: Cocoa and Printing (Advanced Q)

2008-10-28 Thread Tommy Nordgren
On 27 okt 2008, at 18.42, David Duncan wrote: On Oct 26, 2008, at 3:06 PM, Tommy Nordgren wrote: A specific printer can be used ONLY by a special app. Any printer that can be seen by Print Center can be used by all applications by default. If you are a printer vendor, then you can do

Re: Porting from Windows to Mac

2008-10-30 Thread Tommy Nordgren
you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Dane women Tommy Nordgren [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: When and how often do you mix C++ with Objective C in your project?

2008-11-02 Thread Tommy Nordgren
mmy.nordgren%40comhem.se This email sent to [EMAIL PROTECTED] -- The three things an undertaker should never say to a client: -Nice doing business with you. -Welcome back. -Have a nice day. (The King of ID) -- Tommy Nordgren [EMAIL PROTECT

Re: Inviting to comment on Cocoa categories

2008-11-09 Thread Tommy Nordgren
On 10 nov 2008, at 00.07, Graham Cox wrote: On 10 Nov 2008, at 5:47 am, Tommy Nordgren wrote: // TN+NSAffineTransform.h @interface NSAffineTransform (TNGraphics) A comment on naming conventions. It doesn't matter that much especially if you are just using them privately, but th

Cocoa and NSLog

2008-11-09 Thread Tommy Nordgren
Is it possible to open an Additional file for use by logging in Cocoa (I want it to contain ONLY the info logged from my App) -- "Home is not where you are born, but where your heart finds peace" - Tommy Nordgren, "The dying ol

Inviting to comment on Cocoa categories

2008-11-09 Thread Tommy Nordgren
I would like comments on other suitable methods to be added, and alternate protocols to set up input data. I'm not including the code in the body of the message,but as Attachments. // // TN+NSAffineTransform.h // GraphicsUtilities // // Created by Tommy Nordgren ([EMAIL PROTECTED]

Re: Cocoa and NSLog

2008-11-14 Thread Tommy Nordgren
On 10 nov 2008, at 07.16, Marcus wrote: 9 nov 2008 kl. 23.03 skrev Tommy Nordgren: Is it possible to open an Additional file for use by logging in Cocoa (I want it to contain ONLY the info logged from my App) You can do that by just redirect standard error to a file. Since each process

Re: Using a string as filepath

2008-11-28 Thread Tommy Nordgren
or something else), but that is not very elegant and feels like fighting the framework. Cheers, Knut try using -[NSString fileSystemRepresentation] -- What is a woman that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, ha

Re: Fast dictionary with integer keys?

2009-03-15 Thread Tommy Nordgren
inter: mymap = new std::map and use it like this: (*mymap) [integervalue] = someid; --- See the amazing new SF reel: Invasion of the man eating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What parody?"

Re: Fast dictionary with integer keys?

2009-03-15 Thread Tommy Nordgren
On Mar 16, 2009, at 1:35 AM, Joseph Kelly wrote: On Mar 15, 2009, at 12:18 PM, Tommy Nordgren wrote: You can write your implementation file in Objective C++ , and use std::map You can also use std::hashmap . It uses a hash table instead of a balanced binary tree. This is however

Re: KVO Code Breaks Undo

2009-03-28 Thread Tommy Nordgren
sion of the man eating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What parody?" Tommy Nordgren tommy.nordg...@comhem.se ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do n

Re: Need localization-proof method of transporting dates.

2009-04-04 Thread Tommy Nordgren
dates as strings, in standard Iso Text Format (-mm-ss) --- See the amazing new SF reel: Invasion of the man eating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What

Re: C numerical libraries for integrating with Cocoa

2009-04-23 Thread Tommy Nordgren
of the Dane women Tommy Nordgren tommy.nordg...@comhem.se ___ 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 Hel

Re: Why is -makeWindowControllers getting called twice?

2009-05-04 Thread Tommy Nordgren
uter space. On congratulations for a fantastic parody, the producer replies : "What parody?" Tommy Nordgren tommy.nordg...@comhem.se ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comm

Re: Event Logging

2008-02-26 Thread Tommy Nordgren
x27;t used it before. Is it best to use this method or to use File Manager? Many thanks. Phil. freopen is a standard ANSI/ISO library function. -- "Home is not where you are born, but where your heart finds peace" - Tommy

Re: Bypassing inter-cell navigation for NSButtonCell in NSOutlineView

2008-03-02 Thread Tommy Nordgren
ipling, harp song of the Dane women Tommy Nordgren [EMAIL PROTECTED] ___ 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)list