Re: How to make app login window to look like OS X user login window ?
Re: How to make app login window to look like OS X user login window ?
- Subject: Re: How to make app login window to look like OS X user login window ?
- From: Michael Ash <email@hidden>
- Date: Wed, 22 Apr 2009 23:13:44 -0400
On Wed, Apr 22, 2009 at 10:21 PM, Kyle Sluder <email@hidden> wrote:
> On Wed, Apr 22, 2009 at 10:08 PM, Chris Hanson <email@hidden> wrote:
>> And instead of checking network connectivity, your application should just
>> try to use the network and fail gracefully when it's not available. After
>> all, it could go away between when you check and actually start using it, or
>> while you're using it - at that point, what does checking get you?
>
> Avoidance of a timeout, perhaps? Checking reachability might spare
> your user a 5 to 10 second "trying to contact server" spinning
> progress indicator. That 5 to 10 seconds could instead be spent
> smacking oneself for forgetting to turn on AirPort.
Any half-competent network code will error immediately in that
situation, not time out. Any situation where network code will time
out is also a time when reachability will either also time out or will
return a false positive.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden