TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Build Windows apps from your Objective-C code

41 pointsby yconstabout 10 years ago

8 comments

pavlovabout 10 years ago
Compiling Objective-C on Windows is not such a big deal. The huge thing here is that Microsoft has apparently reimplemented the Apple frameworks, because that&#x27;s the only way they could port over existing iOS code.<p>I&#x27;m extremely curious to find out how much of UIKit is available on Windows Phone. It might be something disappointing like &quot;well, if you stick to old pre-iOS7 methods and don&#x27;t use new frameworks or AVFoundation or anything, most of your code will compile&quot;... If they&#x27;re really tracking the latest iOS on this, it&#x27;s an amazing feat.<p>It&#x27;s worth noting that Microsoft also has a companion product for Android, the &quot;Universal Windows Platform Bridge for the Android Runtime&quot; a.k.a. Project Astoria:<p><a href="https:&#x2F;&#x2F;dev.windows.com&#x2F;en-us&#x2F;uwp-bridges&#x2F;project-astoria" rel="nofollow">https:&#x2F;&#x2F;dev.windows.com&#x2F;en-us&#x2F;uwp-bridges&#x2F;project-astoria</a><p>The difference seems to be that the iOS porting toolkit is an SDK, while the Android version is a complete runtime. So you can take an existing Android app (.apk file) and run it directly on Windows Phone, whereas the iOS app will need to be recompiled in Visual Studio.<p>I find the Android bridge to be the really exciting news. Now every phone vendor except Apple supports Android apps! I wrote a blog post about it a few days ago when it was announced: <a href="http:&#x2F;&#x2F;blog.neonto.com&#x2F;2015&#x2F;04&#x2F;29&#x2F;android-is-the-new-win32-the-new-java-and-the-new-flash&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blog.neonto.com&#x2F;2015&#x2F;04&#x2F;29&#x2F;android-is-the-new-win32-t...</a>
评论 #9480904 未加载
评论 #9481037 未加载
评论 #9481270 未加载
评论 #9480917 未加载
kyberiasabout 10 years ago
When I shared a link to this article in Facebook, Facebook recommended this &quot;related link&quot;:<p><a href="http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Embrace,_extend_and_extinguish" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Embrace,_extend_and_extinguish</a>
评论 #9481434 未加载
paulojreisabout 10 years ago
While technically interesting (assuming they ported iOS frameworks), it&#x27;s no more than a hack, UI-wise. It prompts developers to consider the UI as an afterthought; just &quot;trust&quot; Microsoft&#x27;s <i>adaptation</i> of another platform layout, add &quot;minimal changes&quot; and presto: UI work is done.<p>It&#x27;s a sad route to follow, if you truly care about your users.
评论 #9481898 未加载
评论 #9481269 未加载
jayvanguardabout 10 years ago
OS compatibility layers never work well. I expect this to fail within a couple of years max. It&#x27;ll be used to convince people to do a quick one-time port of their iOS apps over. Microsoft won&#x27;t be able to keep it with Apple&#x27;s API changes so it will always be behind and crappy.
评论 #9481618 未加载
mhuffmanabout 10 years ago
Microsoft has been on a tear lately! I am really impressed with the direction they are going.
评论 #9481601 未加载
lukehabout 10 years ago
Squinting at the debugger screenshots, instance variables that are private in the 2.0 runtime are visible (e.g. instance_size). I wonder if they used the Apple runtime...
jonhohleabout 10 years ago
Haven&#x27;t we seen this before? It was called J++ and was part of the embrace, extend, extinguish campaign.<p>I&#x27;m shocked at some of the comments, which seem identical to the sentiment 20 years ago. This isn&#x27;t a different Microsoft, if anything, this is a return to their old playbook.
评论 #9481939 未加载
评论 #9481610 未加载
natchabout 10 years ago
In any flourishing ecosystem, parasites eventually emerge.<p>This is so crass of Microsoft. I would be ashamed to work in the group that did this.<p>Technically? Sure, it&#x27;s an accomplishment, akin to copying someone else&#x27;s homework by typing it in by hand. Please notice I didn&#x27;t say it&#x27;s the same, I said it&#x27;s akin to. Very nicely typed, good job.<p>But morally, it&#x27;s exploitative and gutless, and it represents Microsoft giving up on the idea of finding success through innovation. Microsoft seems so pathetic now.
评论 #9481669 未加载
评论 #9481357 未加载