Boost your iOS developer career by learning from real-life examples and start writing code for one of the most successful platforms ever. No matter if you''re an experienced developer or just a beginner, you''ll find something new and something useful for your future projects here.
All of the recipes in this book are taken from real-life commercial projects that have been approved by Apple and published on the App Store. You won''t write Hello, world! and similar programs. Instead you''ll see how to parse different data formats; run JavaScript code right inside your iOS app; and enhance storyboard editor with several simple extensions. You''ll make beautiful modern-looking dialogs with blurs, shadows and rounded corners using only a few lines of code, and safely convert data after analyzing text strings. Go on to animate your layout and get your app shored up to crash as little as possible
Each recipe offers a code
Table of ContentsChapter 1. Introduction
Chapter 2. Working with Data
· Conversion between data types
· Extracting data from dictionaries
· Parsing JSON, XML and other formats
· Serialization and deserialization
Chapter 3. Working with Strings
· String and NSString
· Analyzing String content
· Data verification. Emails and phone numbers
· Encoding and decoding Base64
· MD5 and other hashes
Chapter 4. UIKit and Storyboards
· Navigation between screens
· Popups and dialogs
· Maps and navigation
· Rounded corners, shadows and other effects
Chapter 5. Image Processing
· Reading and writing images
· Downloading and caching images
· Resizing and cropping
· Preparing and showing profile picture
· Image masks
· Effects and filters
Chapter 6. Text Editing
· Analyzing user input in real time
· Formatting users input
· Work with emojis
· Floating prefix or suffix
· Keyboard handling
Chapter 7. UI Animations and Effects
· Animating views
· Parallax effect
· Hero animation
Chapter 8. SwiftUI
· Inserting UIKit components
· Applying styles with ViewModifier
· Creating custom views
Audience: Beginning