Windows Bridge for iOS (Project Islandwood)を使ってみた

Preview:

Citation preview

Windows Bridge for iOS を使ってみた

kfurue 関西モバイルアプリ研究会 #6

Windows Bridge for iOS とは

Windows Bridge for iOS

• Microsoft Build Developer Conference 2015

• “Project Islandwood” の呼び名で紹介

• Objective-C から Windows アプリケーションをビルドするというもの

• iOSアプリをWindows 10に移植しやすくする

必要なもの• Windows 10

• Visual Studio 2015

• Community でも OK

• 選択必須のコンポーネント

• Programming Languages -> Visual C++

• Universal Windows App Development Tools (all)

• Windows 8.1 and Windows Phone 8.0/8.1 Tools (all)

https://flic.kr/p/rT9YRq

サンプルコードのビルド• SDK をダウンロードするとサンプルが入っている

• https://github.com/Microsoft/WinObjC/releases

• 特にインストール等は不要

• zip ファイルを解凍するだけ

• 手順

• winobjc.zip を解凍

• WOCCatalog-WinStore10.sln をVisual Studio 2015 で開く

• winobjc/samples/WOCCatalog 以下にあります

• 右側の Solution Explorer から WOCCatalog (Universal Windows) を右クリックし、 Set as StartUp project を選択

• Ctrl-F5 でビルドが走り、実行されます。

Xcode プロジェクトのインポート(未実施)

• 自分の Xcode プロジェクトを持ってきてビルド

• https://github.com/Microsoft/WinObjC/wiki

現状未サポートのもの1. Autolayout

2. Storyboard support

3. MapKit

4. AssetsLibrary

5. AddressBook

6. Ads

7. Objective-C annotations

8. Media Capture and Playback

9. ARM support (x86 only today)

10.Compiler optimizations will not work and will likely crash clang, debug builds only

“マジかよ”

おわりに

• 今後の展開に期待!

• まだ rev0.1 の Preview 版なので

• kfurue's diary

• http://kfurue.hatenablog.com

Recommended