Work in progress - swift delegates.