# Tweet by [@keefmoon](http://twitter.com/keefmoon) on 2017-08-04 10:00:30
> [!INFO] Archived from [original tweet](http://twitter.com/keefmoon/status/893411312872587264)
In reply to: [@keefmoon](http://twitter.com/keefmoon/status/893411110820483072)
eg.
@available(*, unavailable)
func setProgress(_ progress: CGFloat) {
state = .determinate(progress: Float(progress))
}