چه کسانی این کتاب را می‌خوانند

دانشجوعلاقه‌مند یادگیری
کتابخوان حرفه‌ایلذت مطالعه
نویسندهالهام‌گیری

SwiftUI Apprentice (First Edition): Beginning iOS Programming with SwiftUI

raywenderlich Tutorial Team, Audrey Tam Tam, Caroline Begbie

قیمت نهایی

۴۴٬۰۰۰ تومان۴۹٬۰۰۰ تومان۱۰٪ تخفیف
  • تخفیف زمان‌دار−۵٬۰۰۰ تومان

۵٬۰۰۰ تومان صرفه‌جویی نسبت به قیمت اصلی

نسخه اصلی و اورجینال

بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.

تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی

مشخصات کتاب

سال انتشار
۲۰۲۱
فرمت
PDF
زبان
انگلیسی
حجم فایل
۸٫۹ مگابایت
شابک
9781950325160، 1950325164

دربارهٔ کتاب

SwiftUI Apprentice is a series of epic-length tutorials where youll learn to build three complete apps from scratch, using Apples new user interface technology: SwiftUI! Each app is more advanced than the one before, and together, they cover everything to make your own apps using SwiftUI. By the end of the book, youll be experienced enough to turn your ideas into real apps you can sell on the App Store. Book License 14 What You Need 16 Book Source Code & Forums 17 About the Cover 18 About the Authors 21 About the Editors 21 About the Artist 22 How to Read This Book 23 Chapter 1: Checking Your Tools 25 Getting started 25 Creating a new Xcode project 27 A quick tour of Xcode 30 ContentView.swift 33 Creating a new SwiftUI View file 37 What else is in your project? 40 Xcode Preferences 43 Running your project 48 Key points 59 Chapter 2: Planning a Paged App 60 Making lists: views and actions 60 Creating Pages 63 Grouping files 70 Passing parameters 71 Looping 74 Key points 78 Where to go from here? 78 Chapter 3: Prototyping the Main View 79 Creating the Exercise view 79 Creating the Header view 82 Playing a video 93 Finishing the Exercise view 98 Key points 106 Where to go from here? 106 Chapter 4: Prototyping Supplementary Views 107 Creating the History view 107 Creating the Welcome view 114 Challenge 127 Key points 129 Where to go from here? 129 Chapter 5: Organizing Your App's Data 130 Creating the Exercise structure 131 Structuring HistoryView data 135 Localizing your app 140 Key points 155 Chapter 6: Adding Functionality to Your App 156 Managing your app’s data 156 Navigating TabView 158 Interacting with page numbers and ratings 164 Showing and hiding modal sheets 169 Key points 175 Chapter 7: Observing Objects 176 Showing/Hiding the timer 176 Adding an exercise to history 184 Challenge 190 Key points 191 Chapter 8: Saving Settings 192 Data persistence 193 Saving the ratings to UserDefaults 193 Data directories 195 Swift Dive: Strings 203 Thinking of possible errors 208 Multiple scenes 210 Apps, Scenes and Views 213 Restoring scene state with SceneStorage 215 Key points 217 Chapter 9: Saving History Data 218 Using optionals 219 Debugging HistoryStore 223 Swift error checking 228 Alerts 231 Saving history 233 Closures 235 Property list serialization 240 Challenge 244 Key points 245 Chapter 10: Refining Your App 246 Neumorphism 247 Creating a neumorphic button 248 Styles 249 Abstracting your button 253 The embossed button 256 @ViewBuilder 260 ViewBuilder container view 265 Designing WelcomeView 268 Gradients 270 Challenge 274 Key points 276 Chapter 11: Understanding Property Wrappers 277 Getting started 278 Tools for managing data 279 Managing UI state values 281 Accessing environment values 286 Managing model data objects 289 Wrapping up property wrappers 295 Key points 297 Chapter 12: Apple App Development Ecosystem 298 A brief history of SwiftUI 298 SwiftUI vs. UIKit 300 Apple Developer 303 Housekeeping & trouble-shooting 313 Key points 320 Chapter 13: Outlining a Photo Collage App 322 Initial app idea 323 Creating the project 324 Creating the first view for your project 325 Refactoring the view 328 Navigation toolbar 333 Challenge 345 Key points 345 Chapter 14: Gestures 346 Creating the resizable view 347 Creating transforms 348 Creating a drag gesture 350 Creating a rotation gesture 354 Creating a scale gesture 358 Creating custom view modifiers 360 Other gestures 366 Type properties 367 Creating global defaults for Cards 369 Challenge 372 Key points 373 Where to go from here? 373 Chapter 15: Structures, Classes & Protocols 374 Data structure 375 Value and reference types 376 Swift Dive: Structure vs class 377 Creating the card store 378 Class inheritance 379 Protocols 381 The preview data 383 Listing the cards 385 Understanding State and Binding property wrappers 395 Deletion 400 Challenge 403 Key points 404 Where to go from here? 404 Chapter 16: Adding Assets to Your App 405 The starter project 406 Asset catalog 406 Launch screen 411 Adding sticker images to your app 416 Reference folders 419 Using lazy grid views 428 Challenges 433 Key points 434 Where to go from here? 434 Chapter 17: Interfacing With UIKit 435 UIKit 436 Using the Representable protocols 436 UIKit delegate pattern 438 Picking photos 439 NSItemProvider 442 Adding PhotoPicker to your app 444 Drag and drop from other apps 446 Challenge 452 Key points 453 Chapter 18: Paths & Custom Shapes 454 The starter project 454 Shapes 455 Paths 457 Strokes and fills 465 Clip shapes modal 467 Associated types 468 Shape selection modal 472 Add the frame picker modal to the card 473 Challenges 476 Key points 478 Chapter 19: Saving Files 479 The starter project 480 The saved data format 480 When to save the data 481 JSON files 484 Codable 484 Encoding and decoding custom types 488 Loading Cards 497 Challenges 502 Key points 505 Chapter 20: Delightful UX — Layout 506 The starter app 506 Designing the cards list 508 Layout 509 Designing the card detail screen 523 Scaling the card to fit the device 525 Alignment 528 Challenge 533 Key points 534 Chapter 21: Delightful UX — Final Touches 535 The starter project 535 Animated splash screen 536 SwiftUI Animation 541 Explicit and implicit animation 546 Animated transitions 547 Transition from card list to single card 550 Supporting multiple view types 552 Adding a picker 553 Sharing the card 556 Challenges 562 Key points 564 Where to go from here? 564 Chapter 22: Lists & Navigation 566 Getting started 566 List 567 NavigationView 570 Header view 579 Custom design 584 Key points 595 Chapter 23: Just Enough Web Stuff 596 Servers and resources 597 REST API 600 Sending and receiving HTTP messages 601 Exploring api.raywenderlich.com 605 Challenge 618 POST request & authentication 619 Key points 624 Chapter 24: Downloading Data 625 Getting started 625 Asynchronous functions 626 Creating a REST request 626 Decoding JSON 633 Decoding the contents response 640 Key points 651 Chapter 25: Implementing Filter Options 652 Getting started 652 From playground to app 653 Debugging with a breakpoint 658 Improving the user experience 661 Challenge 662 Implementing HeaderView options 666 Implementing filters in FilterOptionsView 671 Implementing query filters in HeaderView 675 One last thing... 678 Key points 679 Chapter 26: Widgets 680 Getting started 680 WidgetKit 680 Adding a widget extension 681 Creating entries from your app’s data 686 Creating widget views 688 Providing a timeline of entries 692 Deep-linking into your app 700 One last thing 703 Key points 705 Conclusion 706 You've heard about Apple's hot new declarative user interface SDK - SwiftUI - and are ready to try your hand at iOS development. But, you have no idea where to begin. SwiftUI Apprentice to the rescue! This book will guide you through the first steps of your journey as you learn to build beautiful iOS apps

قیمت نهایی

۴۴٬۰۰۰ تومان