Nevermind, returning the pointer created to the class from return statement was actually the problem!!!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: