Rod Hynes 84d460615f Merge commit '44cb74bc2b013ee154ee578daa3cf79a25ee37bc' as 'MobileLibrary/go-mobile' 3 лет назад
..
bind 84d460615f Merge commit '44cb74bc2b013ee154ee578daa3cf79a25ee37bc' as 'MobileLibrary/go-mobile' 3 лет назад
bind.xcodeproj 84d460615f Merge commit '44cb74bc2b013ee154ee578daa3cf79a25ee37bc' as 'MobileLibrary/go-mobile' 3 лет назад
README 84d460615f Merge commit '44cb74bc2b013ee154ee578daa3cf79a25ee37bc' as 'MobileLibrary/go-mobile' 3 лет назад

README

1. Use gomobile bind to bind the golang.org/x/mobile/example/bind/hello package.
The following command will create an XCFramework in the current directory.

$ gomobile bind -target=ios golang.org/x/mobile/example/bind/hello

2. Open the Xcode project by double clicking on bind.xcodeproj.
The project will not build - ViewController.m calls a function from the hello
package so requires the Hello.xcframework that gomobile bind command created
in Step 1.

3. Drag-and-drop Hello.xcframework from the desktop to the project navigation window.
This will automatically include the Hello.xcframework into the project.

4. Build.