title: Compiler warning "not found in protocol(s)" when using [[[UIApplication sharedApplication] delegate] myClass Property]?
body: <p>I have myClass instantiated by my appDelegate, I have another class, newClass instantiated by myClass. From the newClass instance, I want to access a property in the myClass instance that created it. I have done this by:</p>
  
  <pre><code>[[[UIApplication sharedApplication].delegate myClass] property]
  </code></pre>
  
  <p>This works, I can actually get the property but I get this warning from Xcode:</p>
  
  <pre><code>warning: "-myClass" not found in protocols
  warning: no "-myClass" method found  
  (messages without a matching signature will be assumed to return "id" and accept "..." as arguments)
  </code></pre>
  
  <p>The newClass property has been correctly declared in the .h and .m files, it's properties have been set and it has been synthesized. </p>
  
  <p>It compiles and runs and I can actually get the property's value. </p>
  
  <p>Should I ignore the warning in Xcode?</p>
  
  <p>Is there a better way to access the myClass instance's property?</p>