|
|
Books > Computing & IT > Computer hardware & operating systems > Operating systems & graphical user interfaces (GUIs) > Macintosh OS
Begin your iOS mobile application development journey with this
accessible, practical guide About This Book * Use Swift 3 and
latest iOS 10 features to build awesome apps for iPhone and iPad *
Explore and use a wide range of Apple development tools to become a
confident iOS developer * From prototype to App Store-find out how
to build an app from start to finish! Who This Book Is For This
book is for beginners who want to be able to create iOS
applications. If you have some programming experience, this book is
a great way to get a full understanding of how to create an iOS
application from scratch and submit it to the App Store. You do not
need any knowledge of Swift or any prior programming experience.
What You Will Learn * Get to grips with Swift 3 and Xcode, the
building blocks of Apple development * Get to know the fundamentals
of Swift, including variables, constants, and control flow *
Discover the distinctive design principles that define the iOS user
experience * See how to prototype your app with Swift's Playgrounds
feature * Build a responsive UI that looks great on a range of
devices * Find out how to use CoreLocation to add location services
to your app * Add push notifications to your app * Make your app
able to be used on both iPhone and iPad In Detail You want to build
iOS applications for iPhone and iPad-but where do you start? Forget
sifting through tutorials and blog posts, this is a direct route
into iOS development, taking you through the basics and showing you
how to put the principles into practice. With every update, iOS has
become more and more developer-friendly, so take advantage of it
and begin building applications that might just take the App Store
by storm! Whether you're an experienced programmer or a complete
novice, this book guides you through every facet of iOS
development. From Xcode and Swift-the building blocks of modern
Apple development-and Playgrounds for beginners, one of the most
popular features of the iOS development experience, you'll quickly
gain a solid foundation to begin venturing deeper into your
development journey. For the experienced programmer, jump right in
and learn the latest iOS 10 features. You'll also learn the core
elements of iOS design, from tables to tab bars, as well as more
advanced topics such as gestures and animations that can give your
app the edge. Find out how to manage databases, as well as
integrating standard elements such as photos, GPS into your app.
With further guidance on beta testing with TestFlight, you'll
quickly learn everything you need to get your project on the App
Store! Style and approach Created for anyone that wants to build
their first iOS application, this book offers practical, actionable
guidance through iOS development. Combining engaging visuals with
accessible, step-by-step instructiona and explanation, this book
will not only develop the your understanding, but also show you how
to put your knowledge to work.
Now updated for the new "Modern Objective-C" features introduced
with the iOS 6 SDK, the goal of this book is to teach the skills
necessary to program in Objective-C using a style that is easy to
follow, rich in examples and accessible to those who have never
used Objective-C before. Topics covered include the fundamentals of
Objective-C such as variables, looping and flow control. Also
included are details of object oriented programming, working with
files and memory and the Objective-C Foundation framework.
Regardless of whether you are developing for Mac OS X or the
iPhone, or just want to learn Objective-C, this book covers
everything you need to know about the Objective-C language in 31
detailed and easy to follow chapters.
Topics covered in this Third Edition of Objective-C 2.0
Essentials include: - The History of Objective-C
- Installing Xcode and Compiling Objective-C on Mac OS X
- Objective-C 2.0 Data Types
- Working with Variables and Constants in Objective-C
- Objective-C Operators and Expressions
- Objective-C 2.0 Operator Precedence
- Commenting Objective-C Code
- Objective-C Flow Control with if and else
- The Objective-C switch Statement
- Objective-C Looping - The for Statement
- Objective-C Looping with do and while Statements
- An Overview of Objective-C Object Oriented Programming
- Writing Objective-C Class Methods
- Objective-C - Data Encapsulation, Synthesized Accessors and Dot
Notation
- Objective-C Inheritance
- Pointers and Indirection in Objective-C
- Objective-C Dynamic Binding and Typing with the id Type
- Objective-C Variable Scope and Storage Class
- An Overview of Objective-C Functions
- Objective-C Enumerators
- An Overview of the Objective-C Foundation Framework
- Working with String Objects in Objective-C
- Understanding Objective-C Number Objects
- Working with Objective-C Array Objects
- Objective-C Dictionary Objects
- Working with Directories in Objective-C
- Working with Files in Objective-C
- Constructing and Manipulating Paths with NSPathUtilities
- Copying Objects in Objective-C
- Using Objective-C Preprocessor Directives
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
Develop the skills required to create compelling, maintainable, and
robust iOS and OS X apps with Swift About This Book * Write
expressive, understandable, and maintainable Swift 2 code with this
hands-on tutorial * Unveil the complex underpinnings of Swift to
turn your app ideas into reality * This book is packed with
real-life examples to help you implement concepts as you learn Who
This Book Is For If you are looking to build iOS or OS X apps using
the most modern technology, this book is ideal for you. You will
find this book especially useful if you are new to programming or
if you are yet to develop for iOS or OS X. No prior programming
exposure is required. What You Will Learn * Form a solid
understanding of the Swift 2 language * Get to know the practical
aspects of how a computer program actually works * Understand the
paradigms used by Apple's frameworks so you are not intimidated by
them * Utilize the vast resources written in Objective-C to better
inform your Swift programming * Develop a basic portfolio of Swift
code by learning the critical concepts * Experience both
object-oriented and functional programming * Get to know the new
coding techniques made available by Swift 2 * Discover resources to
ensure you never stop becoming a better developer In Detail Swift
is Apple's new programming language and the future of iOS and OS X
app development. It is a high-performance language that feels like
a modern scripting language. On the surface, Swift is easy to jump
into, but it has complex underpinnings that are critical to
becoming proficient at turning an idea into reality. This book is
an approachable, step-by-step introduction into programming with
Swift for everyone. It begins by giving you an overview of the key
features through practical examples and progresses to more advanced
topics that help differentiate the proficient developers from the
mediocre ones. It covers important concepts such as Variables,
Optionals, Closures, Generics, and Memory Management. Mixed in with
those concepts, it also helps you learn the art of programming such
as maintainability, useful design patterns, and resources to
further your knowledge. This all culminates in writing a basic iOS
app that will get you well on your way to turning your own app
ideas into reality. Style and approach This is an approachable,
step-by-step guide to programming in Swift 2. Each topic is
separated into compressible sections that are full of practical
examples and easy-to-understand explanations. Each section builds
on the previous topics so you can develop a proficient and
comprehensive understanding of app development in Swift 2.
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.
Get to grips with object-oriented programming in Swift to
efficiently build powerful real-world applications About This Book
* Leverage the most efficient object-oriented design patterns in
your Swift applications * Write robust, safer, and better code
using the blueprints that generate objects * Build a platform with
object-oriented code by using real-world elements and represent
them in your app Who This Book Is For If you are an iOS developer
who has a basic idea of object-oriented programming and want to
incorporate its concepts with Swift to optimize your application's
code and create reusable and easily to understand building blocks,
then this book is for you. This is a very useful resource for
developers who want to shift from Objective C, C#, Java, Python,
JavaScript, or other object-oriented languages to Swift What You
Will Learn * Build solid, stable, and reliable applications using
Swift * Work with encapsulation, abstraction, and polymorphism
using Swift 2.0 * Customize constructors and destructors based on
your needs * Develop Swift 2.0 with classes, instances, properties,
and methods * Take advantage of generic code to maximize code reuse
and generalize behaviors * Use state of inheritance,
specialization, and the possibility to overload members * Write
high quality object-oriented code to build apps for iOS or Mac OS X
In Detail Object-Oriented Programming (OOP) is a programming
paradigm based on the concept of objects; these are data structures
that contain data in the form of fields, often known as attributes
and code. Objects are everywhere, and so it is very important to
recognize elements, known as objects, from real-world situations
and know how they can easily be translated into object-oriented
code. Object-Oriented Programming with Swift is an easy-to-follow
guide packed full of hands-on examples of solutions to common
problems encountered with object-oriented code in Swift. It starts
by helping you to recognize objects using real-life scenarios and
demonstrates how working with them makes it simpler to write code
that is easy to understand and reuse. You will learn to protect and
hide data with the data encapsulation features of Swift. Then, you
will explore how to maximize code reuse by writing code capable of
working with objects of different types. After that, you'll
discover the power of parametric polymorphism and will combine
generic code with inheritance and multiple inheritance. Later, you
move on to refactoring your existing code and organizing your
source for easy maintenance and extensions. By the end of the book,
you will be able to create better, stronger, and more reusable
code, which will help you build better applications. Style and
approach This simple guide is packed with practical examples of
solutions to common problems. Each chapter includes exercises and
the possibility for you to test your progress by answering
questions.
Discover how to build iOS and watchOS applications in Swift 2 using
Xcode About This Book * Gets you up and running with Swift
programming without any prior iOS development experience. * A fast
paced guide showing best practices and lets you get up to speed
with Swift to quickly build your own iOS applications * A unique
practical approach to make your life with Swift easy. Who This Book
Is For 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.
What You Will Learn * Dive into Swift and explore its innovative
and powerful syntax * Work with Swift in Xcode to get a unique and
productive approach to development * Find out how to create
complete iOS applications * Discover rapid prototyping with a Swift
playground * Get to know how to use the Swift storyboard to develop
multi-page applications * Get to grips with parsing JSON and XML
data from network sources * Build a network client for GitHub
repositories, with full source code on GitHub In Detail Swift was
considered one of the biggest innovations last year, and certainly
with Swift 2 announced at WWDC in 2015, this segment of the
developer space will continue to be hot and dominating. This is a
fast-paced guide to provide an overview of Swift programming and
then walks you through in detail how to write iOS applications.
Progress through chapters on custom views, networking, parsing and
build a complete application as a Git repository, all by using
Swift as the core language Style and approach This fast-paced
practical guide will quickly give you hands-on experience with all
the features of Swift programming. Following the practical examples
in the book will help you successfully create your own iOS
applications.
Secure your iOS applications and uncover hidden vulnerabilities by
conducting penetration tests About This Book * Achieve your goal to
secure iOS devices and applications with the help of this fast
paced manual * Find vulnerabilities in your iOS applications and
fix them with the help of this example-driven guide * Acquire the
key skills that will easily help you to perform iOS exploitation
and forensics with greater confidence and a stronger understanding
Who This Book Is For This book is for IT security professionals who
want to conduct security testing of applications. This book will
give you exposure to diverse tools to perform penetration testing.
This book will also appeal to iOS developers who would like to
secure their applications, as well as security professionals. It is
easy to follow for anyone without experience of iOS pentesting.
What You Will Learn * Understand the basics of iOS app development,
deployment, security architecture, application signing, application
sandboxing, and OWASP TOP 10 for mobile * Set up your lab for iOS
app pentesting and identify sensitive information stored locally *
Perform traffic analysis of iOS devices and catch sensitive data
being leaked by side channels * Modify an application's behavior
using runtime analysis * Analyze an application's binary for
security protection * Acquire the knowledge required for exploiting
iOS devices * Learn the basics of iOS forensics In Detail iOS has
become one of the most popular mobile operating systems with more
than 1.4 million apps available in the iOS App Store. Some security
weaknesses in any of these applications or on the system could mean
that an attacker can get access to the device and retrieve
sensitive information. This book will show you how to conduct a
wide range of penetration tests on iOS devices to uncover
vulnerabilities and strengthen the system from attacks. Learning
iOS Penetration Testing discusses the common vulnerabilities and
security-related shortcomings in an iOS application and operating
system, and will teach you to conduct static and dynamic analysis
of iOS applications. This practical guide will help you uncover
vulnerabilities in iOS phones and applications. We begin with
basics of iOS security and dig deep to learn about traffic
analysis, code analysis, and various other techniques. Later, we
discuss the various utilities, and the process of reversing and
auditing. Style and approach This fast-paced and practical guide
takes a step-by-step approach to penetration testing with the goal
of helping you secure your iOS devices and apps quickly.
This book is aimed at experienced Swift developers who want to
optimize their programs on Apple platforms.
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.
Sharpen your skills in Swift by designing and deploying seven fully
functional applications About This Book * Develop a variety of
iOS-compatible applications that range from health and fitness to
utilities using this project-based handbook * Discover ways to make
the best use of the latest features in Swift to build on a wide
array of applications * Follow step-by-step instructions to create
Swift apps oriented for the real world Who This Book Is For If you
are a competent iOS developer who wants to develop stunning
applications with Swift, then this book is for you. Familiarity
with Swift programming is assumed. What You Will Learn * Get to
grips with the basics of Xcode and Swift for application
development * Create a Photo Sharing application to capture an
image, edit it using different features and share it via social
media. * Develop applications using the WatchKit and exchange data
between iPhone and the Watch * Use advanced features such as
SpriteKit to build a game * Install third-party Swift frameworks to
improvise on your application development * Discover how to
simulate home automation with HomeKit * Build an application to
monitor the user's weight, heart rate and the number of steps for
Health Historic Analysis * Manipulate media using AVFoundation
framework to merge audio and video. In Detail In this book, you
will work through seven different projects to get you hands-on with
developing amazing applications for iOS devices. We start off with
a project that teaches you how to build a utility app using Swift.
Moving on, we cover the concepts behind developing an entertainment
or social networking related application, for example, a small
application that helps you to share images, audio, and video files
from one device to another. You'll also be guided through create a
city information app with customized table views, a reminder app
for the Apple Watch, and a game app using SpriteKit. By the end of
this book, you will have the required skillset to develop various
types of iOS applications with Swift that can run on different iOS
devices. You will also be well versed with complex techniques that
can be used to enhance the performance of your applications. Style
and approach This book takes a step-by-step approach to help you
build apps from scratch and learn the methodology to develop
real-time applications using Swift.
Filled with practical, step-by-step instructions and clear
explanations for the most important and useful tasks. Get the job
done and learn as you go. A how-To book with practical recipes
accompanied with rich screenshots for easy comprehension. "The New
iPad: Using New Features in iOS 6 How-To" is for anyone somewhat
familiar with an iPad but wanting to get an overview of its new
features. A basic understanding of touch devices is good but not
necessary. The recipes walk you through everything you need to know
to accomplish each task. Good for the novice and the expert,
there's something in here for everyone.
|
|