Lab 1 Introduction to Macos and Ios App Development
Total Page:16
File Type:pdf, Size:1020Kb
macOS and iOS operating systems Lab 1 Introduction to macOS and iOS app development Gdańsk 2018 Tomasz Idzi Introduction This lab is prepared to acquaint the student with the basic functionality of the Mac OS. Tasks to be performed is not subject to assessment, although it is recommended to perform with extreme care, since they are the basis for the next class. A student who will perform the following tasks should possess basic knowledge of navigating the Mac OS. macOS - First look macOS (previously Mac OS X, then OS X) is the operating system that powers every Mac, developed and marketed by Apple Inc. since 2001. It’s designed specifically for the hardware it runs on - and vice versa. Current version of the system is 10.13.x and named High Sierra. 1. Apple menu - information about Mac, System Preferences, Sleep, Shut Down and more. 2. Application menu - contains menus for the application you’re currently using. The name of the application appears in bold next to the Apple menu. 3. Menu bar - contains the Apple menu, active application menu, status menus, menu bar extras, Spotlight icon and Notification Center icon. 4. Status menu - shows the date and time, status of your computer or gives you quick access to certain features - for example, you can quickly turn on Wi-Fi, turn off Bluetooth or mute your’s computer’s volume. 1 5. Spotlight icon - Click it to bring up the Spotlight search field, where you can search for anything on your Mac ( to run Spotlight you can use keyboard shortcut ⌘ + space). 6. Notification Center icon - Click it to view Notification Center, which consolidates your notifications from Messages, Calendar, Mail, Reminders, and third-party apps. 7. Desktop - This is where your applications' windows will appear. You can add more desktops using Mission Control. 8. The Dock - Quick access to your most frequently used applications, folders, and files. With a single click the application, folder, or file opens. Finder The Finder is the app that helps you navigate all of the files and folders on your Mac. The Finder lets you browse your apps, disks, files and folders in variety of ways. You can use the Finder to organize these items the way you want. You can also use the Finder to search for items, delete files you no longer want and more. The Finder is the home base for your Mac. The Finder icon looks like a blue smiling face; click the icon in the Dock to open a Finder window. 2 You use Finder windows to organize and access almost everything on your Mac. You can change how items are displayed in Finder windows by dragging them, arranging them or changing view. Use the View menu to change the view of the current Finder window. You can also click the corresponding View button in the Toolbar that appears at the top of Finder windows. See your stuff. C lick items in the Finder sidebar to see your files, apps, downloads, and more. To make the sidebar even more useful, you can customize it: ● Hide or show the toolbar: Choose View > Hide Toolbar, or View > Show Toolbar. Hiding the toolbar also hides the sidebar, and moves the status bar from the bottom to the top of the window. ● Resize the toolbar: If you see angle brackets at the right end of the toolbar, it means the window is too small to show all of the toolbar items. Enlarge the window or click the brackets to see the rest of the items. ● Change what’s in the toolbar: Choose View > Customize Toolbar. You can drag items into and out of the toolbar, add a space between items, and choose whether to show text with the icons. ● Rearrange the items in the toolbar: Press and hold the Command key, then drag an item to a new location. ● Add a file or an app: Press and hold the Command key, then drag the item to the Finder toolbar until you see a green plus sign. ● Remove an item: Press and hold the Command key, then drag the item out of the toolbar. ● Hide or show the sidebar: Choose View > Hide Sidebar or View > Show Sidebar. (If Show Sidebar is dimmed, choose View > Show Toolbar.) ● Resize the sidebar: Drag the right side of the divider bar to the right or left. 3 ● Change what’s in the sidebar: Choose Finder > Preferences, click Sidebar, then select or deselect items. ● Rearrange items in the sidebar: Drag an item to a new location. You can’t rearrange items in the Shared section. ● Show or hide all the items in a section of the sidebar: Position the pointer over the section head until you see Hide or Show appear, then click the Hide or Show button. For example, to temporarily hide your Favorites, position the pointer over the Favorites heading in the sidebar and click the Hide button. ● Create new folder (for example on desktop) and add it to the sidebar: Drag the item to the Favorites section (If you don’t see the Favorites section, choose Finder > Preferences > Sidebar, then select at least one item in the section.): 1. 2. 3. ● Remove an item (added folder to Favorites section): Drag the item icon out of the sidebar until you see the remove sign . Using folders To rename a file/folder in macOS, you have to click on it and: ● right-clicking, select G etInfo and in N ame & Extension section type new name ● or select R ename ● or press Enter button and type new name 4 When you no longer need an item, you can delete it. Select the item (or folder of items) in the Finder (or desktop), then choose File > Move to Trash. The Finder then moves the item to a special folder called "Trash" so that you no longer see it. You can view items that are marked for deletion by clicking the Trash icon in the D ock. You can also removing a file by drag and drop on trash icon. Move folder which you created to Trash then click mouse right button on Trash icon and select Empty Trash to remove all items which are there. Search with Spotlight Spotlight can find apps, documents, photos, and other files on your Mac, and use S potlight Suggestions to get news, sports, movies, stocks, weather, and more from the web using sources like Wikipedia, Bing, Maps, and iTunes. Spotlight can even get conversions, calculations, and definitions for you. Open Spotlight and search ● Open Spotlight: C lick the Spotlight icon in the upper-right corner of the m enu bar, or press Command-Space bar. If it’s your first time using Spotlight, a description is shown in the Spotlight window. Just start typing in the search field where it says Spotlight Search. ● Enter a search phrase: Start typing what you want to find—results appear as you type; you don’t need to press Return. 5 ○ You can find files on your Mac by typing what you’re looking for in the same way you’d say it. For example, you could search by typing “california photos” or “emails from emily.” ○ You can find things on the web and in the iTunes Store, iBooks Store, or App Store. For example, you can get results for weather, sports, stocks, or transit information. Or search for music, movies, books, apps, nearby stores and landmarks, and more. ● Open an app: Type the name of the app, such as P review, then press R eturn (Enter). Or double-click the item. ● Show the location of a file on your Mac: Select the file in the results list, then press and hold the Command key to show the file’s location at the bottom of the preview. ● Copy an item: Drag a file from the results list to the desktop or a Finder window. ● Make a desktop shortcut to an item: Drag the item from the results list to the desktop; just click it on the desktop to open the item in the appropriate app, such as Safari. ● See all results from your Mac in the Finder: Scroll to the bottom of the results list, then double-click Show all in Finder. You can narrow the results in Finder. ● Convert currencies: Enter an amount to see the equivalent in other common currencies. For example, enter $100, £100, or ¥100. Or enter something like “300 krone in dollars.” 6 ● Convert temperatures: Enter a temperature like 98.8F or 32C. Or enter something like “340K in F.” ● Convert measurements: Enter a measurement like 25 lb, 54 yards, or 23 stone. Or enter something like “32ft to meters.” ● Get a calculation: Enter a mathematical expression, such as 956*23.94. Compress an item Do any of the following: ● Select the items you want to compress and choose File > Compress. ● Control-click an item and choose Compress from the shortcut menu. ● In a Finder window, select one or more items and choose Compress from the Action menu. If you compress a single item, the compressed file has the name of the original item with the .zip extension. If you compress multiple items at once, the compressed file is called Archive.zip. Uncompress (expand an item) Double-click the .zip file. Keyboard shortcuts 7 To use a keyboard shortcut, press a modifier key at the same time as a character key. For example, pressing the Command key (it has a ⌘ symbol) and then the "c" key copies whatever is currently selected to the Clipboard. This is also known as the Command-C keyboard shortcut.