• Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
Sunday, March 15, 2026
No Result
View All Result
Subscribe Now
  • Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
    Headless victim in 1976 New York cold case identified through DNA: police

    Headless victim in 1976 New York cold case identified through DNA: police

    What’s Good? – The New York Times

    What’s Good? – The New York Times

    Israel’s Deadly Blockade Traps 7 U.S. Doctors in Gaza

    Israel’s Deadly Blockade Traps 7 U.S. Doctors in Gaza

    Carney announces billions for defense and infrastructure in Canada’s North

    Carney announces billions for defense and infrastructure in Canada’s North

    Right-wing media’s Mamdani outrage fuels GOP anti-Muslim rhetoric

    Right-wing media’s Mamdani outrage fuels GOP anti-Muslim rhetoric

    12-year-old girl dies days after collapsing following fight near school bus stop

    12-year-old girl dies days after collapsing following fight near school bus stop

    Speaker Mike Johnson Sketches ‘Course Correction’ in DHS Deportation Policy

    Speaker Mike Johnson Sketches ‘Course Correction’ in DHS Deportation Policy

    Where Was ‘War Machine’ Filmed? Discover the ‘War Machine’ 2026 Filming Locations for Alan Ritchson’s Netflix Movie

    Where Was ‘War Machine’ Filmed? Discover the ‘War Machine’ 2026 Filming Locations for Alan Ritchson’s Netflix Movie

    L.A. City Council candidate stays in race after report that he stabbed a boy at age 12

    L.A. City Council candidate stays in race after report that he stabbed a boy at age 12

  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
The Insight Post
  • Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
    Headless victim in 1976 New York cold case identified through DNA: police

    Headless victim in 1976 New York cold case identified through DNA: police

    What’s Good? – The New York Times

    What’s Good? – The New York Times

    Israel’s Deadly Blockade Traps 7 U.S. Doctors in Gaza

    Israel’s Deadly Blockade Traps 7 U.S. Doctors in Gaza

    Carney announces billions for defense and infrastructure in Canada’s North

    Carney announces billions for defense and infrastructure in Canada’s North

    Right-wing media’s Mamdani outrage fuels GOP anti-Muslim rhetoric

    Right-wing media’s Mamdani outrage fuels GOP anti-Muslim rhetoric

    12-year-old girl dies days after collapsing following fight near school bus stop

    12-year-old girl dies days after collapsing following fight near school bus stop

    Speaker Mike Johnson Sketches ‘Course Correction’ in DHS Deportation Policy

    Speaker Mike Johnson Sketches ‘Course Correction’ in DHS Deportation Policy

    Where Was ‘War Machine’ Filmed? Discover the ‘War Machine’ 2026 Filming Locations for Alan Ritchson’s Netflix Movie

    Where Was ‘War Machine’ Filmed? Discover the ‘War Machine’ 2026 Filming Locations for Alan Ritchson’s Netflix Movie

    L.A. City Council candidate stays in race after report that he stabbed a boy at age 12

    L.A. City Council candidate stays in race after report that he stabbed a boy at age 12

  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
No Result
View All Result
No Result
View All Result
Home Mobile

Xcode 14: Discussing improvements and new features with examples

by Theinsightpost
August 2, 2022
in Mobile
0 0
0
Xcode 14: Discussing improvements and new features with examples


Written by Rudrank Riyam.

WWDC 2022 wrapped up several weeks ago, and it was one of the best installments for developers so far, especially when it comes to Xcode changes and improved developer experience. In this article, we’ll focus on what’s new in Xcode 14. We will discuss plenty of new enhancements, improvements, and features for you to check out and give you some examples! Also, Xcode 14 is already available on Codemagic, so you can try it out and enjoy the blazing-fast builds with M1 Mac mini build machines.

Lighter Xcode with optional SDKs

Xcode 14 is about 30% percent smaller than Xcode 13. For example, Xcode 13.4.1 is roughly 10 GB, while Xcode 14 Beta 3 is only 7 GB. watchOS and tvOS are also available as optional SDKs that you can download separately if you are building apps for these platforms. Developers usually focus on iOS and macOS apps, so it makes sense to make these optional, reducing the size and enabling Xcode to be downloaded significantly faster.

You can download the latest beta of Xcode 14 from Apple’s developer website, unzip it, and then install it on your machine. Note that this is the beta version, and you cannot use it to ship apps to the App Store. The official release should take place around mid-September.

Note that based on the experience of downloading the additional simulators in the first two betas of Xcode 14, it is very slow. Alternatively, you can directly download it from the developers’ website and install it using the simctl command-line utility.

For example, after you download the tvOS simulator for Xcode 14 Beta 2 and place it on your desktop, you can run the following command in the terminal to install it:

xcrun simctl runtime add "~/Desktop/tvOS_16_beta_2_Simulator_Runtime.dmg"

After the installation completes successfully, the additional simulator is ready to be used!

Fast and reliable Xcode Previews

One of the prominent features of SwiftUI was the seamless experience of working with Xcode Previews, which help you see your changes side by side in a simulator and view updates to your code in real time.

This is great for a seamless, distraction-free experience that enables you to view incremental changes. It creates a great workflow that does not require the context switching of building and running the whole project in an external simulator every time you make a change in the UI.

In Xcode 14, the preview canvas is interactive by default, while it used to be static in older versions of Xcode. This means you can immediately interact with the preview after making changes!

To create variants of the previews, like a separate preview for dark mode or a large dynamic size for accessibility, you used to have to write code for it. Not anymore! Xcode 14 has specific controls that help you view your UI in different color schemes, device orientations, and text sizes. You can view your UI in 12 different text sizes with just a single click!

If you’re a designer or work on UIs, the faster, reliable, and more fluid Xcode Previews will help you tremendously.

Smarter autocompletion

Having an IDE that intelligently autocompletes your code is something that all developers desire. Luckily, Xcode 14 has made massive improvements in this area this year that will delight you. For example, it can automatically add the whole initializer when you start typing init! Here is an example of a NavigationButton view in Xcode 14 that gives you the default value as a starting point that you can modify later. It provides you with the initializer that you previously wrote yourself:

This also works for objects that conform to the Codable protocol. When you start typing init, it shows you the autocompletion as init(from decoder: Decoder) {...}. When you hit enter, it automatically provides the whole decodable implementation. This saves you tons of time when you’re writing your custom decodable implementation.

It also gives you intelligent recommendations that help you write code quickly and easily. For example, the initializers can be found directly in the completion list, where the default values are marked with italics. You can use Option + Return to add all the parameters:

Another example is the infamous .frame(maxWidth: .infinity) modifier that takes up all the width available for a view. Previously, Xcode provided all of the extra parameters that were not needed. Now, if you simply type max and hit Enter, it provides you with .frame(maxWidth: <Placeholder>). This is just a small quality of life improvement, but it elevates the experience nonetheless.

In general, the experience of working with code completion has improved greatly in Xcode 14, and I’m sure you will enjoy writing less code and being supported by intelligent recommendations.

Build time improvements

The Xcode team didn’t stop at making Xcode a smarter IDE — they also improved the build times for us! With increased parallelism and 2x faster linking, the projects build up to 25% faster overall. The machines with the most cores will see the biggest improvements. Time to get the M1 Ultra Studio! Test execution time has also improved by up to 30%.

Not enough speed? Notarizing the build is now 4x faster in Xcode 14! If you use the Interface Builder, document loading is up to 50% faster, and switching between iPhones and iPads in the device bar is up to 30% faster.

Phew, that’s a lot of big-number improvements in Xcode 14. Let’s visualize the changes with the new Build Timeline!

Build Timeline

Even with so many enhancements in Xcode, you may also want to visualize areas where you can improve the code in your app. In Xcode 14, you have the option to see the Build Timeline on a build log or result bundle.

When scrubbing through different files across the build, you can identify areas that are taking much more time than expected, like a custom script.

Xcode 14 Build Timeline provides you with insights on build times

As you can see from the timeline, an external SDK is taking up most of the build time compared with the project files, as it is a relatively small project. Based on the visual information provided, you can make further actionable decisions.

To learn more about parallelization and the Build Timeline, watch the session Demystify parallelization in Xcode builds. It will help you understand how to use your hardware resources when compiling your project.

Test Flight and Hangs

Building upon removing the need for context switching, Xcode 14’s Organizer has two new reports:

Feedback

When you launch an app on TestFlight, users have the option to send feedback to you. This is available on App Store Connect for that particular app, which shows the feedback and the optional screenshots on the website. In Xcode 14, you get a new Feedback organizer that shows all of the TestFlight feedback. It provides the same detailed information that you get on the site. You can also email the testers directly from the organizer.

Hangs

When your code runs something important on the main thread that it shouldn’t, it can result in an unresponsive UI. This leads to a bad user experience that can be avoided by using the new Hangs report, which shows the highest-impact hangs. It is directly available in the Organizer. By selecting a particular hang, you can navigate to the code that causes it, helping you fix it quickly.

To learn more about fixing hangs, check out Track down hangs with Xcode and on-device detection. This session also shows you how you can enable on-device detection of hangs on your phone. You can set a threshold number, like 250 ms, and if your app takes longer than that to render the UI, you get a small pop-up alert on the screen that tells you the exact time it takes so that you know where to improve your code, thereby minimizing hangs.

Single size icon

When you add the icon for your app, you must provide images for iPhone notifications at 20pt, settings at 29pt, Spotlight at 40pt, etc. It is cumbersome to provide these icons, especially if your icon looks great at any size.

In Xcode 14, you don’t have to deal with this hassle anymore! The IDE will automatically create all the different sizes with a single image of 1024pt. You can enable this by clicking on the image and selecting Single Size in the inspector:

In-built SF Symbols

In Xcode 14, you can access the SF Symbols by clicking on the Library button in the top-right corner of the navigation bar. This opens the list of SF Symbols for you to choose from while indicating the availability, such as iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0. After searching for the desired symbol, you can press Return to include the symbol’s name in your code.

This is another great addition that saves you from having to switch back and forth between the SF Symbols app, enhancing your productivity.

Conclusion

This year’s WWDC has been great for developers, with quality of life improvements to Xcode that make it fun to write Swift and SwiftUI code.

We hope that you enjoyed WWDC 2022 as much as we did! And for those who didn’t have the time to go through the sessions related to Xcode, we hope our article has helped you to catch up! Please share your favorite announcement of the conference with us by joining our Slack community or mentioning @codemagicio on Twitter. Have a great year ahead exploring and experimenting with the new features! And stay tuned — more articles about new things announced at WWDC are coming!

Reminder: M1 Mac mini build machines are already available on Codemagic for you to take advantage of faster iOS and macOS builds. If you’re on the pay-as-you-go plan, use instance_type: mac_mini_m1 to try them out. If you’re on the Professional plan and want to set up a trial for the Mac mini M1, reach out to our customer engineering team using the form below so that they can help you get fast green builds on the new machines!





Source link

ShareTweetSend
Previous Post

Catholic Bishops in Kenya to Political Candidates

Next Post

EBRD reveals updated project portfolio in Azerbaijan

Related News

ROI of AI in Manufacturing: Costs, Speed & Accuracy
Mobile

ROI of AI in Manufacturing: Costs, Speed & Accuracy

March 14, 2026
Avocado Health introduces AI-Powered text coaching for parents
Mobile

Avocado Health introduces AI-Powered text coaching for parents

March 13, 2026
India AI Impact Summit 2026: The Global South Takes Centre Stage in Shaping the Future of AI — Mobile App Development | Design
Mobile

India AI Impact Summit 2026: The Global South Takes Centre Stage in Shaping the Future of AI — Mobile App Development | Design

March 12, 2026
Mobile AppSec in CI/CD: Implementation Guide for DevSecOps
Mobile

Mobile AppSec in CI/CD: Implementation Guide for DevSecOps

March 11, 2026
Next Post
EBRD reveals updated project portfolio in Azerbaijan

EBRD reveals updated project portfolio in Azerbaijan

Discussion about this post

Subscribe To Our Newsletters

    Customer Support


    1251 Wilcrest Drive
    Houston, Texas
    77042 USA
    Call-832.795.1420
    e-mail – news@theinsightpost.com

    Subscribe To Our Newsletters

      Categories

      • Africa
      • Africa-East
      • African Sports
      • American Sports
      • Arts
      • Asia
      • Australia
      • Business
      • Business Asia
      • Business- Africa
      • Canada
      • Defense
      • Education
      • Egypt
      • Energy
      • Entertainment
      • Europe
      • European Soccer
      • Finance
      • Germany
      • Ghana
      • Health
      • Insight
      • International
      • Investing
      • Japan
      • Latest Headlines
      • Life & Living
      • Markets
      • Mobile
      • Movies
      • New Zealand
      • Nigeria
      • Politics
      • Scholarships
      • Science
      • South Africa
      • South America
      • Sports
      • Tech
      • Travel
      • Travel-Africa
      • UK
      • USA
      • Weather
      • World
      No Result
      View All Result

      Recent News

      Ancient Dogs Started Diversifying 11,000 Years Ago, Long Before the Modern Breeds We Know Today

      Ancient Dogs Started Diversifying 11,000 Years Ago, Long Before the Modern Breeds We Know Today

      March 15, 2026
      Another 3 members of Iran’s women’s soccer team decide against staying in Australia as refugees

      Another 3 members of Iran’s women’s soccer team decide against staying in Australia as refugees

      March 15, 2026
      Crown Prince Reza Pahlavi ready to lead Iran transition government

      Crown Prince Reza Pahlavi ready to lead Iran transition government

      March 15, 2026
      Larkey’s Kangaroos shut off Power for convincing win

      Larkey’s Kangaroos shut off Power for convincing win

      March 15, 2026
      • Home
      • Advertise With Us
      • About Us
      • Corporate
      • Consumer Rewards
      • Forum
      • Privacy Policy
      • Social Trends

      Theinsightpost ©2026 | All Rights Reserved. Theinsightpost is an Elnegy LLC company, registered in Texas, USA

      Welcome Back!

      Login to your account below

      Forgotten Password?

      Retrieve your password

      Please enter your username or email address to reset your password.

      Log In

      Add New Playlist

      We are using cookies to give you the best experience on our website.

      You can find out more about which cookies we are using or switch them off in .

      No Result
      View All Result
      • Home
      • Insight
      • Blog
      • Business
      • Entertainment
      • Health
      • Politics
      • Shop
        • Gift Shop
        • Value Shop
        • Store
        • Bargain Shop
        • Discount
      • Sports
      • Tech
      • Travel
      • USA
      • Video
      • World
        • Asia
        • Africa
        • South America
        • North America
        • Europe
        • Oceania

      Theinsightpost ©2026 | All Rights Reserved. Theinsightpost is an Elnegy LLC company, registered in Texas, USA

      The Insight Post
      Powered by  GDPR Cookie Compliance
      Privacy Overview

      This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

      Strictly Necessary Cookies

      Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

      Cookie Policy

      More information about our Cookie Policy