唔洗我講,你睇上邊有師兄講,c# 除 win 外,有乜 platform 係 "穩定", 可以 cross compile/execute? ...
seasky 發表於 2017-11-23 18:14



    我都有講無問題喎. 你又唔睇我講?! ..

未有xamarin.mac 之前已經可以做簡單既. 有埋xmarain.mac. 已經可以做app store app.

TOP

我都有講無問題喎. 你又唔睇我講?! ..

未有xamarin.mac 之前已經可以做簡單既. 有埋xmara ...
556556bt 發表於 2017-11-23 18:18



    但沒人會用囉
直接用swift仲快上手

TOP

但沒人會用囉
直接用swift仲快上手
shal 發表於 2017-11-23 18:40



    哈哈.. 你咁講咪脫離在你之前所謂cross platform law..

乜都直接又碌番去native 個洞到.....  變成自打咀巴. 來來回回的討論...
所以我先話呢個議題超過20 幾年, 根本重無定論...

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP

哈哈.. 你咁講咪脫離在你之前所謂cross platform law..

乜都直接又碌番去native 個洞到.....  變 ...
556556bt 發表於 2017-11-23 18:44



    C# on mac 同寫多套沒分別la
Ui library 系 osx專用
同win 不能共用

TOP

C# on mac 同寫多套沒分別la
Ui library 系 osx專用
同win 不能共用
shal 發表於 2017-11-23 19:42



    世事變得快.... 已經得了. 有賴於open source 既力量........ UWP, OSX, ANDIROD 同IOS.  
應該好快可以用blend 砌..

TOP

咁我唔知你點用喎,

我試寫個 i = x * x; print i.  無問題代表個 compiler 好用?

問十個做 hybird  ...
seasky 發表於 2017-11-23 19:41



    啦... 記住話HYBRID 好果個唔係好....
話native 煩果個亦不是我.. 我只係話呢個命題已經存在好多年....

TOP

本帖最後由 hihihi123hk 於 2017-11-23 21:37 編輯

回覆 54# seasky


    xamarin 有 official 答案, 平均每個 Platform 只係 share 75% code (business logic),所以係一定要預咗 UI Code 係重新寫 只不過佢  xamarin wrap 起咗一層等你可以用同一段 UI Code 出兩邊 UI,一旦佢唔 support 要自己寫就等如要寫兩邊



React Native (instagram App) shared 85-90% code

公平啲咁講,各自 Platform 都必定有 Well-Known Native Solution, 一啪落去可能幾句 Code 就搞掂。如 Xamarin 冇/都用唔到(無人 Maintain )  變相要自己寫 + Test 兩大 Platform,時間可能用得仲多

我自己用 Cordova 就有同樣感覺... 好簡單想做 Image Compress + Upload 上 EPC,搞成個星期搵+試啲 Plugin 根本同預期差好遠,棄用咗 Cordova 之後,係 Native 用咗 1日 時間就做完,自己做 Native App + Customized WebView 清爽咗好多

棄用 Cordova 有太多感想,有興趣可以自己睇 GitHub
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

回覆  seasky


    xamarin 有 official 答案, 平均每個 Platform 只係 share 75% code (business logic) ...
hihihi123hk 發表於 2017-11-23 21:21



    所以好多都無睇清楚各自framework 係點, 就亂咁comment. 本身Xamarin 就最初係for C# one lang on different platform 主要係shared logic. UI 就different platform 做番.
而UI 係有Xamarin.form 之後就基本以XAML 出晒D UI. 咁佢唔support 就梗係要寫. 呢個就好理所當然.

同樣地react native 都有呢個情況. 我覺好多人只係想食free lunch 覺得做到就理所當然. 做唔到就話賣藥黨. 試問呢班成人要食補藥既人又有乜contribution.

TOP

所以好多都無睇清楚各自framework 係點, 就亂咁comment. 本身Xamarin 就最初係for C# one lang on d ...
556556bt 發表於 2017-11-23 23:34



    So 所以我用electron 囉
起碼ui 系用webbase+js

TOP