Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>aPresentation is your own class so its hard to know exactly what its made up of. However your error is coming up when you try to do (unless there is more code that your not showing) :</p> <pre><code>[aPresentation setValue:currentElementValue forKey:elementName]; </code></pre> <p>here you are saying you have a property in the object aPresentation with the name elementName; specifically your error is saying there is no property with the name "slide"</p> <p>Is there a property (variable) with the name "slide"? Apparently not.</p> <p>I would suggest hard coding what the elementName is because apparently they are not lining up with your class.</p> <p>According to the xml your property (within aPresentation) should be named "slides" so either rename the property in your class to slides or just change element name into what you know it to be.</p> <pre><code>[aPresentation setValue:currentElementValue forKey:@"slideLabel"]; </code></pre> <p>some of this is guess work without seeing the class structure of Presentation1Name </p> <p>I would also like to point out some conventions you are not following which makes this code very hard to read. Property names should be capitalized (first letter), including numbers in your class names is ok but not used very often and probably not needed in this case. you are checking if the elementName is Slides or slide and really that stuff shouldnt change and you should be able to remove one of those statements. i would also recommend to always use brackets, some of your else statments dont</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload