On Jun 24, 2009, at 1:49 AM, Chris(吴潮江) wrote:
On Jun 24, 2009, at 2:28 AM, Ken Thomases wrote:
You probably don't need to use a background thread to do FTP. You
can do it using asynchronous methods on the main thread. Since
you can, you probably should. It's almost always less error
On Jun 24, 2009, at 2:28 AM, Ken Thomases wrote:
You probably don't need to use a background thread to do FTP. You can do
it using asynchronous methods on the main thread. Since you can, you
probably should. It's almost always less error prone and even more
efficient.
Considering t
On Jun 24, 2009, at 1:12 AM, Chris(吴潮江) wrote:
I have some problems when to using thread. As we all know, there is
a method to create a thread,
+ (void)detachNewThreadSelector:(SEL)aSelector toTarget:(id)aTarget
withObject:(id)anArgument.
- (void)aSelector:(id)anArgument
{
NSAutoreleasePo
Hi,
I have some problems when to using thread. As we all know, there is a method to
create a thread,
+ (void)detachNewThreadSelector:(SEL)aSelector toTarget:(id)aTarget
withObject:(id)anArgument.
- (void)aSelector:(id)anArgument
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];