Duh! Thanks. That did it.

On Monday, February 17, 2014 6:35:35 PM UTC-8, Jens Alfke wrote:
>
>
> On Feb 17, 2014, at 6:28 PM, Alan McKean <[email protected] <javascript:>> 
> wrote:
>
> *(lldb) **po self.charges*
>
>  nil
> ```
>
> I have a property in my model:
> ```
>
> @property (nonatomic, strong) NSArray * charges;
>
>
> I'll bet you forgot to declare the property as @dynamic in the 
> implementation.
> If you don't, Clang will decide to synthesize it for you, so you end up 
> with it being nil by default (and never being saved to the document even if 
> you set it.)
>
> To avoid this, there's a warning you can turn on about "implicit 
> auto-synthesize" or something like that. I recommend enabling it.
>
> —Jens
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/59863eff-b48c-4e08-917d-4c4694af5c8b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to