Contents:

Free Python training course ➞ Intensive training for beginners and experienced programmers. Four impressive projects for your portfolio and the opportunity to chat live with an expert. Find out what awaits you in the course!
Learn more
The authors offer the basics of programming for the Android platform, examining the characteristic features of the system and the process of creating applications, focusing on the reader with no prior knowledge. It's recommended to study the material sequentially, chapter by chapter, to gradually progress from simple concepts to more complex ones.
In this edition, you'll learn the basics of structuring applications, create interactive interfaces, learn how to interact with various devices, and launch background services, among other skills. The author assumes you already have a basic knowledge of Java, as you'll begin writing real code from the first chapter. One tutorial will not be enough to fully master the topic, but it is certainly the fastest way to get started in mobile development for those who are not yet familiar with it.

This publication is devoted to the basics of software development for Android, including the use of the Android Studio environment and other necessary tools. In it, the authors demonstrate the process of creating eight different mobile applications using specific examples, two of which are simple, while the other six have a more complex structure.
By developing these applications, you will master key techniques and principles of programming for the Android platform. This edition covers such aspects as localization, accessibility, unit testing, the MVVM architectural approach, and much more.
3rd edition
Written by experienced authors who specialize in programming, this book is ideal for beginners who want to learn how to create applications for mobile devices on the Android platform, such as smartphones and tablets.
This work thoroughly examines the process of developing applications using the Android SDK. Unlike the traditional approach, which focuses on individual code fragments, it presents fully functional applications. This approach allows the reader to get a clear and complete understanding of how to program applications correctly, quickly, and efficiently.

Sixth edition

Read on GitHub
A guide for those who are just beginning to master the Java programming language. This is the sixth edition and has been updated and supplemented in accordance with the requirements of the Java SE 8 platform.
Together with author Herbert Schildt, you will begin your acquaintance with the programming language from the very basics - studying the process of creating, compiling, and executing program code. After that, you will delve into the syntax and key constructs that form the foundation of Java. The tutorial also covers more advanced language aspects, such as multithreading and the Swing library. Lambda expressions and JavaFX, the Java graphics platform, are also discussed. Self-assessment exercises are provided at the end of each chapter, and code examples are accompanied by explanations to help you understand the programming techniques used.
This tutorial will help you set up an Android development environment and become familiar with key aspects of the Java language, such as loops, methods, and object-oriented programming. This knowledge will be reinforced through hands-on development of various games, including a math game, a memory game, ping-pong, and a retro arcade game. The book contains a large number of illustrations and is practically free of unnecessary information.


The book offered by the author will be useful for all developers seeking to master the skills of game creation. It will teach you this art without the need for any game engines.
Each chapter of the book is devoted to the key principles of game creation, which will allow you to gradually assimilate them and consolidate new skills in practice. This tutorial comes with a website—a comprehensive resource with sample Java and Android game projects—to help you further your learning.
This collection, designed for Android game developers, contains approximately 70 C++ code examples. This edition is aimed at intermediate-level developers.
This book offers tips for creating and testing mobile games directly on the desktop. You'll learn how to write multithreaded code that will handle sound playback, asynchronous resource loading, and network connections. You will also get acquainted with the modern capabilities of OpenGL ES and learn how to develop applications without the use of integrated development environments.

2nd edition

This tutorial is designed for those who are just starting their journey in developing games for the Android platform. During the training, you will be able to master the fundamental principles of game design and programming. Then, following step-by-step instructions, you will create a unique game engine and applications that will run on various versions of Android for smartphones and tablets.
As you work with this book, you will master all the stages of application development using the APIs provided by the Android SDK. The authors describe their work as "backward-compatible": the structure of the textbook is organized so that you can complete practical tasks even using previous versions of the Android SDK development environment.
4th edition
This book is a beginner's guide to Android app development, designed for those already familiar with the Kotlin programming language. It is based on the highly popular Android Bootcamp course from Big Nerd Ranch.
This book will immerse you in the world of mobile development for the Android platform, relying on practical examples and clear explanations of key concepts and APIs. The focus is on the practical aspects of creating apps using Kotlin that support Android versions 5.0 (Lollipop) and 8.1 (Oreo) and higher.


This book is aimed at Android and Java developers looking to deepen their knowledge of game programming. It will also be useful for those with no experience creating games or apps for Android, as well as for those new to Java but with a basic understanding of object-oriented programming.
You will master the process of developing game engines, from the basics to more complex ones, taking into account character animation and parallax effects. You'll have the opportunity to create core gameplay and develop AI for your opponents. You'll implement a variety of game features, including firearms, user interfaces, sound generation and playback, level design, level transitions, and much more.
This book presents over 75 patterns for developing user interfaces on smartphones and tablets, significantly reducing the development time.
The diagrams cover both the most popular and the most complex forms of user interaction. Each of the proposed interfaces is accompanied by visual materials and step-by-step instructions that describe each pattern, explain its functionality, and provide recommendations for its use. In addition, explanations are provided of which patterns can be associated with a given one, as well as those that may conflict with it.


This is a relevant and accessible tutorial on Android application development. It is created for professionals with experience working with the Java programming language.
The author makes final edits to his textbook to take into account innovations in Android. The electronic version is available on the CommonsWare platform by subscription and is presented in different formats for easy reading. This textbook includes over 200 chapters covering a wide range of topics, from the basics of developing your first app to advanced programming techniques.
In this practical guide, you'll learn how to develop engaging and interactive content for Android and iOS mobile devices using the Unity game engine. The authors thoroughly analyze Unity's features and offer specific tips for applying them to various gaming scenarios.
As you read this book, you'll master the process of creating 2D and 3D games from the ground up. You'll learn how to organize graphics, develop scenarios, integrate sound effects, and simulate physics for action games. During practical assignments, you will create a 3D space combat simulator, which will include projectile firing and object reloading mechanisms, and also gain skills in working with external 3D models.


Kotlin is a programming language designed for developing applications for Android and has received official approval from Google. This book will become your reliable assistant in mastering the latest features that are not provided by Java and will allow you to create an Android application from scratch using Kotlin as the main language. It will be especially useful for those who already have programming experience and are familiar with Java.
The book's core idea is to learn the language through examples, rather than following a traditional tutorial structure. The author covers the most fascinating concepts and ideas of Kotlin, drawing parallels with Java 7. This way, you can immediately spot the differences and understand which aspects of the language will make your work more efficient.
As you learn the intricacies of the Kotlin programming language, you'll develop three complete mobile applications, each with a different level of complexity. Your journey will begin with the classic game Tetris. Next, you'll move on to developing a messenger app, and conclude the cycle with the creation of a third, more complex application that integrates Google Maps API and Place Picker technologies. By the end of this book, you will have acquired skills in developing and deploying Android applications using Kotlin.
With this book, you will be able to:
- get acquainted with the structural components of the Kotlin language;
- create effective RESTful APIs for applications running on the Android platform;
- develop reactive applications for Android;
- master MVC architectural patterns and learn how to effectively manage dependencies using Kotlin;
- master data transformation and storage methods using Logstash;
- learn about Spring Security;
- master the process of deploying Kotlin microservices in applications running on AWS and Android, as well as in the Play Store.


This book will help you overcome common challenges when developing apps for devices such as iPhone, iPad, and iPod touch, and master the basics of working with the iOS 7 SDK. You will learn many ways to store and protect data, as well as learn how to send and receive notifications, enhance graphics and create animations, and manage files and folders. In addition, you will learn how to create vibrant and realistic user interfaces using UIKit Dynamics, work with iOS 7 audio and video interfaces, develop location-aware apps, integrate iCloud into your projects, and much more. Each tutorial is complemented by code samples that you can immediately put into practice.
This book is ideal for those just beginning to master Swift development. It covers the modern technologies needed for developing apps for iOS. All materials are presented in an accessible and understandable format. This tutorial starts with the basics—downloading and installing Xcode and the iOS 8 SDK—and then takes you step-by-step through creating your first simple app.
You'll learn how to:
- leverage Swift game frameworks;
- improve your code to create a great user experience;
- design clear user interfaces;
- present information in tables;
- create on-screen graphics using Core Graphics.
- use the iOS sensor to visualize the world around you;
- configure your app to work with iCloud; and much more.
This book is suitable for those just starting out, but it's worth noting one thing: the text contains inaccuracies and translation errors. Therefore, if possible, it is better to read the original.


This book will be useful for programmers with various experience levels working on developing iOS applications.
It teaches methods for effectively solving common problems related to improving and optimizing the performance of iOS applications. Thanks to detailed tutorials, you will master the skills of creating fast and responsive applications, which will help you succeed in the field of mobile development.
If you are starting your journey into the world of mobile development for iOS, you should definitely master the main language - Swift. This self-study guide will allow you to quickly and easily learn it from the very beginning. The material is presented step by step, starting with the simplest concepts and gradually moving on to more complex ones. During the training, you will become familiar with the basic syntax, language features, and also get a brief introduction to the principles of object-oriented programming.
Although this tutorial is focused on the outdated version of Swift 2.0 and is somewhat outdated, it still offers a detailed and clear explanation of the fundamentals of Swift development, making it useful for beginners.


This book in Russian is a practically ideal resource for those who are just beginning to get acquainted with programming, and opens the doors to the world of iOS application development. Its main advantage is the freshness of the material: the edition was published in 2018 and remains relevant to this day. All code examples provided are based on Swift 4.1 and meet the requirements for OS 11 or later and Xcode 9 or later.
Paul Hudson is a recognized expert in mobile development. His expertise extends beyond iOS and Swift—he actively writes books on the language. He has published numerous publications, and his Twitter account attracts nearly 30,000 followers. Paul also runs a YouTube channel and a website focused on Swift development. We highly recommend not only his work "Hacking with Swift", which is considered one of the best in the field, but also all of his other books.


This book is designed for those who are just starting out not only in iOS and Swift, but also in programming in general. It presents a guide in an easy and accessible format that, without using complex terminology, details the process of creating an app from scratch. Four lessons focus on developing four different apps, each of which becomes slightly more complex compared to the previous one. In the process, you will create:
- A game designed to master the basics of iPhone programming.
- An app for managing tasks and making to-do lists.
- An app that records the places you've visited.
- An app for finding products in the iTunes store.
This publication presents detailed recipes that will help you overcome a variety of common difficulties that arise when developing games for the iOS platform. Topics covered include such aspects as 2D and 3D mathematics in SpriteKit and OpenGL, as well as performance optimization issues. To fully master the material presented, the reader is recommended to have a basic knowledge of iOS, as well as the Swift and Objective-C programming languages.
By the end of this book, you will master the skills of designing the architecture and code structure for games, and learn how to customize menus using UIKit. You will gain knowledge of methods for playing sound effects and musical accompaniment. In addition, you will become familiar with different methods of data storage, learn to work with 2D and 3D graphics using SpriteKit and SceneKit tools, respectively. You will be able to develop algorithms for artificial intelligence and many other aspects of game development.


2nd edition
This concise guide will help you quickly develop your own applications for the iOS platform.
This book will help you master the syntax and features of the Swift language, and also teach you how to use Swift in the Xcode environment. You'll learn how to develop full-fledged iOS apps, use Swift storyboards to create multi-page apps, and gain a basic understanding of the JSON and XML data formats.
If you're interested in developing iOS games using Swift, this book is a great choice. A basic understanding of programming principles is recommended, but experience in game development or familiarity with the Apple ecosystem is not required.
The book opens with a discussion of the potential of Swift for game development. Over the course of this tutorial, you will:
- Use SpriteKit to implement graphics, physics, and sound in your game.
- Learn drawing and animation techniques.
- Learn how to respond to a variety of user input methods, including tilt and touch.
- Learn Apple's XCode development environment and all its related tools.
- Connect your game to Game Center so users can share their progress.
- Improve your gameplay experience by discovering rare tips and tactics.
- Submit your game to the App Store.


iOS 11, Swift 4, and Xcode 9 open up a wide range of new APIs for iOS developers. In this cookbook, you'll find over 170 robust solutions that will help you effectively use the modern capabilities of iOS 11 and watchOS 4, significantly simplifying the process of app development in everyday practice.
This edition is aimed at mid- and senior-level iOS developers eager to get acquainted with the latest version of the system. Among the topics covered in the book:
- Swift 4 and Xcode 9 introduced interesting innovations. One of the key updates was the improvement of working with strings, in particular, the ability to manipulate text data more flexibly and conveniently. Working with collections has also been significantly simplified thanks to the introduction of new methods and improved syntax.
Furthermore, Swift 4 introduced the concept of encoding and decoding data using the Codable protocol, making the process of serializing and deserializing objects more intuitive and less labor-intensive. This is especially useful when working with JSON.
Xcode 9, in turn, offered an updated interface and improved development tools. New features such as the ability to work with multiple windows and improved Git support have been introduced, contributing to a more efficient development process.
Thus, the updates in Swift 4 and Xcode 9 significantly expand the capabilities of developers, offering more powerful tools and simplifying many tasks.
- Means for implementing continuous integration.
- Automation of testing processes.
- A new version of the map and key features of location;
- The iOS 11 security system and the password autofill function.
- Developing applications to interact with the iMessage service and create stickers.
- Interacting with Siri via Siri Kit;
- Developing software for Apple Watch.
The book by Patrick Alessi, an experienced iOS developer, is intended for those specialists who are just beginning their acquaintance with this platform. The author provides a detailed explanation of the system's architecture and offers consistent recommendations for game development, introducing the reader to the programming languages used in this field. The work examines key structural components, as well as aspects such as graphics, user interaction, animation, and sound. This work is a multifunctional resource that will help in creating and launching game projects.


The title of the book clearly indicates that it is intended for those who are just starting out. In this detailed guide, the author will walk you through the process of creating four easy and fun games.
This book stands out for its unique method - "speed" programming, which focuses not on the syntax of the programming language, but on the structure of the game itself. You will master the skills of creating game worlds, managing game objects and states, and defining the levels that players go through. You'll also learn how to implement animation based on the laws of physics, and much more. Throughout the course, you'll explore the language in the context of game development.
In his step-by-step instructions, the author covers in detail the process of creating games for iOS—from writing the game code to deploying the finished product to the server. If you're a game developer, a designer, an artist, or just starting out in this field and want to learn how to create games for iOS, this book will be an excellent resource for you. During the course of studying the materials, you'll master:
- The process of installing, configuring, and compiling Unreal Engine 4 on Mac OS X, as well as preparing the platform for developing iOS applications.
- The process of developing a game for iOS includes several key stages, each of which requires careful execution. First, it's necessary to analyze the idea and concept of the game, determine the target audience, and determine the genre. Next comes the creation of a prototype, where developers can test the main mechanics and conceptual elements.
Following this, the design phase begins, during which graphic elements, the interface, and the soundtrack are developed. It is important that all visual and audio components work harmoniously together and correspond to the overall atmosphere of the game.
The next stage involves programming, where developers write the code that implements the game mechanics. It is also important to ensure performance optimization so that the game runs smoothly on different devices.
Testing is another important step. It includes checking for errors and bugs, as well as evaluating the gameplay in terms of usability and interest for users.
Finally, the final steps involve preparing for publication on the App Store, where platform requirements must be taken into account, such as compliance with security standards and the presence of the necessary metadata.
As a result, creating a game for iOS requires not only programming and design skills, but also an understanding of the market for the project to be successful and in demand.
- Developing a variety of game mechanics for devices running on the iOS platform.
- Managing user interaction through social capabilities in Unreal Engine 4;
- Creating games for iOS using the capabilities and tools offered by Unreal Engine 4;
- Using methods for generating income.


This work is addressed to developers involved in creating applications for iOS, those who are just starting to learn Swift, as well as those who are first interested in the possibility of developing mobile applications for this platform. By the end of this book, you'll be able to develop your first app that runs on any iOS device and potentially sells it on the Apple iTunes App Store.
You'll learn:
- The Swift programming language is a modern tool designed for software development, specifically for Apple platforms like iOS, macOS, watchOS, and tvOS. Introduced in 2014, it immediately gained popularity due to its simplicity and conciseness, making it accessible to both beginners and experienced developers.
Swift offers many convenient features, including memory safety, object-oriented programming support, and powerful functionality. This allows you to create robust and efficient apps. The language is constantly evolving, and the community actively suggests new improvements and extensions, keeping it relevant in the market.
One of Swift's key features is its readability, which simplifies the learning and development process. This allows developers to write and test code faster, and maintain and update their apps more easily.
- How to use it to create iOS games;
- SpriteKit is a powerful framework for creating 2D games on the iOS platform using the Swift programming language. Getting started with SpriteKit requires a few steps.
First, create a new project in Xcode using the SpriteKit game template. This will ensure that all the necessary files and settings are ready to use.
Once the project is created, you'll explore basic components such as scenes (SKScene), nodes (SKNode), and sprites (SKSpriteNode). The scene represents the game space where all the action takes place. Nodes serve as building blocks, while sprites are the visual elements displayed on the screen.
You can then add sprites to the scene by loading images from your project's resources. This is done by creating SKSpriteNode instances. It's also important to set up the game's physics by adding physics bodies to sprites, allowing them to interact with each other.
Also, to control gameplay, use methods like update, which are called every frame, allowing the game state to be updated and respond to user actions.
Remember to test your game on a real device to ensure everything works correctly. SpriteKit offers a wide range of animation and visual effects capabilities, allowing you to create engaging and dynamic games. By following these steps, you will be able to effectively use SpriteKit with Swift to develop engaging 2D games. SceneKit is a powerful framework that enables the creation of 3D graphics and animations in Swift apps. It provides developers with tools for working with 3D objects, lighting, a camera, and various effects. To get started with SceneKit, first create a new project in Xcode and select a template that supports Swift. Then, add SceneKit to your project by importing the appropriate framework: swift
import SceneKit
«`Next, create a scene, which will serve as the main container for all 3D objects. The scene can be created programmatically or loaded from a file. For example:
«`swift
let scene = SCNScene()
«`Then add objects to the scene. These can be 3D models, geometric shapes, or even textures. For example, to create a simple cube, you could use the following code:
«`swift
let box = SCNBox(width: 1.0, height: 1.0, length: 1.0, chamferRadius: 0)
let boxNode = SCNNode(geometry: box)
scene.rootNode.addChildNode(boxNode)
«`To control the camera, add it to the scene, setting its position and viewing direction:
«`swift
let cameraNode = SCNNode()
cameraNode.camera = SCNCamera()
cameraNode.position = SCNVector3(x: 0, y: 0, z: 5)
scene.rootNode.addChildNode(cameraNode)
«`Lighting also plays an important role in SceneKit. You can add lights to improve the visualization of objects:
«`swift
let lightNode = SCNNode()
lightNode.light = SCNLight()
lightNode.light?.type = .omni
lightNode.position = SCNVector3(x: 0, y: 5, z: 5)
scene.rootNode.addChildNode(lightNode)
«`To display a scene in your application, you need to create an SCNView and set the created scene:
«`swift
let scnView = SCNView(frame: self.view.bounds)
scnView.scene = scene
self.view.addSubview(scnView)
«`Don't forget to configure display options, such as allowing user interaction and showing the coordinate grid:
«`swift
scnView.allowsCameraControl = true
scnView.showsStatistics = true
scnView.backgroundColor = UIColor.black
«`Now that you've set up a basic scene with an object, camera, and lighting, you can add animations, respond to touch events, and experiment with different effects to create a unique 3D experience for your app's users.
- Creating your first 2D game using SpriteKit and the Swift programming language is an exciting process. Here are a few steps to help you in this endeavor.
The first thing you need to do is install Xcode if you don't already have it. It is the development environment required for creating iOS apps. After installation, launch Xcode and create a new project, choosing the game template. Select SpriteKit from the list of available technologies. This will provide you with all the necessary tools for working with 2D graphics. Next, you should familiarize yourself with the basics of the Swift language if you are not familiar with it. Swift is a powerful and intuitive language that is well suited for app development. You can find many online resources and tutorials to help you master it. After that, start developing the concept of your game. Think about its story, characters, game mechanics, and level of difficulty. Creating a prototype will help you visualize your ideas and understand how the elements of your game will interact. Once the concept is ready, move on to creating game objects. In SpriteKit, you can use scenes (SKScene) and nodes (SKNode) to manage graphical elements. You can add sprites, animations, sound effects, and other components to make the game more interesting and engaging. Don't forget to test your game on a real device. This will help you identify potential errors and improve performance. Xcode provides debugging tools that can be very helpful at this stage.
Once development is complete, you can publish your game to the App Store by following Apple's instructions. Make sure you familiarize yourself with their app requirements to avoid any issues when submitting.
By following these steps, you will be able to create your first 2D game using SpriteKit and Swift, enjoying the process and gaining valuable experience.
- Creating a 3D game from 2D using SceneKit and Swift requires several key steps. First, you need to define the concept of your game and its elements, and then move on to implementation.
Start by setting up your project in Xcode. Create a new project and select the game template. Make sure you add the necessary libraries, such as SceneKit, to provide support for 3D graphics.
Next, convert your 2D objects to 3D. This can be done by adding volume to your characters and environments. Use 3D models or create them yourself using tools like Blender. Import these models into your project using the appropriate file format.
Next, set up the scene in SceneKit. Create nodes for your objects, adding them to the scene hierarchy. Adjust the lighting and camera to ensure proper rendering. Experiment with different light sources to achieve the desired atmosphere.
The next step is programming the game logic in Swift. Use the SceneKit framework to manage objects, handle user interactions, and animation. Write code that will allow your character to move around the scene and interact with other objects.
Be sure to test the game on various devices to ensure everything works as expected. Make changes and improvements based on the feedback received.
In the end, converting a 2D game to 3D using SceneKit and Swift will require careful work on graphics, scenes, and logic, but the result will be a unique gaming experience.

This is an unusual edition created by a team of developers, Swift has become a key step in adapting the Swift language to cloud computing. This book distills their knowledge and skills, offering readers a practical guide to developing and deploying Swift programs in the cloud. It provides a comprehensive analysis of all the key aspects associated with creating and running Swift applications in a cloud computing context. In addition, you will find numerous real-world code examples that you can use to get started and experiment immediately.
5th edition
This comprehensive guide will introduce you to all aspects of the Swift language—from its basic principles to sought-after features like concurrency, generics, and memory management. This updated edition covers the fifth version of Swift in detail, emphasizing the most modern and significant features, supported by practical code examples. The author explains in detail topics related to error handling, closures, and protocol extensions, and also covers the application of protocol-oriented programming and many other aspects.


This book will be of interest to those readers who already have basic knowledge of Swift, XCode, and the Cocoa ecosystem. The author offers an in-depth understanding of application development, focusing on controller management and the integration of functionality from iOS frameworks.
Each instruction includes code samples that can be downloaded from GitHub for further study and testing. This book covers all the new features of iOS 12, as well as updates in Xcode 10 and Swift 4.2. In addition, a new edition dedicated to iOS 13 is being prepared.

