The new CaseIterable protocol gives your Enum new ability to generate an array of all cases in an enum.
Continue reading
The new CaseIterable protocol gives your Enum new ability to generate an array of all cases in an enum.
Continue readingThe error message when you reused an AVCapturePhotoSettings object is -[AVCapturePhotoOutput capturePhotoWithSettings:delegate:] Settings may not be re-used'
.
I am starting to move my previous blog and project page from Squrespace to Github page starting today. All posts will keep the same publishing date as before. After finishing moving, I will link my personal domain www.junchenghan.com to this Github page.
Thanks.
直接跳到Swift语言吧。Swift很快很安全,而且就我的感受来说,写Swift有一种写脚本语言的快感。但是Swift还有很多路要走,现在最感到头疼的就是和ObjC的混编吧。
Continue readingAVFoundation provides a controller class AVPlayer
to play timed audio-visual media. The AVPlayer can handle playback of local, progressively downloaded and streamed media conforming HLS protocol.
AVAsset
is an abstract, immutable class providing a composite representation of a media resource, modeling the static attributes of the media as a whole, such as its title, duration, and metadata. AVAsset is not the media itself, but acts as a container for timed media. It is composed of one or more media tracks along with metadata describing its contents.
Software Engineer in San Francisco Bay Area
iOS and NodeJS Dev