دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
دسته بندی: برنامه نويسي ویرایش: نویسندگان: Matt Neuburg سری: ISBN (شابک) : 9781491999226 ناشر: O’Reilly سال نشر: 2018 تعداد صفحات: 1172 زبان: English فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) حجم فایل: 14 مگابایت
کلمات کلیدی مربوط به کتاب برنامه نویسی iOS 11: iOS، iPhone، Swift، xcode
در صورت تبدیل فایل کتاب Programming iOS 11 به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب برنامه نویسی iOS 11 نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
اگر به اصول اولیه Swift، Xcode و چارچوب کاکائو پایبند هستید، این کتاب توضیحی ساختاریافته از همه اجزای ضروری برنامه iOS در دنیای واقعی ارائه میکند. از طریق کاوش عمیق و مثالهای کد فراوان، نحوه ایجاد نماها، دستکاری کنترلکنندههای نمایش و افزودن ویژگیهای چارچوبهای iOS را خواهید آموخت. ایجاد، ترتیب، ترسیم، لایه، و متحرک کردن نماهایی که به لمس پاسخ میدهند استفاده از کنترلکنندههای مشاهده برای مدیریت چندین صفحه رابط کلاسهای رابط اصلی برای نمایشهای پیمایش، نمای جدول، متن، پاپاور، نماهای تقسیمشده، نماهای وب، و کنترلها شیرجه رفتن در چارچوبها برای صدا، ویدئو، نقشهها و حسگرها دسترسی به کتابخانههای کاربر: موسیقی، عکسها، مخاطبین و تقویم کاوش موضوعات اضافی، از جمله فایلها، شبکهها، و رشتهها در مورد نوآوریهای iOS 11 بهروز بمانید، مانند: کشیدن و رها کردن تغییرات طرحبندی خودکار (شامل منطقه امن جدید) نوارهای پیمایش قابل کشش دکمه های کش رفتن روی سلول جدول بهبودهای نوع پویا رندر فایل صوتی آفلاین، تغییرات کنترل کننده انتخابگر تصویر، انواع حاشیه نویسی جدید نقشه، و موارد دیگر همه کدهای نمونه (اکنون در سوئیفت 4 بازنویسی شده است) در GitHub برای شما در دسترس است. برای دانلود، مطالعه و اجرا آیا می خواهید اصول اولیه را بررسی کنید؟ اصول برنامه نویسی iOS 11 را با Swift انتخاب کنید تا در مورد Swift، Xcode و Cocoa بیاموزید. همراه با برنامه نویسی iOS 11، درک قوی، دقیق و عملی از توسعه iOS 11 به دست خواهید آورد.
If you're grounded in the basics of Swift, Xcode, and the Cocoa framework, this book provides a structured explanation of all essential real-world iOS app components. Through deep exploration and copious code examples, you'll learn how to create views, manipulate view controllers, and add features from iOS frameworks. Create, arrange, draw, layer, and animate views that respond to touch Use view controllers to manage multiple screens of interface Master interface classes for scroll views, table views, text, popovers, split views, web views, and controls Dive into frameworks for sound, video, maps, and sensors Access user libraries: music, photos, contacts, and calendar Explore additional topics, including files, networking, and threads Stay up-to-date on iOS 11 innovations, such as: Drag and drop Autolayout changes (including the new safe area) Stretchable navigation bars Table cell swipe buttons Dynamic type improvements Offline sound file rendering, image picker controller changes, new map annotation types, and more All example code (now rewritten in Swift 4) is available on GitHub for you to download, study, and run. Want to brush up on the basics? Pick up iOS 11 Programming Fundamentals with Swift to learn about Swift, Xcode, and Cocoa. Together with Programming iOS 11, you'll gain a solid, rigorous, and practical understanding of iOS 11 development.
Cover Copyright Table of Contents Preface The Scope of This Book Versions Acknowledgments From the Programming iOS 4 Preface Conventions Used in This Book Using Code Examples O’Reilly Safari How to Contact Us Part I. Views Chapter 1. Views The Window and Root View How an App Launches Launching Without a Main Storyboard Subclassing UIWindow Referring to the Window Experimenting with Views Subview and Superview Visibility and Opacity Frame Bounds and Center Window Coordinates and Screen Coordinates Transform App Rotation Trait Collections and Size Classes Layout Autoresizing Autolayout and Constraints Autoresizing Constraints Creating Constraints in Code Constraints as Objects Margins and Guides Intrinsic Content Size and Alignment Rects Stack Views Internationalization Mistakes with Constraints Configuring Layout in the Nib Autoresizing in the Nib Creating a Constraint Viewing and Editing Constraints Problems with Nib Constraints Varying the Screen Size Conditional Interface Design Xcode View Features View Debugger Previewing Your Interface Designable Views and Inspectable Properties Layout Events Chapter 2. Drawing Images and Image Views Image Files Image Views Resizable Images Transparency Masks Reversible Images Graphics Contexts UIImage Drawing CGImage Drawing Snapshots CIFilter and CIImage Blur and Vibrancy Views Drawing a UIView Graphics Context Commands Graphics Context Settings Paths and Shapes Clipping Gradients Colors and Patterns Graphics Context Transforms Shadows Erasing Points and Pixels Content Mode Chapter 3. Layers View and Layer Layers and Sublayers Manipulating the Layer Hierarchy Positioning a Sublayer CAScrollLayer Layout of Sublayers Drawing in a Layer Drawing-Related Layer Properties Content Resizing and Positioning Layers that Draw Themselves Transforms Affine Transforms 3D Transforms Depth Further Layer Features Shadows Borders and Rounded Corners Masks Layer Efficiency Layers and Key–Value Coding Chapter 4. Animation Drawing, Animation, and Threading Image View and Image Animation View Animation A Brief History of View Animation Property Animator Basics View Animation Basics View Animation Configuration Timing Curves Canceling a View Animation Frozen View Animation Custom Animatable View Properties Keyframe View Animation Transitions Implicit Layer Animation Animation Transactions Media Timing Functions Core Animation CABasicAnimation and Its Inheritance Using a CABasicAnimation Springing Animation Keyframe Animation Making a Property Animatable Grouped Animations Freezing an Animation Transitions Animations List Actions What an Action Is Action Search Hooking Into the Action Search Making a Custom Property Implicitly Animatable Nonproperty Actions Emitter Layers CIFilter Transitions UIKit Dynamics The Dynamics Stack Custom Behaviors Animator and Behaviors Motion Effects Animation and Autolayout Chapter 5. Touches Touch Events and Views Receiving Touches Restricting Touches Interpreting Touches Gesture Recognizers Gesture Recognizer Classes Gesture Recognizer Conflicts Subclassing Gesture Recognizers Gesture Recognizer Delegate Gesture Recognizers in the Nib 3D Touch Press Gesture Touch Delivery Hit-Testing Performing Hit-Testing Hit-Test Munging Hit-Testing For Layers Hit-Testing For Drawings Hit-Testing During Animation Initial Touch Event Delivery Gesture Recognizer and View Touch Exclusion Logic Gesture Recognition Logic Part II. Interface Chapter 6. View Controllers View Controller Responsibilities View Controller Hierarchy Automatic Child View Placement Manual Child View Placement Presentation View Placement Ensuring a Coherent Hierarchy View Controller Creation How a View Controller Obtains Its View Manual View Generic Automatic View View in a Separate Nib Summary How Storyboards Work How a View Controller Nib is Loaded How a View Nib is Loaded View Resizing View Size in the Nib Editor Bars and Underlapping Resizing Events Rotation View Controller Manual Layout Initial Manual Layout Bipartite Manual Layout Tripartite Manual Layout Presented View Controller Presentation and Dismissal Configuring a Presentation Communication with a Presented View Controller Adaptive Presentation Presentation, Rotation, and the Status Bar Tab Bar Controller Tab Bar Items Configuring a Tab Bar Controller Navigation Controller Bar Button Items Navigation Items and Toolbar Items Configuring a Navigation Controller Custom Transition Noninteractive Custom Transition Animation Interactive Custom Transition Animation Custom Presented View Controller Transition Transition Coordinator Page View Controller Preparing a Page View Controller Page View Controller Navigation Other Page View Controller Configurations Container View Controllers Adding and Removing Children Status Bar, Traits, and Resizing Peek and Pop Storyboards Triggered Segues Container Views and Embed Segues Storyboard References Unwind Segues View Controller Lifetime Events Incoherencies in View Controller Events Appear and Disappear Events Event Forwarding to a Child View Controller View Controller Memory Management Lazy Loading NSCache, NSPurgeableData, and Memory-Mapping Background Memory Usage Testing Memory Usage State Restoration How to Test State Restoration Participating in State Restoration Restoration ID, Identifier Path, and Restoration Class Restoring View Controller State Restoration Order of Operations Restoration of Other Objects Chapter 7. Scroll Views Content Size Creating a Scroll View in Code Manual Content Size Automatic Content Size with Autolayout Scroll View Layout Guides Using a Content View Scroll View in a Nib No Internal Autolayout Internal Autolayout Content Inset Scrolling Paging Tiling Zooming Zooming Programmatically Zooming with Detail Scroll View Delegate Scroll View Touches Floating Scroll View Subviews Scroll View Performance Chapter 8. Table Views and Collection Views Table View Controller Table View Cells Built-In Cell Styles Registering a Cell Class Custom Cells Table View Data The Three Big Questions Reusing Cells Table View Sections Section Headers and Footers Section Data Section Index Refreshing a Table View Direct Access to Cells Refresh Control Variable Row Heights Manual Row Height Measurement Measurement and Layout with Constraints Estimated Height Automatic Row Height Table View Cell Selection Managing Cell Selection Responding to Cell Selection Navigation from a Table View Cell Choice and Static Tables Table View Scrolling and Layout Table View State Restoration Table View Searching Configuring a Search Controller Using a Search Controller Table View Editing Deleting Cells Custom Action Buttons Editable Content in Cells Inserting Cells Rearranging Cells Dynamic Cells Table View Menus Collection Views Collection View Classes Using a Collection View Deleting Cells Rearranging Cells Custom Collection View Layouts Flow Layout Subclass Collection View Layout Subclass Decoration Views Switching Layouts Collection Views and UIKit Dynamics Chapter 9. iPad Interface Popovers Arrow Source and Direction Popover Size Popover Appearance Passthrough Views Popover Presentation, Dismissal, and Delegate Adaptive Popovers Popover Segues Popover Presenting a View Controller Split Views Expanded Split View Controller (iPad) Collapsed Split View Controller (iPhone) Expanding Split View Controller (iPhone 6/7/8 Plus) Customizing a Split View Controller Split View Controller in a Storyboard Setting the Collapsed State View Controller Message Percolation iPad Multitasking Drag and Drop Drag and Drop Architecture Basic Drag and Drop Item Providers Slow Data Delivery Additional Delegate Methods Table Views and Collection Views Spring Loading iPhone and Local Drag and Drop Chapter 10. Text Fonts and Font Descriptors Fonts Font Descriptors Attributed Strings Attributed String Attributes Making an Attributed String Modifying and Querying an Attributed String Custom Attributes Drawing and Measuring an Attributed String Labels Number of Lines Wrapping and Truncation Resizing a Label to Fit Its Text Customized Label Drawing Text Fields Summoning and Dismissing the Keyboard Keyboard Covers Text Field Keyboard and Input Configuration Text Field Delegate and Control Event Messages Text Field Menu Drag and Drop Text Views Links, Text Attachments, and Data Self-Sizing Text View Text View and Keyboard Text Kit Text View and Text Kit Text Container Alternative Text Kit Stack Architectures Layout Manager Text Kit Without a Text View Chapter 11. Web Views WKWebView Web View Content Tracking Changes in a Web View Web View Navigation Communicating with a Web Page Custom Schemes Web View Peek and Pop Web View State Saving and Restoration Safari View Controller Developing Web View Content Chapter 12. Controls and Other Views UIActivityIndicatorView UIProgressView Progress View Alternatives The Progress Class UIPickerView UISearchBar UIControl UISwitch UIStepper UIPageControl UIDatePicker UISlider UISegmentedControl UIButton Custom Controls Bars Bar Position and Bar Metrics Bar Appearance UIBarButtonItem UINavigationBar UIToolbar UITabBar Tint Color Appearance Proxy Chapter 13. Modal Dialogs Alerts and Action Sheets Alerts Action Sheets Dialog Alternatives Quick Actions Local Notifications Authorizing for Local Notifications Notification Category Scheduling a Local Notification Preview Suppression Hearing About a Local Notification Managing Scheduled Notifications Notification Content Extensions Today Extensions Activity Views Presenting an Activity View Custom Activities Action Extensions Share Extensions Part III. Some Frameworks Chapter 14. Audio System Sounds Audio Session Category Activation and Deactivation Ducking Interruptions Secondary Audio Routing Changes Audio Player Remote Control of Your Sound Playing Sound in the Background AVAudioEngine MIDI Playback Text to Speech Speech to Text Further Topics in Sound Chapter 15. Video AVPlayerViewController Other AVPlayerViewController Properties Picture-in-Picture Introducing AV Foundation Some AV Foundation Classes Things Take Time Time is Measured Oddly Constructing Media Synchronizing Animation with Video AVPlayerLayer Further Exploration of AV Foundation UIVideoEditorController Chapter 16. Music Library Music Library Authorization Exploring the Music Library Querying the Music Library Persistence and Change in the Music Library Music Player MPVolumeView Playing Songs with AV Foundation Media Picker Chapter 17. Photo Library and Camera Browsing with UIImagePickerController Image Picker Controller Presentation Image Picker Controller Delegate Dealing with Image Picker Controller Results Photos Framework Querying the Photo Library Modifying the Library Being Notified of Changes Fetching Images Editing Images Photo Editing Extension Using the Camera Capture with UIImagePickerController Capture with AV Foundation Chapter 18. Contacts Contact Classes Fetching Contact Information Fetching a Contact Repopulating a Contact Labeled Values Contact Formatters Saving Contact Information Contact Sorting, Groups, and Containers Contacts Interface CNContactPickerViewController CNContactViewController Chapter 19. Calendar Calendar Database Contents Calendars Calendar Items Calendar Database Changes Creating Calendars and Events Recurrence Fetching Events Reminders Proximity Alarms Calendar Interface EKEventViewController EKEventEditViewController EKCalendarChooser Chapter 20. Maps Displaying a Map Annotations Customizing an MKMarkerAnnotationView Changing the Annotation View Class Custom Annotation View Class Custom Annotation Class Annotation View Hiding and Clustering Other Annotation Features Overlays Custom Overlay Class Custom Overlay Renderer Other Overlay Features Map Kit and Current Location Communicating with the Maps App Geocoding, Searching, and Directions Geocoding Searching Directions Chapter 21. Sensors Core Location Location Manager, Delegate, and Authorization Location Tracking Where Am I? Background Location Heading Acceleration, Attitude, and Activity Shake Events Using Core Motion Raw Acceleration Gyroscope Other Core Motion Data Part IV. Final Topics Chapter 22. Persistent Storage The Sandbox Standard Directories Inspecting the Sandbox Basic File Operations Saving and Reading Files User Defaults Simple Sharing and Previewing of Files File Sharing Document Types and Receiving a Document Handing Over a Document Previewing a Document Quick Look Previews Document Architecture A Basic Document Example iCloud Document Browser Custom Thumbnails Custom Previews XML JSON SQLite Core Data PDFs Image Files Chapter 23. Basic Networking HTTP Requests Obtaining a Session Session Configuration Session Tasks Session Delegate HTTP Request with Task Completion Function HTTP Request with Session Delegate One Session, One Delegate Delegate Memory Management Downloading Table View Data Background Session On-Demand Resources In-App Purchases Chapter 24. Threads Main Thread Why Threading Is Hard Blocking the Main Thread Manual Threading Operation Grand Central Dispatch Commonly Used GCD Methods Concurrent Queues Checking the Queue Threads and App Backgrounding Chapter 25. Undo Undo Manager Target–Action Undo Undo Grouping Functional Undo Undo Interface Shake-To-Edit Undo Menu Appendix A. Application Lifetime Events Application States App Delegate Events App Lifetime Scenarios Major State Changes Paused Inactivity Transient Inactivity Lifetime Event Timing Appendix B. Some Useful Utility Functions Launch Without Main Storyboard Core Graphics Initializers Center of a CGRect Adjust a CGSize String Range Delayed Performance Dictionary of Views Constraint Priority Arithmetic Constraint Issues Configure a Value Class at Point of Use Drawing Into an Image Context Finite Repetition of an Animation Remove Multiple Indexes From Array Appendix C. How Asynchronous Works Index About the Author