Obsidian 에서 Jira 를 Tasks 로 변환하기
Obsidian
을 이용해서 일정을 관리하다보면 Jira-issue Plugin
에 많은 불편함을 느낀다. 그 중 가장 불편한 것은 Jira Issue
를 Tasks
처럼 관리하지 못한다는 것이다.
하지만 Templater
의 js
를 이용해 해당 불편함을 어느정도 해소할 수 있다.
Launch LLDB to Xcode
LLDB Help Command
LLDB
는 help
명령어를 제공한다.
(lldb) help
이 명령어는 사용할 수 있는 모든 명령어를 dump 하며, ~/.lldbinit
에 존재하는 커스텀 명령어도 포함한다.
Swift Evolution - Concurrent value and concurrent closures
- Proposal: SE-0302
- Author: Chris Lattner
- Review Manager: John McCall
- Status: Implemented (Swift 5.7)
- Implementation: apple/swift#35264
Swift Evolution - Allow Protocols to be Nested in Non-Generic Contexts
- Proposal: SE-0404
- Author: Karl Wagner
- Review Manager: Holly Borla
- Status: Implemented (Swift 5.10)
- Implementation: apple/swift#66247 (gated behind flag -enable-experimental-feature NestedProtocols)
Swift Evolution - Access level modifiers on import declarations
- Proposal: SE-0409
- Author: Alexis Laferrière
- Review Manager: Frederick Kellison-Linn
- Status: Implemented (Swift 6.0)
- Implementation: On main and release/5.9 gated behind the frontend flag
-enable-experimental-feature AccessLevelOnImport
- Upcoming Feature: InternalImportsByDefault
NSCache의 생명주기를 관리하기
NSCache
를 사용하다보면 시스템에 의해 의도치 않게 cache
가 삭제되는 경우가 있다. 이럴경우 protocol NSDiscardableContent
를 이용해 cache
삭제에 대한 정책을 정의할 수 있다.
```swift
import Foundation
final class LottieAnimationCacheObject: NSObject,
NSDiscardableContent {
internal var animation: LottieAnimation?
internal func beginContentAccess() -> Bool {
return true
}