renames delegate method names for swift