The Mac App Store guidelines state:
Apps that use non-public APIs will be rejected
Does that include sub-classing public objects with methods that aren't mentioned in their class' reference?
Apple has not been entirely consistent in this regard, but they have rejected some apps for this.