A return [tab tabGroup]; would suffice here. [nil tabGroup] returns nil.