Browse Results

Showing 55,076 through 55,100 of 60,778 results

Swift Essentials

by Dr Alex Blewitt

Whether you are a seasoned Objective-C developer or new to the Xcode platform, Swift Essentials will provide you with all you need to know to get started with the language. Prior experience with iOS development is not necessary, but will be helpful to get the most out of the book.

Swift Essentials - Second Edition

by Dr Alex Blewitt

Are you interested in learning Swift? Do you want to write iOS applications in Swift? If yes, then this is the book for you. No prior iOS programming experience is assumed; however, having some experience with any programming language will be beneficial.

Swift for Absolute Beginners

by Brad Lees Gary Bennett

The professional development team that brought you two editions of Objective-C for the Absolute Beginners and have taught thousands of developers around the world to write some of the most popular iPhone apps in their categories on the app store, have now leveraged their instruction for Swift. Swift for Absolute Beginners is perfect for those with no programming background, those with some programming experience but no object-oriented experience, or those that have a great idea for an app but haven't programmed since school. Gary Bennett and Brad Lees are full-time professional iOS developers and have developed a broad spectrum of apps for Fortune 500 companies. The authors have taken their combined 12 years of writing apps, teaching online iOS courses, the experience from their first two iOS books, along with their free online instruction and free online forum to create an excellent training book. Topics include: How to be successful at learning SwiftUsing Swift Playgrounds to learn iOS development quicklyWhat is Object Oriented ProgrammingWhat are Swift classes, properties, and functionsProper user interface and user experience designSwift data types: integers, floats, strings, booleansHow to use Swift data collections: arrays and dictionariesBoolean logic, comparing data, and flow controlWriting iPhone apps from scratchAvoiding Swift pitfallsMany students have a difficult time believing they can learn to write iOS apps or just staying motivated through learning the process. This book, along with the free, live online training sessions, helps students stay motivated and overcome obstacles while they learn to be great iOS developers.

Swift For Dummies

by Jesse Feiler

Get up and running with Swift--swiftly Brimming with expert advice and easy-to-follow instructions, Swift For Dummies shows new and existing programmers how to quickly port existing Objective-C applications into Swift and get into the swing of the new language like a pro. Designed from the ground up to be a simpler programming language, it's never been easier to get started creating apps for the iPhone or iPad, or applications for Mac OS X. Inside the book, you'll find out how to set up Xcode for a new Swift application, use operators, objects, and data types, and control program flow with conditional statements. You'll also get the scoop on creating new functions, statements, and declarations, learn useful patterns in an object-oriented environment, and take advantage of frameworks to speed your coding along. Plus, you'll find out how Swift does away with pointer variables and how to reference and dereference variables instead. Set up a playground development environment for Mac, iPhone, iPad, and wearable computers Move an existing Objective-C program to Swift Take advantage of framework components and subcomponents Create an app that uses location, mapping, and social media Whether you're an existing Objective-C programmer looking to port your code to Swift or you've never programmed for Apple in the past, this fun and friendly guide gets you up to speed swiftly.

Swift Functional Programming - Second Edition

by Fatih Nayebi

Bring the power of functional programming to Swift to develop clean, smart, scalable and reliable applications. About This Book • Written for the latest version of Swift, this is a comprehensive guide that introduces iOS, Web and macOS developers to the all-new world of functional programming that has so far been alien to them • Get familiar with using functional programming alongside existing OOP techniques so you can get the best of both worlds and develop clean, robust, and scalable code • Develop a case study on example backend API with Swift and Vapor Framework and an iOS application with Functional Programming, Protocol-Oriented Programming, Functional Reactive Programming, and Object-Oriented Programming techniques Who This Book Is For Meant for a reader who knows object-oriented programming, has some experience with Objective-C/Swift programming languages and wants to further enhance his skills with functional programming techniques with Swift 3.x. What You Will Learn • Understand what functional programming is and why it matters • Understand custom operators, function composition, currying, recursion, and memoization • Explore algebraic data types, pattern matching, generics, associated type protocols, and type erasure • Get acquainted with higher-kinded types and higher-order functions using practical examples • Get familiar with functional and non-functional ways to deal with optionals • Make use of functional data structures such as semigroup, monoid, binary search tree, linked list, stack, and lazy list • Understand the importance of immutability, copy constructors, and lenses • Develop a backend API with Vapor • Create an iOS app by combining FP, OOP, FRP, and POP paradigms In Detail Swift is a multi-paradigm programming language enabling you to tackle different problems in various ways. Understanding each paradigm and knowing when and how to utilize and combine them can lead to a better code base. Functional programming (FP) is an important paradigm that empowers us with declarative development and makes applications more suitable for testing, as well as performant and elegant. This book aims to simplify the FP paradigms, making them easily understandable and usable, by showing you how to solve many of your day-to-day development problems using Swift FP. It starts with the basics of FP, and you will go through all the core concepts of Swift and the building blocks of FP. You will also go through important aspects, such as function composition and currying, custom operator definition, monads, functors, applicative functors,memoization, lenses, algebraic data types, type erasure, functional data structures, functional reactive programming (FRP), and protocol-oriented programming(POP). You will then learn to combine those techniques to develop a fully functional iOS application from scratch Style and approach An easy-to-follow guide that is full of hands-on coding examples of real-world applications. Each topic is explained sequentially and placed in context, and for the more inquisitive, there are more details of the concepts used. It introduces the Swift language basics and functional programming techniques in simple, non-mathematical vocabulary with examples in Swift.

Swift Game Development: Learn iOS 12 game development using SpriteKit, SceneKit and ARKit 2.0, 3rd Edition

by Siddharth Shekar Stephen Haney

Embrace the mobile gaming revolution by creating popular iOS games with Swift 4.2Key FeaturesLearn to create games for iPhone and iPad with the latest Swift Programming languageUnderstand the fundamental concepts of game development like game physics, camera action, sprites, controls, among othersBuild Augmented reality games using ARKit for true performanceBook DescriptionSwift is the perfect choice for game development. Developers are intrigued by Swift and want to make use of new features to develop their best games yet. Packed with best practices and easy-to-use examples, this book leads you step by step through the development of your first Swift game.The book starts by introducing Swift's best features – including its new ones for game development. Using SpriteKit, you will learn how to animate sprites and textures. Along the way, you will master physics, animations, and collision effects and how to build the UI aspects of a game. You will then work on creating a 3D game using the SceneKit framework. Further, we will look at how to add monetization and integrate Game Center. With iOS 12, we see the introduction of ARKit 2.0. This new version allows us to integrate shared experiences such as multiplayer augmented reality and persistent AR that is tied to a specific location so that the same information can be replicated on all connected devices. In the next section, we will dive into creating Augmented Reality games using SpriteKit and SceneKit. Then, finally, we will see how to create a Multipeer AR project to connect two devices, and send and receive data back and forth between those devices in real time.By the end of this book, you will be able to create your own iOS games using Swift and publish them on the iOS App Store.What you will learnDeliver powerful graphics, physics, and sound in your game by using SpriteKit and SceneKitSet up a scene using the new capabilities of the scene editor and custom classesMaximize gameplay with little-known tips and strategies for fun, repeatable actionMake use of animations, graphics, and particles to polish your gameUnderstand the current mobile monetization landscapeIntegrate your game with Game CenterDevelop 2D and 3D Augmented Reality games using Apple's new ARKit frameworkPublish your game to the App StoreWho this book is forIf you wish to create and publish iOS games using Swift, then this book is for you. No prior game development or experience with Apple ecosystem is needed.

Swift Game Programming for Absolute Beginners

by Arjan Egges

Swift Game Programming for Absolute Beginners teaches Apple''s Swift language in the context of four, fun and colorful games. Learn the Swift 2. 0 language, and learn to create game apps for iOS at the same time - a double win! The four games you''ll develop while reading this book are: Painter Tut''s Tomb Penguin Pairs Tick Tick These four games are casual, arcade-style games representing the aim-and-shoot, casual, puzzle, and platform styles of game play. Professionally developed game assets form part of the book download. You''ll get professionally drawn sprites and imagery that''ll have you proud to show your learning to friends and family. The approach in Swift Game Programming for Absolute Beginners follows the structure of a game rather than the syntax of a language. You''ll learn to create game worlds, manage game objects and game states, define levels for players to pass through, implement animations based upon realistic physics, and much more. Along the way you''ll learn the language, but always in the context of fun and games. Swift is Apple''s new programming language introduced in 2014 to replace Objective-C as the main programming language for iOS devices and Mac OS X. Swift is a must learn language for anyone targeting Apple devices, and Swift Game Programming for Absolute Beginners provides the most fun you''ll ever have in stepping over the threshold toward eventual mastery of the language. What you''ll learn Write applications in possibly the most important new language of the decade Create games to run on Apple devices such as phones and tablets, and desktops too Create and manage game worlds having multiple levels through which players progress React to player input whether from mouse, keyboard, or touch Achieve realistic movement of game objects through applied physics Prepare your games properly for commercial deployment Who this book is for Swift Game Programming for Absolute Beginners is for programmers and technology enthusiasts wanting to learn to program and develop applications for Apple devices such as phones and tablets. The book is also for anyone wanting to learn to program in Apple''s new language named Swift. No prior knowledge of Swift is assumed. Swift Game Programming for Absolute Beginners teaches the Swift language from scratch in the context of creating a series of fun and colorful games that you''ll be proud to develop and show to your friends, neighbors, and colleagues. Table of Contents Part I: Getting Started 1. The Swift Language 2. Game Programming Basics 3. Creating a Game World 4. Game Assets Part II: Painter 5. Knowing What the Player is Doing 6. Reacting to Player Input 7. Basic Game Objects 8. Game Object Types 9. Colors and Collisions 10. Limited Lives 11. Organizing Game Objects 12. Finishing the Painter Game Part III: Galactic Waste 13. Adapting to Different Devices 14. Game Object Hierarchies 15. Game Physics 16. Game Object Interaction 17. Finishing the Galactic Waste Game Part IV: Penguin Pairs 18. Sprite Sheets 19. Storing and Recalling Game Data 20. Pairing the Penguins 21. Finishing the Penguin Pairs Game 22. The Main Game Structure 23. Animation Part V: Tick Tick 24. Platform Game Physics 25. Intelligent Enemies 26. Adding Player Interaction 27. Finishing the Tick Tick Game

Swift High Performance

by Kostiantyn Koval

Leverage Swift and enhance your code to take your applications to the next levelAbout This BookBuild solid, high performance applications in SwiftIncrease your efficiency by getting to grips with concurrency and parallel programmingUse Swift to design performance-oriented solutionsWho This Book Is ForThis book is aimed at experienced Swift developers wanting to optimize their programs on Apple platforms to optimize application performance.What You Will LearnBuild solid, stable, and reliable applications using SwiftUse REPL and Pl to manage and configure relational databasesExplore Swift's features including its static type system, value objects, and functional programming Design reusable code for high performance in SwiftUse to Xcode LLBD and REPL to debug commandsAvoid sharing resources by using concurrency and parallel programmingUnderstand the lazy loading pattern, lazy sequences, and lazy evolution.In DetailSwift is one of the most popular and powerful programming languages for building iOS and Mac OS applications, and continues to evolve with new features and capabilities. Swift is considered a replacement to Objective-C and has performance advantages over Objective-C and Python. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun.Develop Swift and discover best practices that allow you to build solid applications and optimize their performance.First, a few of performance characteristics of Swift will be explained. You will implement new tools available in Swift, including Playgrounds and REPL. These will improve your code efficiency, enable you to analyse Swift code, and enhance performance. Next, the importance of building solid applications using multithreading concurrency and multi-core device architecture is covered, before moving on to best practices and techniques that you should utilize when building high performance applications, such as concurrency and lazy-loading. Finally, you will explore the underlying structure of Swift further, and learn how to disassemble and compile Swift code.Style and approachThis is a comprehensive guide to enhancing Swift programming techniques and methodology to enable faster application development.

Swift in Depth

by Tjeerd in 't Veen

Summary Now updated for Swift 5! Swift is more than just a fun language to build iOS applications with. It features a host of powerful tools that, if effectively used, can help you create even better apps with clean, crystal-clear code and awesome features. Swift in Depth is designed to help you unlock these tools and quirks and get developing next-gen apps, web services, and more! Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology It's fun to create your first toy iOS or Mac app in Swift. Writing secure, reliable, professional-grade software is a different animal altogether. The Swift language includes an amazing set of high-powered features, and it supports a wide range of programming styles and techniques. You just have to roll up your sleeves and learn Swift in depth. About the Book Swift in Depth guides you concept by concept through the skills you need to build professional software for Apple platforms, such as iOS and Mac; also on the server with Linux. By following the numerous concrete examples, enlightening explanations, and engaging exercises, you'll finally grok powerful techniques like generics, efficient error handling, protocol-oriented programming, and advanced Swift patterns. Author Tjeerd in 't Veen reveals the high-value, difficult-to-discover Swift techniques he's learned through his own hard-won experience. What's inside Covers Swift 5 Writing reusable code with generics Iterators, sequences, and collections Protocol-oriented programming Understanding map, flatMap, and compactMap Asynchronous error handling with ResultBest practices in Swift About the Reader Written for advanced-beginner and intermediate-level Swift programmers. About the Author Tjeerd in 't Veen is a senior software engineer and architect in the mobile division of a large international banking firm. Table of Contents Introducing Swift in depth Modeling data with enums Writing cleaner properties Making optionals second nature Demystifying initializers Effortless error handling Generics Putting the pro in protocol-oriented programming Iterators, sequences, and collections Understanding map, flatMap, and compactMap Asynchronous error handling with Result Protocol extensions Swift patterns Delivering quality Swift code Where to Swift from here

Swift in the Cloud

by John Ponzo Karl Weinmeister Leigh Williamson Patrick Bohrer Ricardo Olivieri Samuel Kallner

Write and run Swift language programs in the Cloud Written by the team of developers that has helped bring the Swift language to Cloud computing, this is the definitive guide to writing and running Swift language programs for cloud environment. In Swift in the Cloud, you'll find full coverage of all aspects of creating and running Swift language applications in Cloud computing environments, complete with examples of real code that you can start running and experimenting with today. Since Apple introduced the Swift language in 2014, it has become one of the most rapidly adopted computer programming languages in history—and now you too can start benefitting from using the same programming language for all components of a scalable, robust business software solution. Create server applications using Swift and run them on pay-as-you-go cloud infrastructure Quickly write and test Swift code snippets in your own cloud sandbox Use Docker containers to deploy Swift applications into multiple cloud environments without having to change code Grasp the elements and structure of the Swift.org open technology project Find out how to avoid the complexities of runtime configuration by using Cloud Foundry buildpacks for Swift Build high performing web applications and REST APIs with an open source Swift based web server framework Scale up your cloud services by running Swift modules in an asynchronous, open source, 'serverless' cloud environment Whether you are already using Swift to build mobile applications or a seasoned web developer, Swift in the Cloud will help you leverage server-side Swift to power your next generation of applications.

Swift iOS 24-Hour Trainer

by Abhishek Mishra

Jump into the app development world with confidence! iOS Swift 24-Hour Trainer combines book and video lessons in Apple's Swift programming language to prepare you to build iPhone and iPad apps--and distribute them through the Appstore. First, this approachable text covers the fundamentals of Swift by introducing you to iOS development in this language, and presenting best practices for setting up a development environment and using variables, statements, expressions, operators, functions, and closures. Next, you explore common tasks, such as alert views, table views, and collection views. You then deepen your knowledge of Swift by considering network programming and local data storage. Finally, this engaging resource dives into slightly more advanced concepts, such as tab bars, web views, the accelerometer, camera, photo library, Google maps, and core location. Swift was designed by Apple to incorporate modern scripting features while offering simpler, cleaner syntax than Objective-C to maintain a minimal and easy to read style. This more expressive code offers numerous key features, such as closures unified with function pointers, tuples and multiple value returns, generics, and functional programming patterns. Learn how to obtain a device UDID Test your applications on an actual device, so you can see your work in action Distribute your applications outside of the App store, allowing you to test your work with real users Review common reasons why apps are rejected by Apple to strengthen your case when submitting your apps for distribution iOS Swift 24-Hour Trainer is an essential guide to Apple's Swift programming language for beginning programmers.

Swift iOS Programming for Kids

by Steffen D. Sommer Jim Campagno

Unleash your child's developer potential through fun projects and help them learn how to create iOS apps in Swift About This Book • Children can express their creativity while learning through interactive Swift Playgrounds • Empower children to think critically about problems • Learning programming basics can help children gain confidence in problem solving • Help children put their imagination into action building their first iOS app Who This Book Is For Children who are curious about the technology we use in our daily lives and want to know how it works can use this book to learn about programming and building their first iOS app. No prior programming experience is necessary. What You Will Learn • Basic programming and coding fundamentals • Write code using the fun and interactive Swift Playgrounds app • Make animations, including creating your own starry night • Utilise functions by making pizza in code • Create an interactive toy bin • Learn how to use control flow statements to further enhance your toy bin • Build a simple movie night app working with tableviews and arrays In Detail This book starts at the beginning by introducing programming through easy to use examples with the Swift Playgrounds app. Kids are regularly encouraged to explore and play with new concepts to support knowledge acquisition and retention – these newly learned skills can then be used to express their own unique ideas. Children will be shown how to create their first iOS application and build their very own movie night application. Style and approach This is a project-based guide with an engaging tone that uses a visually rich format. It explains the concepts in clear language and uses lots of pictures, cartoons, and examples. There is a set of practical exercises to be completed.

Swift OS X Programming for Absolute Beginners

by Wallace Wang

Swift OS X Programming for Absolute Beginners is your step-by-step guide to learning how to code using Swift, Apple's hottest new programming language. This book will not only teach complete programming novices how to write OS X programs, but it can also help experienced programmers moving to the Macintosh for the first time. You will learn to understand the principles of programming, how to use Swift and Xcode, and how to combine your knowledge into writing OS X programs. If you've always wanted to learn coding but felt stymied by the limitation of simplistic programming languages or intimidated by professional but complicated programming languages, then you'll want to learn Swift. Swift is your gateway to both Macintosh and iOS app development while being powerful and easy to learn at the same time, and Swift OS X Programming for Absolute Beginners is the perfect place to start - add it to your library today. What you'll learn The basic principles of object-oriented programming without the complicated clutter of traditional programming language syntax How to use Xcode, the main programming tool used for both OS X and iOS development What makes Swift unique and powerful as a programming language and why you should learn it How to create OS X programs using Swift and Xcode User interfaces principles that follow Apple's Human Interface Guidelines Who this book is for Swift OS X Programming for Absolute Beginners is for teaching novices programming and teaching experienced programmers from other environments how to use Xcode on the Macintosh. Since OS X programming is far easier than iOS development, readers can master Swift and Xcode faster to gain more confidence. Swift OS X Programming for Absolute Beginners is perfect for people who want to learn programming for the first time and for programmers wanting to learn Xcode and the Macintosh for the first time. Table of Contents Chapter 1: Understanding Programming Chapter 2: Getting to Know Xcode Chapter 3: The Basic Steps to Creating a Mac program Chapter 4: Getting Help Chapter 5: Learning Swift Chapter 6: Manipulating Numbers and Strings Chapter 7: Making Decisions with Branches Chapter 8: Repeating Code with Loops Chapter 9: Arrays and Dictionaries Chapter 10: Tuples, Sets, and Structures Chapter 11: Creating Classes and Objects Chapter 12: Inheritance, Method Overriding, Extensions, Protocols, and Delegates Chapter 13: Creating a User interface Chapter 14: Choosing Commands with Buttons Chapter 15: Making Choices with Radio Buttons and Check Boxes Chapter 16: Making Choices with Pop-Up Menus Chapter 17: Inputting and Outputting Text with Labels, Text Fields, and Combo Boxes Chapter 18: Using Built-in Dialog Boxes Chapter 19: Creating Pull-Down Menus Chapter 20: Working with Views and Storyboards Chapter 21: Working with Table and Collection Views Chapter 22: Storing Information Chapter 23: Debugging a Program Chapter 24: Designing Your Own Programs

Swift Pocket Reference

by Anthony Gray

Get quick answers for developing and debugging applications with Swift, Apple's multi-paradigm programming language. This pocket reference is the perfect on-the-job tool for learning Swift's modern language features, including type safety, generics, type inference, closures, tuples, automatic memory management, and support for Unicode.Designed to work with Cocoa and Cocoa Touch, Swift can be used in tandem with Objective-C, and either of these languages can call APIs implemented in the other. Swift is still evolving, but it's clear that Apple sees it as the future language of choice for iOS and OS X software development.Topics include:Swift's Run-Eval-Print-Loop (REPL) and interactive playgroundsSupported data types, such as strings, arrays, and dictionariesVariables and constantsProgram flow: loops and conditional executionClasses, structures, enumerations, functions, and protocolsClosures: similar to blocks in Objective-C and lambdas in C#Optionals: values that can explicitly have no valueOperators, operator overloading, and custom operatorsAccess control: restricting access to types, methods, and propertiesBuilt-in global functions and their parameter requirements

Swift Protocol-Oriented Programming: Increase productivity and build faster applications with Swift 5, 4th Edition

by Jon Hoffman

Embrace the Protocol-Oriented Programming paradigm, for better code maintainability and increased performance, with Swift programming. Key Features Leverage the power of Protocol-Oriented Programming in your applications Leverage generics to create very flexible frameworks Learn how to implement common design patterns in a protocol-oriented way Book Description Protocol-oriented programming is an incredibly powerful concept at the heart of Swift's design. Swift's standard library was developed using POP techniques, generics, and first-class value semantics; therefore, it is important for every Swift developer to understand these core concepts and take advantage of them. The fourth edition of this book is improved and updated to the latest version of the Swift programming language. This book will help you understand what protocol-oriented programming is all about and how it is different from other programming paradigms such as object-oriented programming. This book covers topics such as generics, Copy-On-Write, extensions, and of course protocols. It also demonstrates how to use protocol-oriented programming techniques via real-world use cases. By the end of this book, you will know how to use protocol-oriented programming techniques to build powerful and practical applications. What you will learn Learn the differences between object-oriented programming and protocol-oriented programming Understand why value types should be prioritized over reference types Delve into protocols, protocol inheritance, protocol composition, and protocol extensions Learn how to implement COW (Copy-On-Write) within your custom value types Understand how memory management works in Swift and how to avoid common pitfalls Design applications by starting with the protocol rather than the implementation Who this book is for This book is intended for Swift developers who have, at minimum an introductory knowledge of the Swift programming language and would like to understand how they can use Protocol-Oriented Programming techniques in their applications.

Swift Recipes for iOS Developers: Real-Life Code from App Store Apps

by Alexander Nekrasov

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 snippet to copy and paste to your project as a tool to boost your knowledge, as well as, create plug-and-play features. Each of recipe shows the description for each line of code while explaining the logic of it, contains references to documentation, and gives you an opportunity to modify or write something similar that fits your project better. A good piece of code should not work but also be short, clear, and stable. And that combo will be our priority in these code recipes. Well-written code snippets must run in any environment and be easily transferrable from one project to another. Most of the provided recipes will migrate from one project to another with little to no changes at all, and with years of real-world application have proven themselves to be useful and stable. Dive into the world of iOS development and write clear, functioning, and safe Swift code! What You'll LearnParse, convert, and print Swift data Develop stunning UIs quickly Write effective and portable Swift extensions Make your code cleaner and safer Who This Book Is ForBeginners in iOS development who want to improve their skills with real-life examples. Developers switching to mobile development from other areas. All iOS developers looking for code recipes.

Swift Style: An Opinionated Guide to an Opinionated Language

by Erica Sadun

Discover the do's and don'ts involved in crafting readable Swift code as you explore common Swift coding challenges and the best practices that address them. From spacing, bracing, and semicolons to proper API style, discover the whys behind each recommendation, and add to or establish your own house style guidelines. This practical, powerful, and opinionated guide offers the best practices you need to know to work successfully in this equally opinionated programming language. Apple's Swift programming language has finally reached stability, and developers are demanding to know how to program the language properly. Swift Style guides you through the ins and outs of Swift programming best practices. This is the first best practices book for serious, professional Swift programmers and for programmers who want to shine their skills to be hired in this demanding market. A style guide offers a consistent experience of well-crafted code that lets you focus on the code's underlying meaning, intent, and implementation. This book doesn't offer canonical answers on Swift coding style. It explores the areas of Swift where structure comes into play. Whether you're developing a personal style or a house style, there are always ways to enhance your code choices. You'll find here the ideas and principles to establish or enhance your own best style practices. Begin with simple syntactical styling. Strengthen code bracing for easy readability. Style your closures for safety and resilience. Perfect spacing and layout. Master literal initialization and typing. Optimize control flow layout and improve conditional style choices. Transition from Objective-C and move code into Swift the right way. Boost API design using proper naming and labeling. Elevate defaulted arguments and variadics to their right places. Finally, Erica offers her own broad recommendations on good coding practice. What You Need: Recent version of the Swift programming language

SwiftUI Cookbook: A guide for building beautiful and interactive SwiftUI apps

by Juan C. Catalan

Experience the potential of SwiftUI, Swift 5.9, and Xcode 15 for crafting cutting-edge apps on iOS 17, macOS 14.0 Sonoma, and watchOS 10Key FeaturesUnlock advanced controls and animations with SwiftUI 5, taking your app development skills to the next levelVisualize data effortlessly using Swift Charts enhancing your app's data-driven capabilitiesDevelop for multiple platforms, including iOS, macOS, and watchOS, and become a versatile app developerPurchase of the print or Kindle book includes a free PDF eBookBook DescriptionSwiftUI is the modern way to build user interfaces for iOS, macOS, and watchOS. It provides a declarative and intuitive way to create beautiful and interactive user interfaces. The new edition of this comprehensive cookbook includes a fully updated repository for SwiftUI 5, iOS 17, Xcode 15, and Swift 5.9. With this arsenal, it teaches you everything you need to know to build beautiful and interactive user interfaces with SwiftUI 5, from the basics to advanced topics like custom modifiers, animations, and state management. In this new edition, you will dive into the world of creating powerful data visualizations with a new chapter on Swift Charts and how to seamlessly integrate charts into your SwiftUI apps. Further, you will be able to unleash your creativity with advanced controls, including multi-column tables and two-dimensional layouts. You can explore new modifiers for text, images, and shapes that give you more control over the appearance of your views. You will learn how to develop apps for multiple platforms, including iOS, macOS, watchOS, and more. With expert insights, real-world examples, and a recipe-based approach, you’ll be equipped to build remarkable SwiftUI apps that stand out in today’s competitive market.What you will learnCreate stunning, user-friendly apps for iOS 17, macOS 14, and watchOS 10 with SwiftUI 5Use the advanced preview capabilities of Xcode 15Use async/await to write concurrent and responsive codeCreate powerful data visualizations with Swift ChartsEnhance user engagement with modern animations and transitionsImplement user authentication using Firebase and Sign in with AppleLearn about advanced topics like custom modifiers, animations, and state managementBuild multi-platform apps with SwiftUIWho this book is forThis book is for mobile developers who want to learn SwiftUI as well as experienced iOS developers transitioning from UIKit to SwiftUI. The book assumes knowledge of the Swift programming language. Knowledge of object-oriented design and data structures will be useful but not necessary. You'll also find this book to be a helpful resource if you're looking for reference material regarding the implementation of various features in SwiftUI.

SwiftUI Cookbook: Discover solutions and best practices to tackle the most common problems while building SwiftUI apps

by Giordano Scalzo Edgar Nzokwe

This book is for mobile developers who want to learn SwiftUI as well as experienced iOS developers transitioning from UIKit to SwiftUI. The book assumes knowledge of the Swift programming language. Knowledge of object-oriented design and data structures is useful but not necessary.

SwiftUI Cookbook: A guide to solving the most common problems and learning best practices while building SwiftUI apps, 2nd Edition

by Giordano Scalzo Edgar Nzokwe

Find practical, logical, and efficient recipes for building cross-platform apps for iOS 15, macOS, and watchOS using Swift 5.5, Xcode 13, and SwiftUI 3.0Key FeaturesApply the declarative programming paradigm to build cross-platform UIs for Apple devicesLearn to integrate UIkit, Core Data, Firebase, and Sign in with Apple with SwiftUIAdopt the new SwiftUI 3.0 features to build visually appealing UIs speedilyBook DescriptionSwiftUI provides an innovative and simple way to build beautiful user interfaces (UIs) for all Apple platforms, from iOS and macOS through to watchOS and tvOS, using the Swift programming language. In this recipe-based cookbook, you'll cover the foundations of SwiftUI as well as the new SwiftUI 3 features introduced in iOS 15 and explore a range of essential techniques and concepts that will help you through the development process.The cookbook begins by explaining how to use basic SwiftUI components. Once you've learned the core concepts of UI development, such as Views, Controls, Lists, and ScrollViews, using practical implementations in Swift, you'll advance to adding useful features to SwiftUI using drawings, built-in shapes, animations, and transitions. You'll understand how to integrate SwiftUI with exciting new components in the Apple development ecosystem, such as Combine for managing events and Core Data for managing app data. Finally, you'll write iOS, macOS, and watchOS apps by sharing the same SwiftUI codebase.By the end of this SwiftUI book, you'll have discovered a range of simple, direct solutions to common problems encountered when building SwiftUI apps.What you will learnExplore various layout presentations in SwiftUI such as HStack, VStack, LazyHStack, and LazyVGridCreate widgets to quickly display relevant content at glanceGet up to speed with drawings in SwiftUI using built-in shapes, custom paths, and polygonsDiscover modern animation and transition techniques in SwiftUIAdd user authentication using Firebase and Sign in with AppleManage concurrency with Combine and async/await in SwiftUISolve the most common SwiftUI problems, such as integrating a MapKit map, unit testing, snapshot testing, and previewing layoutsWho this book is forThis book is for mobile developers who want to learn SwiftUI as well as experienced iOS developers transitioning from UIkit to SwiftUI. The book assumes knowledge of the Swift programming language. Knowledge of object-oriented design and data structures will be useful but not necessary. You'll also find this book to be a helpful resource if you're looking for reference material regarding the implementation of various features in SwiftUI.

SwiftUI for Absolute Beginners: Program Controls and Views for iPhone, iPad, and Mac Apps

by Jayant Varma

Dive into the world of developing for all of Apple platforms with SwiftUI, Apple’s new framework that makes writing applications faster and easier with fewer lines of code. This book teaches the basics of SwiftUI to help you write amazing native applications using XCode.For developers already familiar with ReactNative, this book reviews the declarative, state-based DSL that manages the UI and updates it automatically will feel just like what they’re used to. You'll see how SwiftUI reduces the number of lines of code required to achieve the same effects by over 60% and provides a much better experience. Like the announcement of Swift in 2014, SwiftUI is expected to fundamentally change the way developing programmers approach coding iPhone and iPad applications. This book examines how SwiftUI lowers the entry barrier for developers to write amazing cross-platform applications for iOS and iPadOS as well as WatchOS, Mac OS, and TVOS. What You'll LearnWrite code in the new SwiftUI syntaxCombine views to arrange them for an applicationAdd gestures and controls to an applicationWho This Book Is ForAnyone who wants to learn to develop apps for the Mac, iPhone, iPad, and Apple Watch using the Swift programming language. No previous programming experience is necessary.

SwiftUI For Dummies

by Wei-Meng Lee

The simplest way to create world-class apps Have a unique app idea but worried you don’t quite have the coding skills to build it? Good news: You can stop fretting about someone beating you to market with the same idea and start work right now using SwiftUI. SwiftUI is a gateway app development framework that has become one of the best ways for fledgling developers to get iOS apps off the ground without having to become a coding expert overnight. SwiftUI For Dummies makes that process even faster, providing a friendly introduction to the SwiftUI and Swift programming language and helping you feel right at home creating and building with playgrounds. The book also covers the frameworks and APIs that make it so easy to create smooth, intuitive interfaces—just dive right in and have fun! Combine projects into workspaces Employ Xcode editing tools Use constants and variables Test your code on iOS Simulator Time is of the essence, and with SwiftUI For Dummies, it’s also on your side. Get going with this friendly guide today, and you’ll be celebrating the successful launch of your app way before you thought possible!

SwiftUI Projects: Build six real-world, cross-platform mobile applications using Swift, Xcode 12, and SwiftUI

by Craig Clayton

Learn SwiftUI by designing and building complex user interfaces for watchOS, iPadOS, and iOS with the help of projects including a financial app, a sports news app, and a POS systemKey FeaturesLearn SwiftUI with the help of practical cross-platform development projectsUnderstand the design considerations for building apps for different devices such as Apple Watch, iPhone, and iPad using SwiftUI's latest featuresWork with advanced SwiftUI layout features, including SF Symbols, SwiftUI grids, and forms in SwiftUIBook DescriptionReleased by Apple during WWDC 2019, SwiftUI provides an innovative and exceptionally simple way to build user interfaces for all Apple platforms with the power of Swift.This practical guide involves six real-world projects built from scratch, with two projects each for iPhone, iPad, and watchOS, built using Swift programming and Xcode. Starting with the basics of SwiftUI, you'll gradually delve into building these projects. You'll learn the fundamental concepts of SwiftUI by working with views, layouts, and dynamic types. This SwiftUI book will also help you get hands-on with declarative programming for building apps that can run on multiple platforms. Throughout the book, you'll work on a chart app (watchOS), NBA draft app (watchOS), financial app (iPhone), Tesla form app (iPhone), sports news app (iPad), and shoe point-of-sale system (iPad), which will enable you to understand the core elements of a SwiftUI project.By the end of the book, you'll have built fully functional projects for multiple platforms and gained the knowledge required to become a professional SwiftUI developer.What you will learnUnderstand the basics of SwiftUI by building an app with watchOSWork with UI elements such as text, lists, and buttonsCreate a video player in UIKit and import it into SwiftUIDiscover how to leverage an API and parse JSON in your app using CombineStructure your app to use Combine and state-driven featuresCreate flexible layouts on iPadWho this book is forSwiftUI Projects is intended for anyone who is already comfortable with Swift. We do not cover Swift topics in detail, so you need to be familiar with these already. All of the SwiftUI topics are taught as if this is the first time you've learned them and will gradually get more difficult.

Swing Extreme Testing

by Lindsay Peters Tim Lavers

This book is a practical guide based on the authors daily experience developing and maintaining a cutting-edge Artificial Intelligence system. Every chapter comes up with real-life examples and the source code that comes with the book is full of useful (and well-tested) tools. The practical examples make this book suitable learning material for Swing developers. This book is for Swing developers who design and develop complex software for user interfaces that requires extensive testing. If you want to learn to test your Swing GUI components, this book is for you.

Swing for Jython

by Robert A. Gibson

This book shows you how to use Swing to add a GUI to your Jython scripts, with an emphasis on the WebSphere Application Server wsadmin utility. In fact, we're going to teach you Swing using Jython, and we're going to do it in a way that, hopefully, that makes your scripts easier for people to use, more robust, more understandable, and therefore easier to maintain.

Refine Search

Showing 55,076 through 55,100 of 60,778 results