title: iOS: Method Return Type should be sub-class of class X
body: <p>I have a class called "BaseEntry" and some specific classes like "EntryFoo" and "EntryBar" which are subclasses from "Base Entry".</p>
  
  <p>Now there is a function getEntry which should return a Object which is subclass of BaseEntry. In Java this wouldn't be a problem but I have no idea how to fix this in Objective-C for iOS.</p>
  
  <p>Thanks for your help!
  Alex</p>