This file contains 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
//: Playground - noun: a place where people can play | |
import UIKit | |
import AVFoundation | |
// keep it running forever so it plays audio | |
import XCPlayground | |
XCPSetExecutionShouldContinueIndefinitely(true) | |
class AVPlayerTest { |
This file contains 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
import UIKit | |
@IBDesignable | |
class SpinnerView : UIView { | |
override var layer: CAShapeLayer { | |
get { | |
return super.layer as! CAShapeLayer | |
} | |
} |
NewerOlder