Consideration when developing mobile apps - answer---limited screen size
--each app has one window
--limited resources: app needs to star and quit quickly
--might not always have internet access
--could be interrupted
--no physical keyboard and mouse for interaction
SDK Components - ans...
Mobile App Development Quiz 1
Consideration when developing mobile apps - answer---limited screen size
--each app has one window
--limited resources: app needs to star and quit quickly
--might not always have internet access
--could be interrupted
--no physical keyboard and mouse for interaction
Xcode - answer---Integrated Development Environment (IDE) to create and manage development
projects
--Interface Builder: tool to build your application user interfaces
Frameworks - answer-Software libraries that provide specific functionality
Simulator - answer---Simulates running your apps on you Mac
--Enables yo to run, test, and debug iPhone and iPad apps on your Mac
--recreates most of the physical behavior of an actual device
--Except: no phone, camera, GPS, Accelerometer, iPod, bluetooth
--Doesn't emulate memory usage
Instruments - answer-Gather and analyze data on your apps behavior
Toolbar - answer---Lets you preform tasks to build and run your projects
--Left drop down lets you choose how yo want build and run your project
--In the middle is the activity view which shows what's going on at any given time
Hierarchy View - answer-Shows the content of the story board, split up into scene and content
Utility View - answer---Information for the currently selected object. This is where you set various
properties
--File Inspector
--Quick Help
--Identity inspector
--Attributes inspector
--Size inspector
--Connections inspector
Library - answer---File templates
--Code Snippets
--Objects (square in circle): Contains all the UI objects you can use in your user interface by simply
dragging and dropping onto your view
--Media library
, --Search field at the bottom of the library
code: import UIKit - answer-imports the UIKi framework which is the foundation of all IOS UI
code: class viewController: UIViewController - answer--defines our class View Controller
-UIViewController is a superclass (which is in UIKit which is why we imported that)
-all code for this class will be in the curly braces
Make a button - answer---click and drag UI element to code
--Connection: Action
--Name: buttonPressed
--Type: UIButton
--Event: Touch up Inside is the standard event to use for buttons
--Arguments: Sender
code: @IBAction func buttonPressed(_ sender: IUButton) {} - answer-method that calls buttonPressed
--called a method header
Connect button to outlet - answer---click and drag to label
--Connection: Outlet
--Name: messageText
--Type: UILabel
--leave storage as weak
--Connect
code: @IBOutlet weak var messageText: UILabel! - answer-makes an outlet
Object-Oriented Programming - answer---OOP models the natural way humans think about thing in
terms of attributes and behaviors
--OOP makes building complex, modular and reusable apps much easier
--OOP comes data and operations on the data (behavior) into one unit, a class
--Swift and Java are both object oriented languages.
Class - answer---Models a concept or thing in the real world
--Provides a template, or blueprint for it's objects
--Defines the characteristics (data properties) and behavior (methods) of its objects
--The data properties provide the class attributes, or characteristics
--Similar to function, methods are the actions or behaviors of the class.
--Defines which parts can be seen outside the class therefore hiding private information
Objects - answer---Something that can be acted on
--An instance, or occurrence, of a given class
-An object of a given class has the structure and behavior defined by the class
--Many different objects can be defined for a given class.
--All objects of the same class of the same structure
--Contains Properties and Methods
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller TOPDOCTOR. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.49. You're not tied to anything after your purchase.