TITANIUM_PROPERTY_GETTER(ListSection, headerView) { auto view = get_headerView(); if (view) { return view->get_object(); } else { return get_context().CreateNull(); } }
TITANIUM_PROPERTY_GETTER(TableView, headerView) { return static_cast<JSValue>(get_headerView()->get_object()); }