Global variables

From EOFWiki
Jump to: navigation, search

As a rule all BOOL global variables' default values are NO.

EOControl

  • BOOL MulleEOGenericRecordNoBuggyKVCAccessors will not call [self willChange]during -[EOGenericRecord takeStoredValue:forKey:]. The default has to be NO for compatibility.

EOAccess

  • BOOL MulleEOEntityAddRelationshipDoesNotSetEntity of the relationship
  • BOOL MulleEOEntityAddAttributeDoesNotSetParent of the attribute
  • BOOL MulleNSObjectSnapshotUseNSNullInsteadOfEONull in the dictonary returned by -[NSObject snapshot]
  • BOOL EOEntityRaiseOnDangerousPromotion (if compiled with DEBUG, default value is YES)
  • BOOL EOModelGroupShouldNotTryValiantlyToFindEntity if asked to find an EOEntity by name, will not load other models

EOInterface

  • BOOL MulleEOInterfaceEOAssociationsAreRootObjects. EOAssociations do not automagically retain and release themselves during establishConnecttion and breakConnection when this global variable is set to YES.
  • BOOL MulleEODisplayGroupDelayFetchOnLoad. If an EODisplayGroup is set to fetchesOnLoad, it will call fetch on itself during it's -awakeFromNib routine. This can be delayed to EOObserverPrioritySecond by setting this global variable to YES.
  • BOOL MulleEODisplayGroupRaiseOnEndEditingOrComplain. Will throw an exception during -setObjectsArray or qualifyDisplayGroup/qualifyDataSource if the user is still editing.
Personal tools