{"id":13411,"date":"2014-08-19T03:28:52","date_gmt":"2014-08-19T07:28:52","guid":{"rendered":"http:\/\/blog.xamarin.com\/?p=13411"},"modified":"2014-08-19T03:28:52","modified_gmt":"2014-08-19T07:28:52","slug":"major-xamarin-mac-updates","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/xamarin\/major-xamarin-mac-updates\/","title":{"rendered":"Major Xamarin.Mac Updates"},"content":{"rendered":"<p>\t\t\t\tWe are happy to announce a few major updates to Xamarin.Mac. The first major update is the result of more than a year of development on\u00a0our API bindings and Mono&#8217;s runtime which brings the following features to Xamarin.Mac:<\/p>\n<ul>\n<li>64-bit support <\/li>\n<li>New 64-bit Frameworks<\/li>\n<li>Support for\u00a0lighter mobile profile<\/li>\n<li>Easier code sharing between Mac and iOS<\/li>\n<\/ul>\n<p>These features are available <em>today<\/em> in the Beta channel.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/sites\/44\/2019\/04\/overview_hero_x.png\" alt=\"Yosemite OS X Logo \" width=\"110\" height=\"110\" class=\"alignleft size-full wp-image-13389\" \/>On top of these new features we have been hard at work binding the new Mac OS X Yosemite APIs. We are pleased to announce support for Yosemite is now available. Since Yosemite is still an unreleased platform and may continue to change you will find these APIs in the Alpha channel along with all of the other features I mentioned earlier.<\/p>\n<h2>64-bit support &amp; Easier Code Sharing<\/h2>\n<p>We recently <a href=\"\/unified-api-with-64-bit-support-for-ios-and-mac\">announced the brand new Unified API<\/a> for Xamarin.iOS and Xamarin.Mac. The Unified API allows developers to support both 32 bit and 64 bit applications with the same source code (as well as binaries) on both Mac and iOS. <\/p>\n<p>In addition to this we also took the time to enhance the code sharing story between iOS and Mac. An example of this is that you no longer are required to add any namespace prefixes. This means code that looked like this:<\/p>\n<pre class=\"lang:csharp decode:true\">\n#if MAC\nusing MonoMac.Foundation;\n#elif IOS\nusing MonoTouch.Foundation;\n#endif\n<\/pre>\n<p>Can now simply be written in one line:<\/p>\n<pre class=\"lang:csharp decode:true\">\nusing Foundation;\n<\/pre>\n<p>For more information, read our new <a href=\"http:\/\/developer.xamarin.com\/guides\/cross-platform\/macios\/\">Guides for Cross Platform Mac and iOS code<\/a>.<\/p>\n<h2>New 64-bit Frameworks<\/h2>\n<p>With the introduction of our\u00a0Unified API we are finally able to support all of those 64 bit-only frameworks that Apple has introduced in the last few years, including but certainly not limited to the many new 64 bit-only frameworks in Yosemite.\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/sites\/44\/2019\/04\/4.png\" alt=\"What&#039;s new in scene kit\" height=\"300\" class=\"aligncenter size-full wp-image-13393\" \/>\nShadows in Scene Kit<\/p>\n<h2>Lightweight\u00a0Profile<\/h2>\n<p>Also with the Unified API comes the ability for users to adopt Xamarin&#8217;s Mobile profile. The Mobile profile is the same API profile that we use on Android and iOS which has been designed to be linkable and have a much smaller footprint on disk than the regular desktop edition. This is convenient for applications going into the AppStore or that wish to share more code across Android and iOS.<\/p>\n<h2>Samples!<\/h2>\n<p>Many of our Mac samples are being ported to the Unified API and currently live in <a href=\"https:\/\/github.com\/xamarin\/mac-samples\/tree\/magic-types\">their own branch<\/a>.  In addition, we are starting to\u00a0publish our internal ports of the Yosemite samples which can be found in the <a href=\"https:\/\/github.com\/xamarin\/mac-samples\/tree\/master\/yosemite\">Yosemite directory<\/a>.\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are happy to announce a few major updates to Xamarin.Mac. The first major update is the result of more than a year of development on\u00a0our API bindings and Mono&#8217;s runtime which brings the following features to Xamarin.Mac: 64-bit support New 64-bit Frameworks Support for\u00a0lighter mobile profile Easier code sharing between Mac and iOS These [&hellip;]<\/p>\n","protected":false},"author":1917,"featured_media":39167,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[6,4],"class_list":["post-13411","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developers","tag-ios","tag-xamarin-platform"],"acf":[],"blog_post_summary":"<p>We are happy to announce a few major updates to Xamarin.Mac. The first major update is the result of more than a year of development on\u00a0our API bindings and Mono&#8217;s runtime which brings the following features to Xamarin.Mac: 64-bit support New 64-bit Frameworks Support for\u00a0lighter mobile profile Easier code sharing between Mac and iOS These [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/13411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/users\/1917"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/comments?post=13411"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/13411\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/media\/39167"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/media?parent=13411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/categories?post=13411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/tags?post=13411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}