Vai al contenuto principale della pagina
Autore: | Baruwā Śāntanu |
Titolo: | App development using IoS iCloud : incorporating CloudKit with Swift in Xcode / / Shantanu Baruah, Shaurya Baruah |
Pubblicazione: | New York, New York : , : Apress, , [2023] |
©2023 | |
Descrizione fisica: | 1 online resource (515 pages) |
Disciplina: | 005.3 |
Soggetto topico: | Cloud computing |
Swift (Computer program language) | |
Application software - Development | |
Persona (resp. second.): | BaruahShaurya |
Note generali: | Includes index. |
Nota di contenuto: | 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 -- Key Methods -- 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 -- Summary -- Chapter 4: Book Tracker Basic App Building. |
Setting Up the Tab View Controller -- Creating a Tab Application -- Summary -- 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 -- Summary -- 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 -- Summary -- Chapter 7: Deleting a Table Record -- Trailing Swipe Function -- Deleting book from CloudKit Database -- Summary -- 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 -- Summary -- Chapter 9: App Development Part 2 Overview -- What Lies Ahead . . . -- iCloud Setup -- Summary -- 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 -- Summary -- 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 -- Setup Function -- 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 -- 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 -- Summary -- Chapter 12: Book Details View Controller -- Initial Setup -- Create the View Controller -- Class Inheritance -- Class Variables -- Initial Load Functions -- Setup -- Set Book Details -- Drawing the Screen -- Screen Objects -- UI Object Code Snippets -- UI Object Code Snippets -- UI Object Code Snippets -- 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 -- Summary -- Chapter 13: Sharing Book with Other Users -- Import CloudKit -- Share Button Click Event -- Share Record Functions. | |
Cloud Sharing Call Back Function -- Summary -- Chapter 14: Edit Book -- Calling the Edit View Controller -- Edit View Controller -- Class Level Variable -- Navigation Bar -- Setup -- Save Book -- Update Book Database Functions -- Summary -- Chapter 15: Book Delete -- Delete Block Button Action -- Custom Delete Book Function -- Delete Book Database Function -- Summary -- 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 -- Remove Constraints -- Save Book Method -- Database Save Book Method -- Tab Bar Function -- Summary -- 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 -- Summary -- Chapter 18: Mark Favorite -- Frequency Button Action -- Database Functions Update Favorite Status -- Animation Function -- Summary -- Chapter 19: Shared Books Tab -- Accept the Share Record: Scene Delegate -- Share Record Function -- Shared Book Database Function -- Shared Task Zones -- Query Functions -- Summary -- Chapter 20: Search Screen -- Create the View Controller -- Class Variables -- Class UI Objects -- Screen Setup -- View Did Load -- Book Query function -- Database Function for Book Query -- Setup -- Draw Search Screen -- Text Field Function -- Editing Begin -- Editing Changed -- Editing End -- Pressing the Return Key on Keyboard -- Drawing the Table -- 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 -- Summary -- Index. | |
Sommario/riassunto: | 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. |
Titolo autorizzato: | App development using IoS iCloud |
ISBN: | 1-4842-8758-4 |
Formato: | Materiale a stampa |
Livello bibliografico | Monografia |
Lingua di pubblicazione: | Inglese |
Record Nr.: | 9910633933903321 |
Lo trovi qui: | Univ. Federico II |
Opac: | Controlla la disponibilità qui |