[baseten-users] BXDatabaseContext usage

Tuukka Norri tuukka.norri at karppinen.fi
Wed May 20 00:59:25 EEST 2009


Daniel Brajkovic kirjoitti 20.5.2009 kello 0.52:
> As far as multiple Nibs are concerned when sharing a single  
> BXDatabaseContext, is [myBXSynchronizedArrayController fetch:NULL]  
> within the action that loads the view/window the best way to go?  
> (seems to work for me).
Yes. I just checked and noticed that -fetchWithRequest:merge:error:  
hasn't been documented, but you can also use it. This is a better  
alternative if you want to handle the potential error yourself; - 
fetch: just displays an alert. The fetch request should be set to nil,  
in case we decide to make use of them at some point.
-- 
Best regards,
Tuukka Norri
MK&C




More information about the baseten-users mailing list