舉報

會員
iOS 12 Programming for Beginners
WanttobuildiOS12applicationsfromscratchwiththelatestSwift4.2languageandXcode10byyourside?Forgetsiftingthroughtutorialsandblogposts;thisbookisadirectroutetoiOSdevelopment,takingyouthroughthebasicsandshowingyouhowtoputprinciplesintopractice.Takeadvantageofthisdeveloper-friendlyguideandstartbuildingapplicationsthatmayjusttaketheAppStorebystorm!Ifyou’realreadyanexperiencedprogrammer,youcanjumprightinandlearnthelatestiOS12features.Forbeginners,thisbookstartsbyintroducingyoutoiOSdevelopmentasyoulearnXcodeandSwift.You'llalsostudyadvancediOSdesigntopics,suchasgesturesandanimations,togiveyourapptheedge.You’llexplorethelatestSwift4.2andiOS12developmentsbyincorporatingnewfeatures,suchasthelatestinnotifications,custom-UInotifications,maps,andtherecentadditionsinSirikit.ThebookwillguideyouinusingTestFlighttoquicklygettogripswitheverythingyouneedtogetyourprojectontheAppStore.Bytheendofthisbook,you'llbereadytostartbuildingyourowncooliOSapplicationsconfidently.
最新章節
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- Summary
- External testing
- Internal testing
- Internal and external testing
品牌:中圖公司
上架時間:2021-07-02 12:40:30
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Leave a review - let other readers know what you think 更新時間:2021-07-02 15:06:03
- Other Books You May Enjoy
- Summary
- External testing
- Internal testing
- Internal and external testing
- Creating an archive build
- Creating an App Store listing
- Creating a development provisioning profile
- Creating a production provisioning profile
- Creating production and development certificates
- Creating a certificate signing request
- Creating a bundle identifier
- Beta and Store Submission
- Summary
- Testing Siri
- Updating our intent handler
- Creating users
- Enabling Siri's capabilities
- Supported intents
- Understanding SiriKit
- Siri voice shortcut
- Using Siri Shortcuts
- SiriKit
- Summary
- Custom Notification Settings (iOS 12)
- Custom UI in notifications
- Summary and hidden text (iOS 12)
- Grouped notifications (iOS 11)
- Adding buttons
- Embedding images (iOS 10 feature)
- Deliver quietly (iOS 12 feature)
- Customizing our notifications
- Showing notifications
- Setting up notifications
- Getting permission
- Starting with the basics
- Notifications
- Summary
- Sending reservations
- iMessage crashing
- Showing restaurants
- Connecting your message cell
- Creating a framework
- Updating our assets
- Creating our extension
- Understanding iMessages
- iMessages
- Summary
- Updating the restaurant detail page
- Restaurant listing
- Location listing
- Explore
- Universal
- Summary
- Adding an overall rating
- Saving photos
- Saving reviews
- Saving Reviews
- Summary
- Core Data manager
- Review item
- The RestaurantPhoto Entity
- Entity autogeneration
- Creating a data model
- What is Core Data?
- Understanding Core Data
- Summary
- Getting permission
- Creating our PhotoFilterViewController
- Creating a filter cell
- Creating our filter scroller
- Understanding filters
- Working with Photo Filters
- Summary
- Creating our ReviewFormController
- Setting up the unwind segues
- Adding our touch events
- Displaying ratings in our custom UIControl
- Getting started with reviews
- Foodie Reviews
- Summary
- Displaying data in our static Table View
- Displaying Data in Restaurant Detail
- Summary
- Handling no data
- Creating a restaurant data manager
- Setting up restaurant list cell outlets
- Creating our restaurant cell class
- Passing location and cuisine to the restaurant list
- Getting the last selected location
- Unwinding our Done button
- Passing a selected location back to Explore View
- Adding a Header view
- Selecting a location
- Location list
- Exploring the API Manager file
- Understanding a JSON file
- What is an API?
- Creating an API Manager
- Working with an API
- Summary
- Refactoring MapViewController
- Refactoring RestaurantViewController
- Using the MARK comment
- Refactoring ExploreViewController
- Organizing your code
- Passing data to restaurant detail
- Map to restaurant detail
- Creating a storyboard reference
- Map to restaurant detail
- Creating custom annotations
- Creating our Map View Controller
- Creating and adding annotations
- Refactoring ExploreDataManager
- Refactoring code
- Creating a base class
- Creating our Map Data Manager
- Creating a restaurant annotation
- What is an MKAnnotation?
- Setting up map annotations
- Where Are We?
- Summary
- Working with our data manager
- Creating our location data manager
- Adding data to our property list
- Creating our first property list (plist)
- Adding locations to our Table View
- Adding the data source and delegate
- Digging into our Table View code
- Connecting our Table View with our Location View Controller
- Creating our Location View Controller class
- Understanding Table Views
- Getting Started with the List
- Summary
- Restaurant listing
- Hooking up our UI with IBOutlets
- Connecting to our cell
- Getting data
- ExploreDataManager.swift
- ExploreItem.swift
- ExploreData.plist
- Model
- Getting Data into Our Grid
- Summary
- Understanding the data source
- Getting data into Collection View
- Understanding Collection View controllers and Collection View cells
- Creating our controller
- Understanding Collection Views
- Controllers and classes
- Classes and structures
- Getting familiar with the setup
- Understanding the Model View Controller architecture
- Getting Started with the Grid
- Summary
- The Locations cell
- Adding Auto Layout to the Restaurant cell
- Setting up the Restaurant cell
- Adding Auto Layout to the Explore cell
- Setting up the Explore cell
- Adding Auto Layout to the Explore header
- Setting up the Explore header
- Designing Cells
- Summary
- Map Kit View
- Viewing reviews
- Adding the Reviews View
- Setting up our cell
- Hooking up our outlets
- Adding our Restaurant List View
- Finishing Up Our App Structure in Storyboard
- Summary
- Adding our first Table View
- Unwinding our Cancel button
- Updating Bar Button Items
- Adding a modal
- Updating the grid
- Section header
- Setting up our cell
- Creating a custom color
- Hooking up our outlets
- Adding a Collection View Controller
- Building Our App Structure in Storyboard
- Summary
- Adding a Navigation Controller
- Creating our launch screen
- Storyboards
- Adding our app assets
- Storyboard setup
- Starting from scratch
- Setting Up the Basic Structure
- Summary
- Creating a new project
- Project setup
- The Map tab
- Restaurant detail
- Restaurant listings
- Locations
- The Explore tab
- App tour
- Model View Controller (MVC)
- Auto Layout
- Stack Views
- Segues
- Storyboards
- Tab Bar Controllers
- Navigation Controllers
- Collection View Controllers
- Table View Controllers
- View Controllers
- Useful terms
- Starting the UI Setup
- Summary
- Removing items from a set
- Joining two sets
- Intersecting two sets
- Iterating over a set
- Checking whether a set contains an item
- Adding items to a set
- Creating a mutable set
- Creating a set with an array literal
- Creating an empty set
- Sets
- Removing items from a dictionary
- Checking the number of items in a dictionary
- Iterating over dictionary keys and values
- Iterating over dictionary keys
- Iterating over dictionary values
- Accessing an item in a dictionary
- Adding and updating dictionary elements
- Creating a dictionary
- Dictionaries
- Removing items from an array
- Iterating over an array
- Retrieving a value from an array
- Checking for an empty array
- Checking the number of elements in an array
- Adding items to an array
- Creating a mutable array
- Creating an array with initial values
- Creating an empty array
- Arrays
- Digging into Collections
- Summary
- The repeat...while loop
- The while loop
- One-sided range
- The for...in loop
- Control flow
- Half-closed range
- Closed range
- Ranges
- Creating a Playground project
- Digging Deeper
- Summary
- Functions
- Why optionals?
- Optionals and optional bindings
- The if statements – having fun with logic statements
- Creating a Playground project
- Building on the Swift Foundation
- Summary
- Comparison operators
- Increment and decrement
- Operations with our integers
- String interpolation
- Concatenating strings
- Type safety and type inference
- Comments – leaving yourself notes or reminders
- Why constants versus variables?
- Creating a Boolean
- Adding floating-point numbers
- Debug and print() – detecting your bugs
- Creating a variable with an integer (int)
- Creating a variable with a string
- Variables and constants – where data is held
- Booleans
- Floating-point numbers
- Integer data type
- String
- Data types – where it all starts
- Playgrounds – an interactive coding environment
- Building a Foundation with Swift
- Summary
- Window pane controls
- Connecting wirelessly
- iOS device
- Generic iOS device
- Toolbar
- Debug panel
- Utilities panel
- Standard editor
- Navigator panel
- The Xcode interface
- Getting started
- Getting Familiar with Xcode
- Reviews
- Get in touch
- Conventions used
- Download the color images
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewer
- About the author
- Contributors
- Packt.com
- Why subscribe?
- Packt Upsell
- iOS 12 Programming for Beginners Third Edition
- Copyright and Credits
- Title Page
- coverpage
- coverpage
- Title Page
- Copyright and Credits
- iOS 12 Programming for Beginners Third Edition
- Packt Upsell
- Why subscribe?
- Packt.com
- Contributors
- About the author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Download the color images
- Conventions used
- Get in touch
- Reviews
- Getting Familiar with Xcode
- Getting started
- The Xcode interface
- Navigator panel
- Standard editor
- Utilities panel
- Debug panel
- Toolbar
- Generic iOS device
- iOS device
- Connecting wirelessly
- Window pane controls
- Summary
- Building a Foundation with Swift
- Playgrounds – an interactive coding environment
- Data types – where it all starts
- String
- Integer data type
- Floating-point numbers
- Booleans
- Variables and constants – where data is held
- Creating a variable with a string
- Creating a variable with an integer (int)
- Debug and print() – detecting your bugs
- Adding floating-point numbers
- Creating a Boolean
- Why constants versus variables?
- Comments – leaving yourself notes or reminders
- Type safety and type inference
- Concatenating strings
- String interpolation
- Operations with our integers
- Increment and decrement
- Comparison operators
- Summary
- Building on the Swift Foundation
- Creating a Playground project
- The if statements – having fun with logic statements
- Optionals and optional bindings
- Why optionals?
- Functions
- Summary
- Digging Deeper
- Creating a Playground project
- Ranges
- Closed range
- Half-closed range
- Control flow
- The for...in loop
- One-sided range
- The while loop
- The repeat...while loop
- Summary
- Digging into Collections
- Arrays
- Creating an empty array
- Creating an array with initial values
- Creating a mutable array
- Adding items to an array
- Checking the number of elements in an array
- Checking for an empty array
- Retrieving a value from an array
- Iterating over an array
- Removing items from an array
- Dictionaries
- Creating a dictionary
- Adding and updating dictionary elements
- Accessing an item in a dictionary
- Iterating over dictionary values
- Iterating over dictionary keys
- Iterating over dictionary keys and values
- Checking the number of items in a dictionary
- Removing items from a dictionary
- Sets
- Creating an empty set
- Creating a set with an array literal
- Creating a mutable set
- Adding items to a set
- Checking whether a set contains an item
- Iterating over a set
- Intersecting two sets
- Joining two sets
- Removing items from a set
- Summary
- Starting the UI Setup
- Useful terms
- View Controllers
- Table View Controllers
- Collection View Controllers
- Navigation Controllers
- Tab Bar Controllers
- Storyboards
- Segues
- Stack Views
- Auto Layout
- Model View Controller (MVC)
- App tour
- The Explore tab
- Locations
- Restaurant listings
- Restaurant detail
- The Map tab
- Project setup
- Creating a new project
- Summary
- Setting Up the Basic Structure
- Starting from scratch
- Storyboard setup
- Adding our app assets
- Storyboards
- Creating our launch screen
- Adding a Navigation Controller
- Summary
- Building Our App Structure in Storyboard
- Adding a Collection View Controller
- Hooking up our outlets
- Creating a custom color
- Setting up our cell
- Section header
- Updating the grid
- Adding a modal
- Updating Bar Button Items
- Unwinding our Cancel button
- Adding our first Table View
- Summary
- Finishing Up Our App Structure in Storyboard
- Adding our Restaurant List View
- Hooking up our outlets
- Setting up our cell
- Adding the Reviews View
- Viewing reviews
- Map Kit View
- Summary
- Designing Cells
- Setting up the Explore header
- Adding Auto Layout to the Explore header
- Setting up the Explore cell
- Adding Auto Layout to the Explore cell
- Setting up the Restaurant cell
- Adding Auto Layout to the Restaurant cell
- The Locations cell
- Summary
- Getting Started with the Grid
- Understanding the Model View Controller architecture
- Getting familiar with the setup
- Classes and structures
- Controllers and classes
- Understanding Collection Views
- Creating our controller
- Understanding Collection View controllers and Collection View cells
- Getting data into Collection View
- Understanding the data source
- Summary
- Getting Data into Our Grid
- Model
- ExploreData.plist
- ExploreItem.swift
- ExploreDataManager.swift
- Getting data
- Connecting to our cell
- Hooking up our UI with IBOutlets
- Restaurant listing
- Summary
- Getting Started with the List
- Understanding Table Views
- Creating our Location View Controller class
- Connecting our Table View with our Location View Controller
- Digging into our Table View code
- Adding the data source and delegate
- Adding locations to our Table View
- Creating our first property list (plist)
- Adding data to our property list
- Creating our location data manager
- Working with our data manager
- Summary
- Where Are We?
- Setting up map annotations
- What is an MKAnnotation?
- Creating a restaurant annotation
- Creating our Map Data Manager
- Creating a base class
- Refactoring code
- Refactoring ExploreDataManager
- Creating and adding annotations
- Creating our Map View Controller
- Creating custom annotations
- Map to restaurant detail
- Creating a storyboard reference
- Map to restaurant detail
- Passing data to restaurant detail
- Organizing your code
- Refactoring ExploreViewController
- Using the MARK comment
- Refactoring RestaurantViewController
- Refactoring MapViewController
- Summary
- Working with an API
- Creating an API Manager
- What is an API?
- Understanding a JSON file
- Exploring the API Manager file
- Location list
- Selecting a location
- Adding a Header view
- Passing a selected location back to Explore View
- Unwinding our Done button
- Getting the last selected location
- Passing location and cuisine to the restaurant list
- Creating our restaurant cell class
- Setting up restaurant list cell outlets
- Creating a restaurant data manager
- Handling no data
- Summary
- Displaying Data in Restaurant Detail
- Displaying data in our static Table View
- Summary
- Foodie Reviews
- Getting started with reviews
- Displaying ratings in our custom UIControl
- Adding our touch events
- Setting up the unwind segues
- Creating our ReviewFormController
- Summary
- Working with Photo Filters
- Understanding filters
- Creating our filter scroller
- Creating a filter cell
- Creating our PhotoFilterViewController
- Getting permission
- Summary
- Understanding Core Data
- What is Core Data?
- Creating a data model
- Entity autogeneration
- The RestaurantPhoto Entity
- Review item
- Core Data manager
- Summary
- Saving Reviews
- Saving reviews
- Saving photos
- Adding an overall rating
- Summary
- Universal
- Explore
- Location listing
- Restaurant listing
- Updating the restaurant detail page
- Summary
- iMessages
- Understanding iMessages
- Creating our extension
- Updating our assets
- Creating a framework
- Connecting your message cell
- Showing restaurants
- iMessage crashing
- Sending reservations
- Summary
- Notifications
- Starting with the basics
- Getting permission
- Setting up notifications
- Showing notifications
- Customizing our notifications
- Deliver quietly (iOS 12 feature)
- Embedding images (iOS 10 feature)
- Adding buttons
- Grouped notifications (iOS 11)
- Summary and hidden text (iOS 12)
- Custom UI in notifications
- Custom Notification Settings (iOS 12)
- Summary
- SiriKit
- Using Siri Shortcuts
- Siri voice shortcut
- Understanding SiriKit
- Supported intents
- Enabling Siri's capabilities
- Creating users
- Updating our intent handler
- Testing Siri
- Summary
- Beta and Store Submission
- Creating a bundle identifier
- Creating a certificate signing request
- Creating production and development certificates
- Creating a production provisioning profile
- Creating a development provisioning profile
- Creating an App Store listing
- Creating an archive build
- Internal and external testing
- Internal testing
- External testing
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-07-02 15:06:03