My Account Log in

1 option

App development using IoS iCloud : incorporating CloudKit with Swift in Xcode / Shantanu Baruah, Shaurya Baruah.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Baruwā, Śāntanu, author.
Baruah, Shaurya, author.
Language:
English
Subjects (All):
Cloud computing.
Swift (Computer program language).
Application software--Development.
Application software.
iCloud.
iOS (Electronic resource).
Physical Description:
1 online resource (515 pages)
Place of Publication:
New York, New York : Apress, [2023]
Summary:
Create a professional looking app from start to finish that takes advantage of iCloud technology. Rather than working with Storyboarding for building your UI, you'll use code to build professional looking screens. Using code is standard for professional developers to fit form factor alignment across multiple screen sizes and other design constraints. First, you'll build a basic, functional UX screen. Then you'll incorporate iCloud with CloudKit for data persistence and private, public, and shared databases. Here your code-drive UI design will expand out to developing professional looking screens with animation. You'll also learn to work with reminder and notification boxes, sharing data between your users, and adding functionally for interaction with other Apps. Finally, you'll tackle testing and using Test Flight before publishing your app to the App Store. This book offers a practical guide for coders at any level who want to learn and create professional looking iOS apps leveraging the database features of iCloud and the numerous extensions that Apple provides in the Xcode environment. Create professional looking apps that are secure and your users will love! What You'll Learn Leverage CloudKit for Backend as a Service Handle Asynchronous processes Share data among users of your app with simultaneous modifications Who This Book Is For iOS developers familiar with the basics of Swift coding who want to work with iCloud databases or move into more advanced fields, such as using extensions or designing UX in code.
Contents:
Intro
Table of Contents
About the Authors
About the Technical Reviewer
Acknowledgments
Introduction
Part I: Basic App Development Using Swift Core Concepts
Chapter 1: Xcode Introduction
About Xcode
Installation and System Requirements
Interface Introduction
Chapter Summary
Chapter 2: CloudKit Overview
CloudKit at a Glance
Setting Up CloudKit
Exploring CloudKit Dashboard
Accessing the iCloud Dashboard
Understanding the Dashboard
Creating Book Tracker Table (Table, type, Indexes)
Summary
Chapter 3: Core Swift Concepts
Variables
Let and Var
Basic Types
Classes, Structures, and Objects
Array
Scope
Functions
Beautifying Strings Using NSAttributedString
Life Cycle Methods
Type Casting
Step 1: Book Class
Step 2: Fiction Class Subclass of Book Class
Step 3: Non-Fiction Class Subclass of Book Class
Step 4: Define an Object of Type Book Class
Step 5: Method to Count Fiction or Non-fiction Class
Loop Controls
For-In Loops
For In-Loop with Range
While Loop
UI Color
Overview
Guidelines for UI Color
System Colors
Dynamic System Colors
Getting System Colors
Syntax
Define Using System Defined Color
Define Using RGB
CG Color
UINavigationBar
UIImage and UIImageView
How to Create an UIImage View
UI Image View Key Properties
Key Methods
UITextField
How To Create an UITextField
UITextField View Key Properties
UIAlertController
Defining an Alert
Alert Action and Working with User Action
Alert Display
UITableView
Creating a Table View
Delegate Methods
Setting the Table
Drawing the Table
Displaying a Table
Selection of Row
Table Header
Cell Heights
Swiping Function
Chapter 4: Book Tracker Basic App Building.
Setting Up the Tab View Controller
Creating a Tab Application
Chapter 5: Adding Book Screen
Designing the Add Screen
Assigning the Add View Controller File in Main.storyboard
Running the Code
Defining the UI Objects for the Add Screen
Running the Program
Saving the Book Record in iCloud
Data Validation Is an Important Step
Create a Database Function File
Preparation Before Saving the Book
Function to Save Book Record
Setting Value Before Calling saveBook
Post Save
Reset Field
Chapter 6: Displaying the Book Records
Setting Up Display View Controller
Assigning the Display View Controller File in Main.storyboard
Query the Book Table
Call the Query Book
Create a Table View
Step 1: Define the Table Object
Step 2: Extending the Table Delegate and Table Data Source
Step 3: Setting the Table Delegate and Table Cell
Step 4: Drawing the Table
Step 5: Implementing numberOfRowsInSection
Step 6: Implementing the cellForRowAt
Step 6: Run the program
Detailed Text Label
Setting a Table Header
Chapter 7: Deleting a Table Record
Trailing Swipe Function
Deleting book from CloudKit Database
Chapter 8: Searching Data Screen
Create the Search View Controller
Draw the Search Screen
Query for All Records to Enable Search
Text Field Events, Operations, and Display
Remove Constraints
Table Functions
Chapter 9: App Development Part 2 Overview
What Lies Ahead . . .
iCloud Setup
Part II: Overview
Chapter 10: Redesigning the Display Screen
Redesigning the UI of the Display Book Screen
Initial Setup
Defining UI Objects for the Top Views
Lifecycle Method and Initial Setup
Class-Level Variables
Lifecycle Method
Query Books
Setup Function
Drawing the Screen.
Drawing the Top Screen
Draw Screen Main Display
Table Setup
Custom Cell
Defining a Custom Cell
Add a Custom Button
Define Class-Level Variables
Draw the Cell Screen
Table View Class Inheritance
Core Table Functions
Top View Blocks
View Button Action
Custom Delegation
Define the Delegate Protocol
Implementing the Delegate
Calling the Delegate
Define a Delegate Protocol Variable
Calling the Delegate Protocol Function
Chapter 11: Adding a Book
Creation of View Controller and Linking It to the Tab Bar
Inheriting Delegates
Declaring Variables
Declaring Screen Objects
Screen Load Event and Initial Functions
View Did Load
Genre and Status Objects
Draw Screen
Displaying the Genre and Status Table
Table Sections
Table Rows
Table Display Cell Value
Table Row Height
Table Header Height
Table Select Row Action
Input Text Field Events
Visual Display
Disappear the Keyboard Upon Return
Save the Book
Saving to iCloud
Saving Book Record to iCloud
Define Class Objects
Define Class Variables
Define saveBook Function
Reset Fields
Chapter 12: Book Details View Controller
Create the View Controller
Class Inheritance
Class Variables
Initial Load Functions
Setup
Set Book Details
Drawing the Screen
Screen Objects
UI Object Code Snippets
Drawing Screen
Displaying the Book Details
Number of Sections
Number of Rows
Display the Table
Row Height
Header View
Header Height
Defining the Custom Cell
Tab Bar Function
Chapter 13: Sharing Book with Other Users
Import CloudKit
Share Button Click Event
Share Record Functions.
Cloud Sharing Call Back Function
Chapter 14: Edit Book
Calling the Edit View Controller
Edit View Controller
Class Level Variable
Navigation Bar
Save Book
Update Book Database Functions
Chapter 15: Book Delete
Delete Block Button Action
Custom Delete Book Function
Delete Book Database Function
Chapter 16: Book Notes
Marking Book as FavoriteBook Notes Touch Up Inside Event
Book Notes View Controller
Class Level Variables
Book Notes Variable
Class Level UI Objects
Initial Loading
Custom Table View Cell for Book Notes
Draw the Notes Screen
Table View Function
Table View Trailing Swipe Control
Delete Notes
Adding Notes
Draw the Add Notes Popup
Add Notes Navigation Bar Function
Save Book Method
Database Save Book Method
Chapter 17: Book Reminder
Reminder Action Button
Draw Reminder Screen
Save Reminder
Setup Reminder
Reset Reminder
Update Reminder
Update Database with Reminder Date
Remove Reminder Screen
Chapter 18: Mark Favorite
Frequency Button Action
Database Functions Update Favorite Status
Animation Function
Chapter 19: Shared Books Tab
Accept the Share Record: Scene Delegate
Share Record Function
Shared Book Database Function
Shared Task Zones
Query Functions
Chapter 20: Search Screen
Class UI Objects
Screen Setup
Book Query function
Database Function for Book Query
Draw Search Screen
Text Field Function
Editing Begin
Editing Changed
Editing End
Pressing the Return Key on Keyboard
Removing the Constraints
Table Function
Summary.
Chapter 21: Packaging and Releasing
Setting Up the Application Logo
Build the Archive and Publish
Set Up Test Flight Account
Menu Option
Distribute App
Setting Up the App in App Store
Promote Development Database to Production Database
Invite Test Users in Test Flight
Test-Driven Development
Index.
Notes:
Description based on print version record.
Includes index.
ISBN:
9781484287583
1484287584
OCLC:
1352419507

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account