Ios 覆盖函数的swift文档

Ios 覆盖函数的swift文档,ios,swift,documentation,Ios,Swift,Documentation,对于如何使用swift记录func,这里有很大的帮助/// 但是覆盖函数呢 当我选择单击时,我只获得animationDidStop(在CAAnimation中声明)的原始文档 这是我的密码。(取自ViewController.swift一个UIViewController,声明为在另一个函数中创建的动画的代理) 非常感谢你的帮助 /// called when dripStreamStart() finishes /// in order to continue the animation /

对于如何使用swift记录func,这里有很大的帮助///

但是覆盖函数呢

当我选择单击时,我只获得animationDidStop(在CAAnimation中声明)的原始文档

这是我的密码。(取自ViewController.swift一个UIViewController,声明为在另一个函数中创建的动画的代理)

非常感谢你的帮助

/// called when dripStreamStart() finishes
/// in order to continue the animation
/// 
override func animationDidStop(anim: CAAnimation!, finished flag: Bool) {
    dripStreamsOscillate()
}