Noob Swift question--I can\'t figure out what this means in Swift:
public var currentTime: NSTimeInterval? {
return self.audioPlayer?.currentTime
}
>
This is called Read-Only Computed Properties
According to Apple Docs
A computed property with a getter but no setter is known as a read-only computed property. A read-only computed property always returns a value, and can be accessed through dot syntax, but cannot be set to a different value.
For more info Computed Properties