Documentation Archive Developer
Search

CoreAudioKit Changes for Swift

CoreAudioKit

Declaration
From
class CAInterAppAudioTransportView : UIView {
    var enabled: Bool
    var playing: Bool { get }
    var recording: Bool { get }
    var connected: Bool { get }
    var labelColor: UIColor!
    var currentTimeLabelFont: UIFont!
    var rewindButtonColor: UIColor!
    var playButtonColor: UIColor!
    var pauseButtonColor: UIColor!
    var recordButtonColor: UIColor!
    func setOutputAudioUnit(_ au: AudioUnit)
}
To
class CAInterAppAudioTransportView : UIView {
    var enabled: Bool
    var playing: Bool { get }
    var recording: Bool { get }
    var connected: Bool { get }
    var labelColor: UIColor
    var currentTimeLabelFont: UIFont
    var rewindButtonColor: UIColor
    var playButtonColor: UIColor
    var pauseButtonColor: UIColor
    var recordButtonColor: UIColor
    func setOutputAudioUnit(_ au: AudioUnit)
}

Declaration
From
var currentTimeLabelFont: UIFont!
To
var currentTimeLabelFont: UIFont

Declaration
From
var labelColor: UIColor!
To
var labelColor: UIColor

Declaration
From
var pauseButtonColor: UIColor!
To
var pauseButtonColor: UIColor

Declaration
From
var playButtonColor: UIColor!
To
var playButtonColor: UIColor

Declaration
From
var recordButtonColor: UIColor!
To
var recordButtonColor: UIColor

Declaration
From
var rewindButtonColor: UIColor!
To
var rewindButtonColor: UIColor