• 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
awakeFromSnapshotEvents: flags == 128?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

awakeFromSnapshotEvents: flags == 128?


  • Subject: awakeFromSnapshotEvents: flags == 128?
  • From: patrick machielse <email@hidden>
  • Date: Mon, 30 Jul 2012 21:48:07 +0200

I'm overriding this method in my iOS 5 application:

- (void)awakeFromSnapshotEvents:(NSSnapshotEventType)flags

According to the documentation, 'flags' is a bitmask of NSSnapshotEventType constants.

However, it seems that the 'flags' value is always 128 when this method is called by CoreData. This value is not defined in the headers.

I ask, because when my application is playing audio using an AudioQueue, playback usually get's interrupted when awakeFromSnapshotEvents: is called (mostly at times when there is no user interaction with the app). This is not caused by my override of awakeFromSnapshotEvents:.

I'm trying to understand what is happening in the app / frameworks when flags == 128…

patrick
--
Patrick Machielse
Hieper Software

http://www.hieper.nl
email@hidden


_______________________________________________

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


  • Prev by Date: Re: UIScrollView insertSubview:atIndex: problem
  • Next by Date: Re: Problem enumerating a directory
  • Previous by thread: Re: UIScrollView insertSubview:atIndex: problem
  • Next by thread: Drag-and-drop crashes
  • Index(es):
    • Date
    • Thread