un another memory /
processor intensive app. I could just quit each one individually but
I guess I'm lazy!
I'm not suggesting anything more sinister!
Thanks to you & everyone for the advice.
Phil
On 28 Aug 2008, at 12:12, Rob Keniger wrote:
On 28/08/2008, at 8:36 PM, Phil F
Is there a simple way to quit all running applications?
Basically I want to achieve the same result as the first stage of
hitting 'shut down' (closing all applications) without actually
shutting down the system.
Thanks.
___
Cocoa-dev mailing list
I'm a newbie myself but this might help you:
As far as I know,
[ob characterAtIndex:]
(replacing with the character you are after)
..will extract the single character at index .
For example:
NSLog(@"%c",[ob characterAtIndex:i]);
Outputs to the console that character in question.
P
I'm trying to learn more about string manipulation and want to be able
to extract a single character from a string. I think I need to use
subStringWithRange (exacting from and to the same character location)
but I'm not sure and I'm also unsure how to code it.
Basically I'm after the equiv
Can anyone direct me to an on-line resource that includes examples of
how to use specific Cocoa commands? (Are things like - (NSString
*)capitalizedString called 'commands' or should I call them something
else?) It's often so much easier to understand how it works by seeing
an example.
Thanks to all who helped me with this challenge of obtaining the
number of characters in a string.
On 20 Jul 2008, at 13:12, Tim Isted wrote:
Try using
[text2 setStringValue:[NSString stringWithFormat:@"%i", [[Field1
stringValue] length]]];
Using setIntValue on a text field won't set the
Still struggling with documentation!
Simple task. I have two text fields (text1 & text2) and all I'm
trying to achieve is to put into text2 a number specifying how many
characters there are in the text in text1.
I started with:
[text2 setStringValue:[text1 stringValue]];
..just to make s
Hi all.
As a relative newbie I'm eager to learn but my biggest stumbling block
is understanding that the XCode's Help>Documentation actually means;
can someone guide me?
For example, if I want to put a substring of a larger string (eg.
"ertyu" from "qwertyuiop") into a second field, I sea