optional value일 때 뜨는건 알겠는데 

 guard let lastEvent = self.playerItem?.accessLog()?.events.last else { return }

 log(.info, "\(lastEvent.description)")

여기에선 왜 뜨는걸까?

 

lastEvent 가진 데이터 중에 옵셔널 데이터가 있긴 한데

description은 String을 리턴하는데 왜 그렇지?

게다가 컴파일 빌드는 되는데 xcode server build가 실패함

궁금 ... 쏘 궁금...

 

 

구글링하다가 찾은 소소한 내용

1) String(describing:) - return string representing given value

 

2) debugdescription vs description

debugDescription는 description를 호출함

다른 점은 debugDescription는 오버라이드 해서 쓸 수 있다

+ Recent posts