CoreFoundation Framework - UBogun/Xojo-iosLib GitHub Wiki

CoreFoundation contains basic iOS classes. Many objects can be replaced with their higher-level Foundation counterparts. CoreFoundation is part of the AppleSharedCore folder which means the classes are absolutely identical to the respective Mac OS X classes.
Please note you will find no respective classes in iOS. Foundation and CoreFoundation handle the methods via pointers only. I have built these classes as an analogy to UIKit and AppKit objects.

Currently, many CFObject classes are only fragments. I built them mainly because they are required by some methods used by iOSLib.

##Classes

  • AppleCFObject: Base definitions for CoreFoundation and similar classes. Other CF classes inherit from CFObject.

  • AppleCFArray: CoreFoundation class for immutable arrays.
  • AppleCFBundle: Core Foundation representation of the app*s bundle, giving you access to included files and other frameworks.
  • AppleCFData: A CoreFoundation class holding data in form of an immutable memory block.
  • AppleCFMutableData: The mutable form of AppleCFData.
  • AppleCFRunLoop: A CF class for controlling RunLoops like in threads and timers.
  • AppleCFString: The class behind a CFStringRef.
  • AppleCFURL: The CoreFoundation class for handling URLs.