Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fernandojinzenji/c157a1b8e57064a72e92962c57c4de95 to your computer and use it in GitHub Desktop.
Save fernandojinzenji/c157a1b8e57064a72e92962c57c4de95 to your computer and use it in GitHub Desktop.
Week 4, Tuesday
Question 1:
uuidgen is a command that returns a unique identifier value. You should use it when it is necessary to create a value (like a
property id for a object) and be sure that that value will never conflict with any other value.
Question 2:
CoreLocation uses GPS coordinates to provide "course" information. Heading is the direction where the iPhone is pointing,
returned from the digital compass.
Question 3:
GPS (Global Positioning System) is the device responsible to return user location (latitude, longitude, range). Magnetometer
is the digital compass that allows the OS to know where the device is pointing at related to the true north and magnetic north.
To use this capabilities, it is necessary to ask for permission (settings inside info.plist) to the user.
Question 4:
- Theater uses different pre-defined templates where the user just replace specific frames to generate a more "professional"
result.
- Movie requires the user the create all video/audioline from scratch. Therefore this options gives your more liberty and
flexibility, it also is more difficult to achieve the same level of quality of Theaters.
- They are related because both "return" the same content: video/audio content. But Theaters make it easier for the user
creating templates with specific categories to facilitate media creation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment