Is there a way to get all the user properties for a CBLModel? Including any that are nil?
Hm, I don’t think there is. You’d probably need to use the Obj-C runtime API to enumerate all the class’s properties and find the ones marked @dynamic.
—Jens
Todd Freese
unread,
Jun 6, 2014, 7:57:31 PM6/6/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mobile-c...@googlegroups.com
Seems like it would be nice to have a method on CBLModel that would return "all" the user properties defined in the model class.
Todd
Jens Alfke
unread,
Jun 7, 2014, 5:25:07 PM6/7/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message