{"id":34697,"date":"2017-12-12T10:00:52","date_gmt":"2017-12-12T18:00:52","guid":{"rendered":"https:\/\/blog.xamarin.com\/?p=34697"},"modified":"2019-04-04T15:24:04","modified_gmt":"2019-04-04T22:24:04","slug":"updates-xamarin-ios-designer","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/xamarin\/updates-xamarin-ios-designer\/","title":{"rendered":"Updates to the Xamarin iOS Designer"},"content":{"rendered":"<p>The Xamarin\u00a0Designer for iOS is a visual designer that allows you to edit Storyboard and Xib files directly in Visual Studio and Visual Studio for Mac. Crafting\u00a0your UI with a designer instead of completely in code is a topic of passionate debate, but it&#8217;s a lot of fun to visually design a user interface, especially on a favored platform such as iOS. With the latest <a href=\"https:\/\/releases.xamarin.com\/service-release-15-5-1\/\">15.5.1 release available now<\/a>, we&#8217;d like to share some of the changes that were made to the Xamarin\u00a0Designer for iOS and highlight the major updates to help get you familiar with them.<\/p>\n<h2>Device, Adaptation, Orientation, and Zoom<\/h2>\n<p>An exciting change in this release is a new toolbar located at the bottom of the designer. This new toolbar is the place to find support for managing trait variations, zoom, and orientation. You&#8217;ll also find support for the latest devices here. With this new toolbar, it&#8217;s now easy and fast to switch between different devices, orientations, and sizes while working on designing your app.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-34701\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/vsmac-ios-designer1.png\" alt=\"\" width=\"761\" height=\"157\" \/><\/p>\n<h2>Constraints vs. Frame Editing Mode<\/h2>\n<p>In previous versions, clicking on a view would toggle between being able to edit the position and size of a control to editing any constraints. Based on user feedback,\u00a0we&#8217;ve integrated the ability to\u00a0switch between these two modes by using the new <code>Frame Editing Mode<\/code> and <code>Constraints Editing Mode<\/code> toggle switch in the upper-right corner of the designer. You&#8217;ll find another button next to these that updates frames or constraints depending on which toggle is selected. To improve this experience further, we&#8217;re adding keybindings for these controls in a future release so that it&#8217;s even easier to switch between editing frames and adding constraints.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-34702\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/constraints.png\" alt=\"\" width=\"990\" height=\"252\" \/><\/p>\n<h2>Wrapping Up<\/h2>\n<p>With the new toggle button for editing modes, you can quickly move between shifting a control around and adding constraints for the perfect and responsive layout. The next time you have a chance to use a designer for UI, give it a try! If you&#8217;re ready to check it out now and are looking for a place to start, head over to\u00a0the <a href=\"https:\/\/developer.xamarin.com\/guides\/ios\/user_interface\/designer\/\">iOS Designer Basics documentation<\/a>.<\/p>\n<h2>Designer Updates on The Xamarin Show<\/h2>\n<p><center><iframe src=\"https:\/\/channel9.msdn.com\/Shows\/XamarinShow\/Episode-35-iOS-Designer-for-Xamarin-Updates-with-Alex-Corrado\/player\" width=\"640\" height=\"360\" allowFullScreen frameBorder=\"0\"><\/iframe><\/center>\n<a href=\"https:\/\/forums.xamarin.com\/112759\/\">Discuss this post on the Xamarin Forums<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Xamarin\u00a0Designer for iOS is a visual designer that allows you to edit Storyboard and Xib files directly in Visual Studio and Visual Studio for Mac. Crafting\u00a0your UI with a designer instead of completely in code is a topic of passionate debate, but it&#8217;s a lot of fun to visually design a user interface, especially [&hellip;]<\/p>\n","protected":false},"author":557,"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-34697","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developers","tag-ios","tag-xamarin-platform"],"acf":[],"blog_post_summary":"<p>The Xamarin\u00a0Designer for iOS is a visual designer that allows you to edit Storyboard and Xib files directly in Visual Studio and Visual Studio for Mac. Crafting\u00a0your UI with a designer instead of completely in code is a topic of passionate debate, but it&#8217;s a lot of fun to visually design a user interface, especially [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/34697","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\/557"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/comments?post=34697"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/34697\/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=34697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/categories?post=34697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/tags?post=34697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}