Skip to content

Instantly share code, notes, and snippets.

@marick
Created June 1, 2010 17:47
Show Gist options
  • Save marick/421227 to your computer and use it in GitHub Desktop.
Save marick/421227 to your computer and use it in GitHub Desktop.
def load(ignoredNotification)
# If a user gesture provoked this notification, we have
# to give UI objects' responses a chance to get painted
# on the screen before we start hogging processing.
postNotificationAfterRunLoop(News::ResumeDeferredLoad, self)
end
def resumeDeferredLoad(notification)
remove_observer_of_named_notification(self, News::ResumeDeferredLoad)
result = @savon_client.get_full_directory_list
transfer_finished(result)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment