[futurebasic] Re: [FB] CFArray of FB records

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2008 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Tue, 5 Feb 2008 21:24:54 -0700
On Feb 5, 2008, at 10:01 AM, Bernie wrote:

> Talking of dynamic arrays, here's a quick 'n' dirty example of  
> creating and maintaining a CFArray of FB records.


Hi Bernie,

Just admiring the code you posted today using mutable CFArrays and  
wondering what callbacks are involved in the CFArrayCreateMutable  
call. I see fn CFSTR("kCFTypeArrayCallBacks") gets returned and this  
says use the "default callback functions" (according to Apple docs).  
This probably requires more study but it isn't clear to me what the  
callbacks are and their purpose. A demo of reading and writing XML  
data from/to arrays is something everyone can use. The wrappers  
hiding the internals of read/writing are elegant and useful.  
Thanks.....Brian