
iOS 11 Swift Programming Cookbook. Solutions and



iOS 11 Swift Programming Cookbook. Solutions and - Najlepsze oferty
iOS 11 Swift Programming Cookbook. Solutions and - Opis
iOS 11, Swift 4, and Xcode 9 provide many new APIs for iOS developers. With this cookbook, you...ll learn more than 170 proven solutions for tackling the latest features in iOS 11 and watchOS 4, including new ways to use Swift and Xcode to make your day-to-day app development life easier. This collection of code-rich recipes also gets you up to speed on continuous delivery and continuous integration systems.Ideal for intermediate and advanced iOS developers looking to work with the newest version of iOS, these recipes include reusable code on GitHub, so you can put them to work in your project right away.Among the topics covered in this book:New features in Swift 4 and Xcode 9Tools for continuous delivery and continuous integrationSnapshot testing and test automationCreating document-based applicationsUpdated Map view and Core Location featuresiOS 11...s Security and Password AutofillData storage with Apple...s Core DataCreating lively user interfaces with UI DynamicsBuilding iMessage applications and sticker packagesIntegrating Siri into your apps with Siri KitCreating fascinating apps for Apple Watch Spis treści:Preface
Audience
Organization of This Book
Conventions Used in This Book
Additional Resources
Using Code Examples
OReilly Safari
How to Contact Us
Acknowledgments
1. Continuous Integration and Delivery
1.1. Setting Up Xcode Server
1.2. Connecting Local Xcode to Xcode Server
1.3. Archiving Your Apps with Xcode Bots
1.4. Running Your Tests Automatically with Xcode Bots
1.5. Performing Analysis of Your (...) więcej Code Using Xcode Bots
1.6. Integrating GitHub Projects with Travis
1.7. Installing the Travis CLI
1.8. Running Your Unit Tests with Travis
1.9. Building and Archiving Your Project with Travis
1.10. Installing and Setting Up fastlane
1.11. Building Your Apps with fastlane
1.12. Testing Your Apps with fastlane
1.13. Enabling Slack Notifications in fastlane
1.14. Archiving Your Apps with fastlane
1.15. Uploading Your Apps to iTunes Connect with fastlane
2. Snapshot Testing
2.1. Setting Up Snapshot Testing
2.2. Recording Snapshots
2.3. Specifying Tolerance in Snapshot Tests
2.4. Analyzing Snapshot Test Case Failures
2.5. Testing Table View Cell Snapshots
3. SiriKit
3.1. Setting Up Your Project for Siri
3.2. Defining an Intent Handler
3.3. Resolving Ambiguity in an Intent
3.4. Reporting Progress for Resolving an Intent
3.5. Handling an Intent
4. Measurements and Units
4.1. Converting Between and Working with Length Units
4.2. Working with and Switching Between Angle Units
4.3. Representing and Converting Between Durations of Time
4.4. Using and Working with Frequency Units
4.5. Working with and Using Power Units
4.6. Representing and Comparing Temperature Units
4.7. Working with and Converting Volume Units
5. Core Data
5.1. Designing Your Database Scheme
5.2. Writing Data to the Database
5.3. Reading Data from the Database
5.4. Searching for Data in the Database
5.5. Performing Background Tasks with Core Data
6. Swift and Cocoa Touch
6.1. Extending Typed Arrays
6.2. Taking Advantage of Open Collection Ranges
6.3. Organizing Private Functions and Properties with Extensions
6.4. Defining Key Paths in Swift
6.5. Parsing from and to JSON with Swift
6.6. Handling Corner Cases in JSON Parsing with Swift
6.7. Partitioning Arrays into Segments
6.8. Setting Constraints on Extensions
6.9. Defining Object Requirements Through Protocols
6.10. Creating New Data Types by Combination
6.11. Adding Logic Through Protocols
6.12. Defining Constraints on Protocols
6.13. Handling Errors in Swift
6.14. Specifying Preconditions for Methods
6.15. Ensuring the Execution of Code Blocks Before Exiting Methods
6.16. Checking for API Availability
6.17. Creating Your Own Set Types
6.18. Conditionally Extending a Type
6.19. Optimizing Your Swift Code
6.20. Building Equality Functionality into Your Own Types
6.21. Grouping switch Statement Cases Together
6.22. Looping Conditionally Through a Collection
6.23. Bundling and Reading Data in Your Apps
7. Xcode 9 and Interface Builder
7.1. Changing Variable Names in the Current Scope
7.2. Utilizing Regular Expressions in Your Xcode Searches
7.3. Debugging Apps on an iOS Device Wirelessly
7.4. Making Sure UI Methods Run on the Main Thread
7.5. Creating a GitHub Repository for Your Project in Xcode
7.6. Synchronizing Your Code with GitHub Inside Xcode
7.7. Categorizing and Downloading Assets to Get Smaller Binaries
7.8. Exporting Device-Specific Binaries
7.9. Linking Separate Storyboards Together
7.10. Adding Multiple Buttons to the Navigation Bar
7.11. Showing the Header View of Your Swift Classes
7.12. Designing Interactive Interface Objects in Playgrounds
8. The User Interface
8.1. Animating Details with Peek and Pop
8.2. Providing Dynamic 3D Touch Menus on Home Screen
8.3. Asking Your Users for App Store Reviews in Your App
8.4. Providing Vibrational Feedback to Users
8.5. Supporting Drag and Drop in Your Apps
8.6. Scaling Fonts in Order to Support Dynamic Types
8.7. Adjusting Labels While Supporting Dynamic Types
8.8. Extracting Named Colors from Asset Catalogs
8.9. Animating Views
8.10. Attaching Live Views to Playgrounds
8.11. Running Playgrounds as Interactive and Continuous Apps
8.12. Arranging Your Components Horizontally or Vertically
8.13. Customizing Stack Views for Different Screen Sizes
8.14. Creating Anchored Constraints in Code
8.15. Allowing Users to Enter Text in Response to Local and Remote Notifications
8.16. Dealing with Stacked Views in Code
8.17. Showing Web Content in Safari View Controller
8.18. Laying Out Text-Based Content on Your Views
8.19. Improving Touch Rates for Smoother UI Interactions
8.20. Supporting Right-to-Left Languages
8.21. Associating Keyboard Shortcuts with View Controllers
8.22. Recording the Screen and Sharing the Video
9. Document-Based Apps
9.1. Supporting File Browsing in Your App
9.2. Associating File Types with Your App
9.3. Creating New Documents
9.4. Saving Your Documents
9.5. Loading Existing Documents
9.6. Customizing Your Document Browser
10. Apple Watch
10.1. Downloading Files onto the Apple Watch
10.2. Noticing Changes in Pairing State Between the iOS and Watch Apps
10.3. Transferring Small Pieces of Data to and from the Watch
10.4. Transferring Dictionaries in Queues to and from the Watch
10.5. Transferring Files to and from the Watch
10.6. Communicating Interactively Between iOS and watchOS
10.7. Setting Up the Apple Watch for Custom Complications
10.8. Constructing Small Complications with Text and Images
10.9. Displaying Time Offsets in Complications
10.10. Displaying Dates in Complications
10.11. Displaying Times in Complications
10.12. Displaying Time Intervals in Complications
10.13. Recording Audio in Your Watch App
10.14. Playing Local and Remote Audio and Video in Your Watch App
11. Contacts
11.1. Creating Contacts
11.2. Searching for Contacts
11.3. Updating Contacts
11.4. Deleting Contacts
11.5. Formatting Contact Data
11.6. Picking Contacts with a Prebuilt System UI
11.7. Creating Contacts with a Prebuilt System UI
11.8. Displaying Contacts with a Prebuilt System UI
12. Extensions
12.1. Creating Safari Content Blockers
12.2. Creating Shared Links for Safari
12.3. Maintaining Your Apps Indexed Content
13. Web and Search
13.1. Continuing a Spotlight Search Within Your App
13.2. Making Your Apps Content Searchable
13.3. Making User Activities Searchable
13.4. Deleting Your Apps Searchable Content
14. Multitasking
14.1. Supporting Split Views
14.2. Adding Picture in Picture Playback Functionality
14.3. Handling Low Power Mode and Providing Alternatives
15. Maps and Location
15.1. Customizing the Map View with System Buttons
15.2. Displaying System Annotations on the Map
15.3. Clustering Annotations for a Clutter-Free Map
15.4. Displaying a Specific Location on the Map
15.5. Requesting the Users Location a Single Time
15.6. Requesting the Users Location in the Background
15.7. Customizing the Tint Color of Pins on the Map
15.8. Providing Detailed Pin Information with Custom Views
15.9. Displaying Traffic, Scale, and Compass Indicators on the Map
15.10. Providing an ETA for Transit Transport Type
15.11. Launching the iOS Maps App in Transit Mode
15.12. Showing Maps in Flyover Mode
16. UI Testing
16.1. Preparing Your Project for UI Testing
16.2. Automating UI Test Scripts
16.3. Testing Text Fields, Buttons, and Labels
16.4. Finding UI Components
16.5. Long-Pressing on UI Elements
16.6. Typing Inside Text Fields
16.7. Swiping on UI Elements
16.8. Tapping UI Elements
17. Core Motion
17.1. Querying Pace and Cadence Information
17.2. Recording and Reading Accelerometer Data
18. Security
18.1. Supporting Password Autofill with iCloud Keychain
18.2. Protecting Your Network Connections with ATS
18.3. Binding Keychain Items to Passcode and Touch ID
18.4. Opening URLs Safely
18.5. Authenticating the User with Touch ID and Timeout
19. Multimedia
19.1. Reading Out Text with the Default Siri Alex Voice
19.2. Downloading and Preparing Remote Media for Playback
19.3. Enabling Spoken Audio Sessions
20. UI Dynamics
20.1. Adding a Radial Gravity Field to Your UI
20.2. Creating a Linear Gravity Field on Your UI
20.3. Creating Turbulence Effects with Animations
20.4. Adding Animated Noise Effects to Your UI
20.5. Creating a Magnetic Effect Between UI Components
20.6. Designing a Velocity Field on Your UI
20.7. Handling Collisions Between Nonrectangular Views
21. iMessage Stickers and Apps
21.1. Setting Up a Sticker Pack Application
21.2. Adjusting Sticker Sizes
21.3. Building a Full-Fledged iMessage Application
21.4. Adding an iMessage App Extension to an Existing App
21.5. Utilizing an Expanded View in a Sticker Pack App
21.6. Appending Rich Information to Stickers
21.7. Creating Interactive Conversations with iMessage Apps
Index mniej
iOS 11 Swift Programming Cookbook. Solutions and - Opinie i recenzje
Na liście znajdują się opinie, które zostały zweryfikowane (potwierdzone zakupem) i oznaczone są one zielonym znakiem Zaufanych Opinii. Opinie niezweryfikowane nie posiadają wskazanego oznaczenia.