# MacDriver - Native Mac API for Go

> Clean Markdown view of GeekNews topic #3689. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=3689](https://news.hada.io/topic?id=3689)
- GeekNews Markdown: [https://news.hada.io/topic/3689.md](https://news.hada.io/topic/3689.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2021-02-05T09:27:00+09:00
- Updated: 2021-02-05T09:27:00+09:00
- Original source: [github.com](https://github.com/progrium/macdriver)
- Points: 8
- Comments: 0

## Topic Body

- Go 언어에서 Apple/Mac API를 호출할 수 있게 해주는 툴킷

- 3 Layer로 구성

ㅤ1. Objective-C 바인딩 : Go코드 안에서 obj-c 객체/클래스와 상호작용

ㅤ2. 프레임워크 패키지 : cocoa, webkit, core 등으로 애플 API 호출

ㅤㅤ→ 현재는 macOS 뿐이지만 iOS,watchOS도 가능

ㅤ3. Bridge : Go 어플리케이션에서 맥OS앱을 서브프로세스로 실행해서 연결

ㅤㅤ→ 크로스 플랫폼 드라이버로 동작해서 윈도우,리눅스도 구현 가능

- dokku 를 개발한 Jeff Lindsay 의 새 프로젝트

## Comments



_No public comments on this page._
