Revised: 7 March 2015
In this lab, you will build and run (on the Xcode simulator) the simple iOS Welcome App described in Chapter 2 of the textbook.
- Log into your account on the lab OS X server, using the procedure explained in lab.
- Change the password on your server account; note that this account is not synchronized with your regular MSOE account and you should not use your normal MSOE password.
- Create a working directory for the course on your server share following the instructor's directions.
- Note that you are responsible for maintaining a backup of your server files, even though reasonable efforts will be made by MSOE staff to safeguard them.
- Follow the instructions in Chapter 2 of the textbook to build the Welcome application, with the following notes:
- There are likely a few typos (see information under Errata at deitel.com) in your copy of the text; ask the instructor if something does not seem reasonable to you.
- There may be some differences between our current version of Xcode and the screen shots in the text; ask if you have difficulty.
- Use "MSOE SE-4910i" as your Organization Name.
- Use "edu.msoe.se4910i.username" as your Company Identifier, where "username" is your MSOE user name.
- Make sure you choose Swift as the programming language. In this lab you won't actually be doing much with actual Swift code, you may want to take a look at what Xcode generates for you.
- Do not check the Use Core Data option.
- Specify a directory in your workspace for the project. For now, do not check the Create Git repository option.
- For now, don't worry too much about the details of the Swift language. Just enter the code as given in the text. You will note that Xcode tries to be helpful in expanding names, etc. Ask the instructor for assistance as needed.
- The basic OS X equivalent of a "right click" on the mouse is to click while holding down the control key. However, you may prefer to have a true "right click"; this setting can be changed in the mouse system preferences. Ask the instructor to explain how to do this.
- Note that many OS X and Xcode keyboard shortcuts are available, most using the command key. Ask for help if you have any trouble figuring them out.
- You may find that some of the storyboard dimensions given in the textbook do not exactly match the Xcode defaults, due to changes in successive versions of Xcode and the view sizes set when you added user interface elements. If some things don't work the way you expect, and you can't figure out how to fix them, consult the instructor. (Layout constraints in iOS 8 are very powerful, but can also be quite complicated.)
- Run your application in the iPhone simulator and demonstrate it to the instructor.
Submission (due Thursday, 12 March 2105, at 10PM)
Prepare a brief report named "se4910i-username-lab1.md" (where "username" is your MSOE email username) by editing the sample report template: se4910i-samplereport-lab1.txt.
You can view the processed sample report: se4910i-samplereport-lab1.md.
This file is in Markdown format. While we will try to stick to this basic definition of Markdown, there are a number of other versions, including:
- Fletcher Penney created the MultiMarkdown variant that supports basic Markdown syntax and adds enhancements, including capabilities related to tables and translation to output formats other than HTML.
- GitHub has defined a GitHub "flavor" of Markdown, which has some advantages in that environment.
To install MultiMarkdown (command-line version) on your own Mac or Windows machine:
- Download the installer from fletcherpenney.net/multimarkdown/download/.
- Consult the installation instructions at fletcherpenney.net/multimarkdown/install/.
- You may also benefit from reviewing the usage information at fletcherpenney.net/multimarkdown/use/.
You may prepare your report in OS X TextEdit or other editor. Use of a Windows text editor may insert CRLF line terminators (rather than only the LF used on OS X and Linux/BSD), which is a minor annoyance for the instructor.
Ask the instructor if you have questions.
Submit your (properly named) report file by uploading it to the se4910i-2015 folder on box.msoe.edu. (You should have received an "uploader" invitation email for that folder.)