ios - RestKit 0.23.3: mapping same key twice (or even more often) does not work -


This case has not been found in any of the restkit documents yet, so I think it does not work: / P>

This mapping, where I am using the key "theText" twice

  RK object mapping * mapping = [RK objectmapping mapping forex: [dmtext class]]; [Mapping add attributemapping freedoms: @ {@ "The Testide": @ "Headline", @ "The Text"): @ "Labels", @ "Some Else": @ "Hansiming Else"}];  

will return the mapped textile object to the mapped, but the key is only with the title "theText" with the title, but the label is zero

Is there any way How can I fill the value of a key in many destination attributes?

I thought mapping has actually taken an exception if you try to configure it like this ...

However, you can create a custom accessor method on your destination class and use the mapping to call that accessor. Method, then, in that method, set your 2 variables.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -