Created
September 17, 2014 16:25
-
-
Save yoshimin/5127b0daa2af3f71c7b5 to your computer and use it in GitHub Desktop.
クロージャーでweak参照
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.videoTimeObserver = self.videoPlayer!.addPeriodicTimeObserverForInterval(CMTimeMake(150, 600), | |
queue: dispatch_get_main_queue(), | |
usingBlock: {[unowned self](CMTime) in | |
self.syncSeekber() | |
self.updateTimeLabel() | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment