|
|
Books > Computing & IT > Computer hardware & operating systems > Operating systems & graphical user interfaces (GUIs) > Macintosh OS
Create iOS and Android apps with Flutter using just one codebase.
App development on multiple platforms has historically been
difficult and complex. This book breaks down complex concepts and
tasks into easily digestible segments with examples, pictures, and
hands-on labs with starters and solutions. In doing so, you'll
develop a basic understanding of the Dart programming language; the
entire Flutter development toolchain; the differences between
stateful and stateless widgets; and a working knowledge of the
architecture of apps. All the most important parts of app
development with Flutter are covered in this book. Work with themes
and styles. Develop custom widgets. Teach your app to respond to
gestures like taps, swipes, and pinches. Design, create and control
the layout of your app. Create tools to handle form data entry from
users. And ultimately create killer multiscreen apps with
navigation, menus, and tabs. Flutter is Google's new framework for
creating mobile apps that run on iOS and Android phones both.You
had to be a super-developer to write apps for iOS or Android alone.
But writing for both? Forget about it! You had to be familiar with
Swift, Java/Kotlin, Xcode, Eclipse, and a bunch of other
technologies simultaneously. Beginning App Development with Flutter
simplifies the entire process. What You'll Learn Get the most out
of great Flutter widgets Create custom widgets, both stateless and
stateful Exercise expert control over your Flutter layouts Make
your app respond to gestures like swiping, pinching and tapping
Initiate async Ajax calls to RESTful APIs - including Google
Firebase! Who This Book Is ForDevelopers who have coded in Java,
C#, C++, or any similar language. It brings app development within
the reach of younger developers, so STEM groups are likely to pick
up the technology. Managers, product owners, and business analysts
need to understand Flutter's capabilities.
Begin your iOS 12 app development journey with this practical guide
Key Features Kick-start your iOS programming career and have fun
building iOS apps of your choice Get to grips with Xcode 10 and
Swift 4.2, the building blocks of iOS development Discover the
latest features of iOS 12 - SiriKit, notifications, and much more
Book DescriptionWant to build iOS 12 applications from scratch with
the latest Swift 4.2 language and Xcode 10 by your side? Forget
sifting through tutorials and blog posts; this book is a direct
route to iOS development, taking you through the basics and showing
you how to put principles into practice. Take advantage of this
developer-friendly guide and start building applications that may
just take the App Store by storm! If you're already an experienced
programmer, you can jump right in and learn the latest iOS 12
features. For beginners, this book starts by introducing you to iOS
development as you learn Xcode and Swift. You'll also study
advanced iOS design topics, such as gestures and animations, to
give your app the edge. You'll explore the latest Swift 4.2 and iOS
12 developments by incorporating new features, such as the latest
in notifications, custom-UI notifications, maps, and the recent
additions in Sirikit. The book will guide you in using TestFlight
to quickly get to grips with everything you need to get your
project on the App Store. By the end of this book, you'll be ready
to start building your own cool iOS applications confidently. What
you will learn Explore the distinctive design principles that
define the iOS user experience Navigate panels within an Xcode
project Use the latest Xcode asset catalogue of Xcode 10 Create a
playgrounds project within your projects and understand how Ranges
and Control flow work Study operations with integers and work your
way through if statements Build a responsive UI and add privacy to
your custom-rich notifications Set up Sirikit to add voice for Siri
shortcuts Collect valuable feedback with TestFlight before
releasing your apps on the App Store Who this book is forThis book
is for you if you are completely new to Swift, iOS, or programming
and want to make iOS applications. However, you'll also find this
book useful if you're an experienced programmer looking to explore
the latest iOS 12 features.
Embrace the mobile gaming revolution by creating popular iOS games
with Swift 4.2 Key Features Learn to create games for iPhone and
iPad with the latest Swift Programming language Understand the
fundamental concepts of game development like game physics, camera
action, sprites, controls, among others Build Augmented reality
games using ARKit for true performance Book 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 learn Deliver powerful
graphics, physics, and sound in your game by using SpriteKit and
SceneKit Set up a scene using the new capabilities of the scene
editor and custom classes Maximize gameplay with little-known tips
and strategies for fun, repeatable action Make use of animations,
graphics, and particles to polish your game Understand the current
mobile monetization landscape Integrate your game with Game Center
Develop 2D and 3D Augmented Reality games using Apple's new ARKit
framework Publish your game to the App Store Who 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.
Learn to build fast and robust applications on the Linux platform
with Swift About This Book * Create robust applications by building
a strong foundation in the Swift Language * Utilize Swift 3 on the
embedded Linux platform for IoT and Robotic projects * Build more
flexible and high-performing applications on desktop, server, and
embedded Linux platforms Who This Book Is For This book is for
Linux developers who are interested in quickly learning how to use
Swift to create exciting applications on Linux platforms. What You
Will Learn * Install Swift on the Linux platform * Explore the
power of the Swift language * Get to know the proper design
techniques * Understand Swift's new Core Library * Implement
popular design patterns with Swift * Integrate C libraries with
Swift * Using Swift on Single-Board Computers * Learn how to add
concurrency to your application with Grand Central Dispatch * Learn
how to work with Swift Generics * Learn how to use the
Protocol-Oriented design paradigm In Detail Swift is a modern,
fast, and safe programming language created by Apple. Writing Swift
is interactive and fun, the syntax is concise yet expressive, and
the code runs lightning-fast. Swift's move to open source has been
embraced with open arms and has seen increased adoption in the
Linux platform. Our book will introduce you to the Swift language,
further delving into all the key concepts you need to create
applications for desktop, server, and embedded Linux platforms. We
will teach you the best practices to design an application with
Swift 3 via design patterns and Protocol-Oriented Programming.
Further on, you will learn how to catch and respond to errors
within your application. When you have gained a strong knowledge of
using Swift in Linux, we'll show you how to build IoT and robotic
projects using Swift on single board computers. By the end of the
book, you will have a solid understanding of the Swift Language
with Linux and will be able to create your own applications with
ease. Style and approach This easy-to-follow, code-rich guide is
filled with examples that demonstrate how to put the concepts into
practice. You'll also get design patterns and best practices to get
you writing better applications on the Linux platform.
Dive into the latest release of the Swift programming language with
this advanced Apple development book About This Book * Discover the
new features and improvements to Swift 3 * Get to grips with
advanced design patterns and techniques to write smarter, cleaner
Swift code * Become a more fluent Swift developer and build
powerful, impressive iOS and OS X applications. Who This Book Is
For This book is for developers who want to dive into the newest
version of Swift. If you are a developer that learns best by
looking at, and working with code, then this book is for you. A
basic understanding of Apple's tools is beneficial but not
mandatory. What You Will Learn * Dive into the core components of
Swift 3.0, including operators, collections, control flow, and
functions * Create and use classes, structures, and enums *
Understand object-oriented Swift and see how to tackle inheritance,
protocols, and extensions * Develop a practical understanding of
subscripts, optionals, and closures * See how to use the new
protocol extension and error handling features of Swift 3.0 * Add
concurrency to your applications using Grand Central Dispatch In
Detail Swift is the definitive language of Apple development today.
It's a vital part of any iOS and OS X developer's skillset, helping
them to build the most impressive and popular apps on the App
Store-the sort of apps that are essential to iPhone and iPad users
every day. With version 3.0, the Swift team have added new features
to improve the development experience-making it easier to get the
results you want and customers expect. Inside, you'll find the key
features of Swift 3.0 and quickly learn how to use the newest
updates to your development advantage. From Objective-C
interoperability to ARC, to closures and concurrency, this advanced
Swift guide will develop your expertise and make you more fluent in
this vital programming language. We give you in-depth knowledge of
some of the most sophisticated elements of Swift development
including protocol extensions, error-handling, design patterns, and
concurrency, and guide you on how to use and apply them in your own
projects. You'll see how even the most challenging design patterns
and programming techniques can be used to write cleaner code and to
build more performant iOS and OS X applications. By the end of this
book, you'll have a handle on effective design patterns and
techniques, which means you'll soon be writing better iOS and OS X
applications with a new level of sophistication and control. Style
and approach Packed with practical examples that show you how to
put the concepts you learn into practice quickly, we'll takes you
through some of the most advanced and sophisticated elements of the
language in a practical and actionable way. You can also download
the code to use yourself
Leverage the power of machine learning and Swift programming to
build intelligent iOS applications with ease Key Features Implement
effective machine learning solutions for your iOS applications Use
Swift and Core ML to build and deploy popular machine learning
models Develop neural networks for natural language processing and
computer vision Book DescriptionMachine learning as a field
promises to bring increased intelligence to the software by helping
us learn and analyse information efficiently and discover certain
patterns that humans cannot. This book will be your guide as you
embark on an exciting journey in machine learning using the popular
Swift language. We'll start with machine learning basics in the
first part of the book to develop a lasting intuition about
fundamental machine learning concepts. We explore various
supervised and unsupervised statistical learning techniques and how
to implement them in Swift, while the third section walks you
through deep learning techniques with the help of typical
real-world cases. In the last section, we will dive into some hard
core topics such as model compression, GPU acceleration and provide
some recommendations to avoid common mistakes during machine
learning application development. By the end of the book, you'll be
able to develop intelligent applications written in Swift that can
learn for themselves. What you will learn Learn rapid model
prototyping with Python and Swift Deploy pre-trained models to iOS
using Core ML Find hidden patterns in the data using unsupervised
learning Get a deeper understanding of the clustering techniques
Learn modern compact architectures of neural networks for iOS
devices Train neural networks for image processing and natural
language processing Who this book is foriOS developers who wish to
create smarter iOS applications using the power of machine learning
will find this book to be useful. This book will also benefit data
science professionals who are interested in performing machine
learning on mobile devices. Familiarity with Swift programming is
all you need to get started with this book.
Create robust and extensible iOS apps using the advanced features
of Swift 2 About This Book * Get up to speed with the new features
of Swift 2 by following the exhaustive examples in this book *
Specialize in developing real iOS apps, and 2D and 3D videogames
using Swift and Cocoapods * Learn how to build server API apps to
feed your iOS client apps Who This Book Is For This book is ideal
for those who want to learn to develop app in Swift, starting the
right way. Whether you are an expert Objective-C programmer or are
new to this platform, you'll quickly grasp the code of real world
apps, and discover how to use Swift effectively. Prior experience
in development for Apple devices would be helpful, but is not
mandatory. What You Will Learn * Create a server in Swift to
deliver JSON data to an iOS app * Take advantage of Cocoapods to
use third-party libraries * Use a clean and effective architecture
to decrease complexity and speed up development * Take advantage of
the most useful parts of the iOS SDK * Build games with SpriteKit
and SceneKit * Develop an app running on the cloud to act as an API
server for your client's apps In Detail Swift is no longer the
unripe language it was when launched by Apple at WWDC14, now it's a
powerful and ready-for-production programming language that has
empowered most new released apps. Swift is a user-friendly language
with a smooth learning curve; it is safe, robust, and really
flexible. Swift 2 is more powerful than ever; it introduces new
ways to solve old problems, more robust error handling, and a new
programming paradigm that favours composition over inheritance.
Swift 2 by Example is a fast-paced, practical guide to help you
learn how to develop iOS apps using Swift. Through the development
of seven different iOS apps and one server app, you'll find out how
to use either the right feature of the language or the right tool
to solve a given problem. We begin by introducing you to the latest
features of Swift 2, further kick-starting your app development
journey by building a guessing game app, followed by a memory game.
It doesn't end there, with a few more apps in store for you: a
to-do list, a beautiful weather app, two games: Flappy Swift and
Cube Runner, and finally an ecommerce app to top everything off. By
the end of the book, you'll be able to build well-designed apps,
effectively use AutoLayout, develop videogames, and build server
apps. Style and approach These easy-to-follow tutorials show you
how to build real-world apps. The difficulty and complexity level
increases chapter by chapter. Each chapter is dedicated to build a
new app, beginning from a basic and unstyled app through to a full
3D game. The last two chapters show you how to build a complete
client-server ecommerce app right from scratch.
Create fully-featured and highly functional iOS apps by writing
tests first About This Book * Learn test-driven principles to help
you build apps with fewer bugs and better designs * Become more
efficient while working with Swift to move on to your next project
faster! * Learn how to incorporate all of the principles of
test-driven development (TDD) in to your daily programming workflow
Who This Book Is For If debugging iOS apps is a nerve-racking task
for you and you are looking for a fix, this book is for you. What
You Will Learn * Implement TDD in swift application development *
Get to know the fundamentals, life cycle, and benefits of TDD *
Explore the tools and frameworks to effectively use TDD * Develop
models and controllers driven by tests * Construct the network
layer using stubs * Use functional tests to ensure the app works as
planned * Automate and streamline the building, analysing, testing,
and archiving of your iOS apps In Detail Test-driven development
(TDD) is a proven way to find software bugs early. Writing tests
before your code improves the structure and maintainability of your
app. Test-Driven iOS Development with Swift will help you
understand the process of TDD and how it impacts your applications
written in Swift. Through practical, real-world examples, you'll
start seeing how to implement TDD in context. We will begin with an
overview of your TDD workflow and then deep-dive into unit testing
concepts and code cycles. We will showcase the workings of
functional tests, which will help you improve the user interface.
Finally, you will learn about automating deployments and continuous
integration to run an environment. Style and approach This is an
easy-to-follow example-driven tutorial, packed with lots of tips
and tricks that explore TDD bit-by-bit in the process of making an
iOS application.
This book is aimed at experienced Swift developers who want to
optimize their programs on Apple platforms.
Over 50 recipes to help you quickly and efficiently build
applications with Swift 4 and Xcode 9 About This Book * Write
robust and efficient code and avoid common pitfalls using Swift 4 *
Get a comprehensive coverage of the tools and techniques needed to
create multi-platform apps with Swift 4 * Packed with
easy-to-follow recipes, this book will help you develop code using
the latest version of Swift Who This Book Is For If you are looking
for a book to help you learn about the diverse features offered by
Swift 4 along with tips and tricks to efficiently code and build
applications, then this book is for you. Basic knowledge of Swift
or general programming concepts will be beneficial. What You Will
Learn * Explore basic to advanced concepts in Swift 4 Programming *
Unleash advanced features of Apple's Xcode 9 IDE and Swift
Playgrounds * Learn about the conditional statements, loops, and
how to handle errors in Swift * Define flexible classes and structs
using Generics, and learn about the advanced operators, and create
custom operators * Explore functionalities outside of the standard
libraries of Swift * Import your own custom functionality into
Swift Playgrounds * Run Swift on Linux and investigate server-side
programming with the server side framework Vapor In Detail Swift 4
is an exciting, multi-platform, general-purpose programming
language. Being open source, modern and easy to use has made Swift
one of the fastest growing programming languages. If you interested
in exploring it, then this book is what you need. The book begins
with an introduction to the basic building blocks of Swift 4, its
syntax and the functionalities of Swift constructs. Then,
introduces you to Apple's Xcode 9 IDE and Swift Playgrounds, which
provide an ideal platform to write, execute, and debug the codes
thus initiating your development process. Next, you'll learn to
bundle variables into tuples, set order to your data with an array,
store key-value pairs with dictionaries and you'll learn how to use
the property observers. Later, explore the decision-making and
control structures in Swift and learn how to handle errors in Swift
4. Then you'll, examine the advanced features of Swift, generics
and operators, and then explore the functionalities outside of the
standard library, provided by frameworks such as Foundation and
UIKit. Also, you'll explore advanced features of Swift Playgrounds.
At the end of the book, you'll learn server-side programming aspect
of Swift 4 and see how to run Swift on Linux and then investigate
Vapor, one of the most popular server-side frameworks for Swift.
Style and approach Each recipe addresses a specific problem, with a
detailed discussion that explains the solution and offers insight
into how it works.
Build robust and scalable iOS and Mac OS X game applications About
This Book * Learn to use and implement the 23 Gang of Four design
patterns using Swift 2 * Design and architect your code for Swift
application development * Understand the role, generic UML design,
and participants in the class diagram of the pattern by
implementing them in a step-by-step approach Who This Book Is For
This book is intended for competent Swift developers who want to
apply enduring design patterns with Swift to structure and scale
their application code. What You Will Learn * Choose the
appropriate pattern depending on the problem to be solved *
Understand the generic class diagram of each of the 23 GoF patterns
and how each object participates in the pattern * Use Swift to
implement these patterns even though the language doesn't provide
all of the object-oriented programming concepts such as abstract
class, interface, and so on * Architect your software to avoid the
overuse of memory, time spent on calculations, or high network
traffic * Find the best way to organize your code to make it more
secure from the outside world * Prepare your code to make it more
flexible when the consumer changes or the third-party component
hidden code changes * Structure your code to change the algorithm
to apply at runtime * Deliver Flyweight responsibility to your
objects In Detail Swift is a multi-paradigm language. It has
expressive features familiar to those used to work with modern
functional languages, while also keeping the object-oriented
features of Objective-C. It remains compatible with Apple's legacy
codes and frameworks. A design pattern systematically names,
motivates, and explains a general design that addresses a recurring
design problem in object-oriented systems. It describes the
problem, the solution, when to apply the solution, and its
consequences. It also gives implementation hints and examples.
Knowledge about design patterns is also one of the best ways to
make you different compared to other low-level developers. This
book shows you how to use Swift 2 to learn about 23 Gang of Four
(GoF) design patterns, and is organized into three categories. The
book will present you the five creational patterns, followed by the
seven structural patterns, and finishing with the 11 behavioral
patterns as defined by the GoF. Each chapter will introduce the
pattern by defining its role, which common problems the pattern
should be used for, its generic UML representation, how each
objects presented in the class diagram participate in the pattern,
and what the role of each of these objects is. The book then
presents you with a concrete case as an illustration that will be
used to implement the pattern using Swift. Style and approach A
step-by-step tutorial completed with screenshots and code
highlights wherever necessary. Each chapter discusses one or more
patterns with its definitions and a simple-to-follow illustration
case using a playground or XCText project to implement it with
Swift.
|
|