Objective-C stack implementation