brainray
brainray

Reputation: 12884

How can I force parse.com to add an object as string instead of array?

When I add an NSString by using

[myObject addObject:myString forKey:myKey]

the string is converted to an array.

How can I force it to be a string? Should I create the rows of the table by hand using the data browser, or is there a way to do so by code (when creating the Class by objectWithClassName)?

Many thanks in advance.

Upvotes: 0

Views: 644

Answers (1)

brainray
brainray

Reputation: 12884

Simple answer:

[myObject setObject:myString forKey:myKey]

SETObject instead of ADDObject

Upvotes: 1

Related Questions