• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to wait for methods with result/completion blocks to finish?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to wait for methods with result/completion blocks to finish?


  • Subject: Re: How to wait for methods with result/completion blocks to finish?
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 08 Mar 2011 18:13:21 -0800

On Tue, Mar 8, 2011 at 5:45 PM, Matt Neuburg <email@hidden> wrote:
>> when they tap the "photo library"
>> button, we (as Kyle said) "throwing up a modal 'please wait' UI"
>
> Rather, I'd ask myself why the user is able to tap the photo library button at all, if the photo library is not available. Don't make the user wrong by providing a button and then punishing the user for tapping it. The button should instead disappear, perhaps, or become inactive, or be replaced by a spinning activity indicator. This is why we're maintaining state in the controller; at any given moment, the interface should reflect the state of things and the range of possible steps that the user can perform, and the controller can consult its state to make it so. Even if you were to switch temporarily to a modal view that just says Saving, that's better than having a button that slaps the user's hand. That's my philosophy, anyway... But this is no longer an architectural matter, but a sheer problem of philosophy and how you want the user to feel about your app. m.

Allowing the user to perform an action that requires some work isn't
punishing the user. Now allowing them to cancel the operation without
a good reason is punishing the user.

There's no reason to load all the camera roll contents before the user
requests the camera roll. Let the user tap the button and throw up a
*non-modal* progress indicator that still allows them to back out of
the camera roll if they don't want to wait. If they haven't backed out
by the time the background loading is complete, take away the progress
indicator and show them the contents.

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: How to wait for methods with result/completion blocks to finish?
      • From: Kyle Sluder <email@hidden>
References: 
 >Re: How to wait for methods with result/completion blocks to finish? (From: Matt Neuburg <email@hidden>)
 >Re: How to wait for methods with result/completion blocks to finish? (From: Chris Markle <email@hidden>)
 >Re: How to wait for methods with result/completion blocks to finish? (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: How to wait for methods with result/completion blocks to finish?
  • Next by Date: Re: How to wait for methods with result/completion blocks to finish?
  • Previous by thread: Re: How to wait for methods with result/completion blocks to finish?
  • Next by thread: Re: How to wait for methods with result/completion blocks to finish?
  • Index(es):
    • Date
    • Thread