دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش: 3
نویسندگان: Juan C. Catalan
سری:
ISBN (شابک) : 1805121731, 9781805121732
ناشر: Packt Publishing
سال نشر: 2023
تعداد صفحات: 799
زبان: English
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 14 مگابایت
در صورت تبدیل فایل کتاب SwiftUI Cookbook: A guide for building beautiful and interactive SwiftUI apps به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب کتاب آشپزی SwiftUI: راهنمای ساخت اپلیکیشن های زیبا و تعاملی SwiftUI نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
Cover Copyright Contributors Table of Contents Preface Chapter 1: Using the Basic SwiftUI Viewsand Controls Technical requirements What’s new in SwiftUI Laying out components Getting ready How to do it… How it works… There’s more… Dealing with text Getting ready How to do it… How it works… See also Using images Getting ready How to do it… How it works… See also Adding buttons and navigating with them Getting ready How to do it… How it works… See also Beyond buttons: using advanced pickers Getting ready How to do it… How it works… Applying groups of styles using ViewModifier Getting ready How to do it… How it works… See also Separating presentation from content with ViewBuilder Getting ready How to do it… How it works… See also Simple graphics using SF Symbols Getting ready How to do it… How it works… See also Integrating UIKit into SwiftUI: the best of both worlds Getting ready How to do it… How it works… See also Adding SwiftUI to a legacy UIKit app Getting ready How to do it… How it works… Exploring more views and controls Getting ready How to do it… How it works… Chapter 2: Displaying Scrollable Content with Lists and Scroll Views Technical requirements Using scroll views Getting ready How to do it… How it works… See also Creating a list of static items Getting ready How to do it… How it works… Using custom rows in a list Getting ready How to do it… How it works… Adding rows to a list Getting ready How to do it… How it works… Deleting rows from a list Getting ready How to do it… How it works… There’s more… Creating an editable List view Getting ready How to do it… How it works… There’s more… Moving the rows in a List view Getting ready How to do it… How it works… Adding sections to a list Getting ready How to do it… How it works… Creating editable collections Getting ready How to do it… How it works… Using searchable lists Getting ready How to do it… How it works… Using searchable lists with scopes Getting ready How to do it… How it works… See also Chapter 3: Exploring Advanced Components Technical requirements Using LazyHStack and LazyVStack Getting ready How to do it… How it works… There’s more… Displaying tabular content with LazyHGrid and LazyVGrid Getting ready How to do it… How it works… Scrolling programmatically Getting ready How to do it… How it works… Displaying hierarchical content in expanding lists Getting ready How to do it… How it works… There’s more… Using disclosure groups to hide and show content Getting ready How to do it… How it works… Creating SwiftUI widgets Getting ready How to do it… How it works… See also Chapter 4: Viewing while Building with SwiftUI Preview in Xcode 15 Technical requirements Using the live preview canvas in Xcode15 Getting ready How to do it… How it works… See also Previewing a view in a NavigationStack Getting ready How to do it… How it works… Previewing a view with different traits Getting ready How to do it… How it works… Previewing a view on different devices Getting ready How to do it… How it works… See also Using previews in UIKit Getting ready How to do it… How it works… Using mock data for previews Getting ready How to do it… How it works… There’s more... Chapter 5: Creating New Components and Grouping Views with Container Views Technical requirements Showing and hiding sections in forms Getting ready How to do it… How it works… There’s more… See also Disabling and enabling items in forms Getting ready How to do it… How it works… Filling out forms easily using Focus and Submit Getting ready How to do it… How it works… There’s more… See also Creating multi-column lists with Table Getting ready How to do it… How it works… There’s more… See also Using Grid, a powerful two-dimensional layout Getting ready How to do it… How it works… See also Learn more on Discord Chapter 6: Presenting Views Modally Technical requirements Presenting alerts Getting ready How to do it… How it works… iOS 15 and later iOS 13 and 14 See also Adding actions to alert buttons Getting ready How to do it… How it works… Presenting confirmation dialogs Getting ready How to do it… How it works… See also Presenting new views using sheets and full-screen covers Getting ready How to do it… How it works… See also Displaying popovers Getting ready How to do it… How it works… See also Creating context menus Getting ready How to do it… How it works… See also Chapter 7: Navigation Containers Technical requirements Simple navigation with NavigationStack Getting ready How to do it… How it works… See also Typed data-driven navigation with NavigationStack Getting ready How to do it… How it works… See also Untyped data-driven navigation with NavigationStack Getting ready How to do it… How it works… See also Multi-column navigation with NavigationSplitView Getting ready How to do it… How it works… See also Navigating between multiple views with TabView Getting ready How to do it… How it works… There’s more… See also Programmatically switching tabs on a TabView Getting ready How to do it… How it works… See also Chapter 8: Drawing with SwiftUI Technical requirements Using SwiftUI’s built-in shapes Getting ready How to do it… How it works… Drawing a custom shape Getting ready How to do it… How it works… Drawing a curved custom shape Getting ready How to do it… How it works… Drawing using the Canvas API Getting ready How to do it… How it works… There’s more… Implementing a progress ring Getting ready How to do it… How it works… Implementing a Tic-Tac-Toe game in SwiftUI Getting ready How to do it… How it works… There’s more… Rendering a gradient view in SwiftUI Getting ready How to do it… How it works… Chapter 9: Animating with SwiftUI Technical requirements Creating basic animations Getting ready How to do it… How it works… There’s more… See also Transforming shapes Getting ready How to do it… How it works… Creating a banner with a spring animation Getting ready How to do it… How it works… Applying a delay to an animation view modifier to create a sequence of animations Getting ready How to do it… How it works… Applying a delay to a withAnimation function to create a sequence of animations Getting ready How to do it… How it works… There’s more… Applying multiple animations to a view Getting ready How to do it… How it works… Chained animations with PhaseAnimator Getting ready How to do it… How it works… Custom animations with KeyframeAnimator Getting ready How to do it… How it works… Creating custom view transitions Getting ready How to do it… How it works… Creating a hero view transition with .matchedGeometryEffect Getting ready How to do it… How it works… Implementing a stretchable header in SwiftUI Getting ready How to do it… How it works… Implementing a swipeable stack of cards in SwiftUI Getting ready How to do it… How it works… Chapter 10: Driving SwiftUI with Data Technical requirements Using @State to drive a view’s behavior Getting ready How to do it… How it works… See also Using @Binding to pass a state variable to child views Getting ready How to do it… How it works… Implementing a CoreLocation wrapper as@ObservedObject Getting ready How to do it… How it works… Using @StateObject to preserve the model’s life cycle Getting ready How to do it… How it works... Sharing state objects with multiple Views using@EnvironmentObject Getting ready How to do it… How it works… See also Using Observation to manage model data Getting ready How to do it… How it works… See also Chapter 11: Driving SwiftUI with Combine Technical requirements Introducing Combine in a SwiftUI project Getting ready How to do it… How it works… Publishers in Combine Subscriptions in Combine See also Managing the memory in Combine to build a timer app Getting ready How to do it… How it works… See also Validating a form using Combine Getting ready How to do it… How it works… There’s more… Fetching remote data using Combine and visualizing it in SwiftUI Getting ready How to do it… How it works… There’s more… Debugging an app based on Combine Getting ready How to do it… How it works… There’s more… Unit testing an app based on Combine Getting ready How to do it… How it works… Chapter 12: SwiftUI Concurrency with async await Technical requirements Integrating SwiftUI and an async function Getting ready How to do it… How it works… Fetching remote data in SwiftUI Getting ready How to do it… How it works… Pulling and refreshing data asynchronously in SwiftUI Getting ready How to do it… How it works… Converting a completion block function to async await Getting ready How to do it… How it works… See also Implementing infinite scrolling with async await Getting ready How to do it… How it works… See also Chapter 13: Handling Authentication and Firebase with SwiftUI Technical requirements Implementing Sign in with Apple in a SwiftUI app Getting ready How to do it… How it works… Integrating Firebase into a SwiftUI project Getting ready How to do it… How it works… There’s more… See also Using Firebase to sign in users with Google Sign-In Getting ready How to do it… How it works… See also Implementing a Notes app with Firebase and SwiftUI Getting ready How to do it… How it works… There’s more… See also Chapter 14: Persistence in SwiftUI with Core Data and SwiftData Technical requirements Integrating Core Data with SwiftUI Getting ready How to do it… How it works… There’s more… Showing Core Data objects with @FetchRequest Getting ready How to do it… How it works… Adding Core Data objects from a SwiftUI view Getting ready How to do it… How it works… Filtering Core Data requests using a Predicate Getting ready How to do it… How it works… Deleting Core Data objects from a SwiftUI view Getting ready How to do it… How it works… Presenting data in a sectioned list with@SectionedFetchRequest Getting ready How to do it… How it works… Getting started with SwiftData Getting ready How to do it… How it works… There’s more… See also Chapter 15: Data Visualization with Swift Charts Technical requirements Understanding the basics of Swift Charts Getting ready How to do it… How it works… See also Customizing charts: axes, annotations, and rules Getting ready How to do it… How it works… See also Different types of charts: marks and mark configuration Getting ready How to do it… How it works… See also Histograms with data bins Getting ready How to do it… How it works… There’s more See also Pie charts and donut charts Getting ready How to do it… How it works… See also Interactive charts: selection Getting ready How to do it… How it works… There’s more See also Interactive charts: scrollable content Getting ready How to do it… How it works… There’s more See also Chapter 16: Creating Multiplatform Apps with SwiftUI Technical requirements Creating an iOS app in SwiftUI Getting ready How to do it… How it works… Creating the macOS version of the app with a new target Getting ready How to do it… How it works… Creating a multiplatform version of the app sharing the same target Getting ready How to do it… How it works… There’s more… Creating the watchOS version of the iOS app Getting ready How to do it… How it works… Chapter 17: SwiftUI Tips and Tricks Technical requirements Using XCTest to test SwiftUI apps Getting ready How to do it… How it works… There’s more… See also Using custom fonts in SwiftUI Getting ready How to do it… How it works… Showing a PDF in SwiftUI Getting ready How to do it… How it works… There’s more… Implementing a Markdown editor with preview functionality Getting ready How to do it… How it works… Packt Page Other Books You May Enjoy Index