switch SceneController to obj-c.