Re: Several Questions

2009-06-01 Thread Jelle De Laender
why should your app stops responding? Do you want to detect time-outs (network-times, IO-timeouts, ...) or will your app be crap and full with bugs? On 01 Jun 2009, at 13:19, Ammar Ibrahim wrote: On Mon, Jun 1, 2009 at 6:04 AM, Chris Hanson c...@me.com wrote: On May 30, 2009, at 11:18

Re: About [super dealloc];

2009-06-01 Thread Jelle De Laender
You need to call [super dealloc] when you want to call the dealloc method of the super of your class. (logical, isn't?). Every class has default the next dealloc method: -(void)dealloc { [super dealloc]; } But, when you want to release classes you have initialised in your object,

Re: Several Questions

2009-05-31 Thread Jelle De Laender
Can you give us so more details? For example: What will the app do? Your description is very strange, lol. But indeed, you should create a normal cocoa app that do the stuff you want to do (UI + the real stuff), and a little daemon that checks every X minutes if the other app is running:

Re: String Comparison and return values

2009-05-26 Thread Jelle De Laender
A NSNumber has a 'stringValue' method, but I don't know why you want to compare them at String-level. Jelle, On 26 May 2009, at 10:07, John Ku wrote: That seems to make sense to use NSNumber instead of NSString, thanks it works! But I would think NSString would accept the return numbers

Storing a password (iPhone)

2009-05-04 Thread Jelle De Laender
Hi What is the best way to store a password on the iPhone? I can't take the MD5 hash because I need to be able to work with the original password. Should I create a custom class (with 2 strings) and save them with NSKeyedArchiver with the idea: nobody will read the files (it's

UIView hidden - still drawing the subviews? [SOLVED]

2009-03-17 Thread Jelle De Laender
It seems that the new Interface Builder react very strange on my commands... I've retry it and it works now, just like I expected and just like it should be. So this 'problem' is solved. Begin forwarded message: From: Jelle De Laender maill...@codingmammoth.com Date: Tue 17 Mar 2009 22

Re: [iPhone] NumberPad with the dot

2009-03-17 Thread Jelle De Laender
: http://www.polarbearfarm.com/convert/index.html Layton Duncan Polar Bear Farm http://www.polarbearfarm.com On 17/03/2009, at 11:57 AM, Jelle De Laender wrote: Hi, I was a little bit surprised because the default number pad doesn't contains a dot. I've created an application and the user need

Re: [iPhone] NumberPad with the dot

2009-03-17 Thread Jelle De Laender
applications (no marker), so this is the best way to implement a own keyboard? CodingMammoth.com Jelle De Laender i...@codingmammoth.com On 17 Mar 2009, at 23:22, Dave DeLong wrote: You fake it. Have a non-editable textfield with a custom UILabel subclass on top of it. When the UILabel gets

[iPhone] NumberPad with the dot

2009-03-16 Thread Jelle De Laender
Hi, I was a little bit surprised because the default number pad doesn't contains a dot. I've created an application and the user need to enter decimal numbers. The default number pad is: http://h4xr.org/ifm4 (see UITextInputTraits Protocol Reference) There is an empty space at the

Re: performSelectorOnMainThread

2009-01-10 Thread Jelle De Laender
Don't try to return it but work with 'call by reference' (in stead of call by value). Note: use also a class and not a primitive type, for example: NSNumber CodingMammoth Jelle De Laender i...@codingmammoth.com On 10 Jan 2009, at 20:00, John Love wrote

Re: How to obtain icon displayed by Finder for a file

2009-01-07 Thread Jelle De Laender
Did you try - (NSImage *)iconForFile:(NSString *)fullPath from NSWorkSpace? CodingMammoth Jelle De Laender i...@codingmammoth.com On 07 Jan 2009, at 22:42, David wrote: Hello,Is there a way to obtain the icon that finder uses to display for a file system object? Such things