반응형 OS5 [OS - 🍎 macOS] macOS 현재 사용자 이름 구하기 (Getting the currently logged in user on macOS) 👓 001. SCDynamicStoreCopyConsoleUser(_:_:_:) // MARK: - Returns information about the user currently logged into the system. func SCDynamicStoreCopyConsoleUser(_ store: SCDynamicStore?, _ uid: UnsafeMutablePointer?, _ gid: UnsafeMutablePointer?) -> CFString? 👓 002. SCDynamicStoreKeyCreateConsoleUser(_:) // MARK: - Creates a key that can be used to receive notifications when the current console u.. 2019. 11. 20. 이전 1 2 다음 반응형