A Retina version of the Background.png image would be named for example.
![ipad emulator for mac inspector ipad emulator for mac inspector](https://developer.apple.com/library/archive/documentation/IDEs/Conceptual/iOS_Simulator_Guide/Art/adding_simulator_2x.png)
Non-iPhone 6+ Retina images are named with a suffix. The asset catalog does the rest.Īpple requires that all applications include Retina resources, so you’ll want to consider that when creating application graphics. If you add an image into a catalog, and then want to add the corresponding Retina images, just drag an image into the 2x spot, and one into the 3x spot. The iPhone 6+ introduced a display with three times the vertical and horizontal resolution of a non-Retina display (hence, 3x).Īlthough these image assets make up a total of three separate graphic files (1x, 2x, and 3x), they are presented under a single image name in the asset catalog. Most Retina graphics are twice the vertical and horizontal resolution of non-Retina images (hence 2x). Just add your images into the asset catalog, make sure that the 1x, 2x, and 3x images are defined, and then reference the image using the name shown in the left-side column of the catalog. In other words, you don’t need to do anything special to use the right image at the right time. iOS automatically substitutes the correct Retina version of the image into your application as it runs. When you reference an image in your code, you’ll always refer to the non-Retina name (for example, what you see listed as the image name in the asset catalog). This is an asset catalog, which we cover in more detail in a few minutes. You’ll also notice a folder icon labeled Images.xcassets. This contains files that, although necessary for your application to work correctly, are rarely edited by hand.
#Ipad emulator for mac inspector code#
If you dig a bit further, you’ll find a Supporting Files group within the Project Code folder.
#Ipad emulator for mac inspector how to#
We do not get into unit tests in this book they are simply a tool for developers to use on large projects and not needed to learn how to develop for iOS. Unit tests are small pieces of code written to test discrete chunks of application functionality.
![ipad emulator for mac inspector ipad emulator for mac inspector](https://miro.medium.com/max/898/1*lBPecekrDB25IbvMi01wXw.png)
Most of your development will be within a file located here. As you’ll learn in the next hour, classes group together application features that complement one another.
![ipad emulator for mac inspector ipad emulator for mac inspector](https://www.gihosoft.com/wp-content/uploads/2019/03/ipadian-ios-emulator-for-windows-pc.png)
On the right side of the display are the templates within the category, with a description of the currently highlighted template. Our focus is on the iOS Application category, so be sure that it is selected. We use several templates throughout this book, depending on what type of application we’re building.Īlong the left side of the Template window are the categories of templates available.
![ipad emulator for mac inspector ipad emulator for mac inspector](https://technicgang.com/wp-content/uploads/2016/11/IOS-Emulator.png)
This topic is beyond the scope of this book, but you can read more about Core Data using the Xcode documentation system discussed in the next hour.Īlthough it is possible to build an application completely from scratch, the time saved by using a template is significant. Core Data is an advanced means of storing application data that may be of interest as your project’s needs grow.