Vote UpVote

Two small Core Foundation tips

Delphi Haven – Core Foundation is a straight C, yet object-orientated API layer of OS X. Here’s a couple of small tips: 1. Much of the source for Core Foundation is freely available, so if you’re wondering whether a CFArray will retain its items on creation (for example), wonder no more (http://opensource.apple.com/source/CF/). 2. The CFArrayCreate function takes a pointer to a record that contains a series of callback functions. If the array will be an array of other Core Foundation types, the docs say you should pass a pointer to kCFTypeArrayCallbacks. Do this in Delphi however, and the ...
Favorite? Off-Topic? Chris Rolliston @ 2011-10-21 09:49


Visits: 551
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)