This book is a field guide for .NET developers exploring the foreign world of native iOS programming. It explains the iOS development platform by comparing and contrasting it with tools, APIs, and concepts familiar to .NET developers. The author, Josh Smith, was a Microsoft MVP for four years thanks to his technical and written contributions in the Client Application Development community. He has worked on enterprise iOS applications since 2010. This is the book he wished had existed when he started learning iOS.
It’s true: you can build native apps for iOS, Android, and Windows Phone with C# and the .NET Framework—with help from MonoTouch and Mono for Android. This hands-on guide shows you how to reuse one codebase across all three platforms by combining the business logic layer of your C# app with separate, fully native UIs. It’s an ideal marriage of platform-specific development and the "write once, run everywhere" philosophy. By building a series of simple applications, you’ll experience the advantages of using .NET in mobile development and learn how to write complete apps that access the unique features of today’s three most important mobile platforms. Learn the building blocks for building applications on iOS, Android, and Windows Phone Discover how the Mono tools interact with iOS and Android Use several techniques and patterns for maximizing non-UI code reuse Determine how much functionality can go into the shared business logic layer Connect to external resources with .NET’s rich networking stack Read and write data using each platform’s filesystem and local database Create apps to explore the platforms’ location and mapping capabilities
As iOS apps become increasingly complex and business-critical, iOS developers must ensure consistently superior code quality. This means adopting best practices for creating and testing iOS apps. Test-Driven Development (TDD) is one of the most powerful of these best practices. Test-Driven iOS Development is the first book 100% focused on helping you successfully implement TDD and unit testing in an iOS environment. Long-time iOS/Mac developer Graham Lee helps you rapidly integrate TDD into your existing processes using Apple’s Xcode 4 and the OCUnit unit testing framework. He guides you through constructing an entire Objective-C iOS app in a test-driven manner, from initial specification to functional product. Lee also introduces powerful patterns for applying TDD in iOS development, and previews powerful automated testing capabilities that will soon arrive on the iOS platform. Coverage includes Understanding the purpose, benefits, and costs of unit testing in iOS environments Mastering the principles of TDD, and applying them in areas from app design to refactoring Writing usable, readable, and repeatable iOS unit tests Using OCUnit to set up your Xcode project for TDD Using domain analysis to identify the classes and interactions your app needs, and designing it accordingly Considering third-party tools for iOS unit testing Building networking code in a test-driven manner Automating testing of view controller code that interacts with users Designing to interfaces, not implementations Testing concurrent code that typically runs in the background Applying TDD to existing apps Preparing for Behavior Driven Development (BDD) The only iOS-specific guide to TDD and unit testing, Test-Driven iOS Development covers both essential concepts and practical implementation.
A mobile applications development masterclass for .NET and C# developers Key FeaturesUncover the new features and capabilities of the .NET 5 framework in this updated and improved second editionOptimize the time required to develop highly performant cross-platform applicationsUnderstand the architectural patterns and best practices for mobile application developmentBook Description Are you a .NET developer who wishes to develop mobile solutions without delving into the complexities of a mobile development platform? If so, this book is a perfect solution to help you build professional mobile apps without leaving the .NET ecosystem. Mobile Development with .NET will show you how to design, architect, and develop robust mobile applications for multiple platforms, including iOS, Android, and UWP using Xamarin, .NET Core, and Azure. With the help of real-world scenarios, you'll explore different phases of application development using Xamarin, from environment setup, design, and architecture to publishing. Throughout the book, you'll learn how to develop mobile apps using Xamarin and .NET Standard. You'll even be able to implement a web-based backend composed of microservices with .NET Core using various Azure services including, but not limited to, Azure Active Directory, Azure Functions. As you advance, you'll create data stores using popular database technologies such as Cosmos DB and data models such as the relational model and NoSQL. By the end of this mobile application development book, you'll be able to create cross-platform mobile applications that can be deployed as cloud-based PaaS and SaaS. What you will learnDiscover the latest features of .NET 5 that can be used in mobile application developmentExplore Xamarin.Forms Shell for building cross-platform mobile UIsUnderstand the technical design requirements of a consumer mobile appGet to grips with advanced mobile development concepts such as app data management, push notifications, and graph APIsManage app data with Entity Framework CoreUse Microsoft’s Project Rome for creating cross-device experiences with XamarinBecome well-versed with implementing machine learning in your mobile appsWho this book is for This book is for ASP.NET Core developers who want to get started with mobile development using Xamarin and other Microsoft technologies. Working knowledge of C# programming is necessary to get started.
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to social integration and monetization, this complete tour of Apple's powerful suite of game technologies covers it all. Familiar with Swift but new to game development? No problem. Start with the basics and then layer in the complexity as you work your way through three exciting - and fully playable - games. In the end, you'll know everything you need to go off and create your own video game masterpiece for any Apple platform. Discover the power of Apple Game Frameworks, Xcode, and Swift by building three exciting games: Gloop Drop - a new twist on a classic arcade game, Val's Revenge - a roguelike dungeon crawler, and Hog - a social player vs. player mobile dice game. With Apple Game Frameworks, you can create high-performance, power-efficient games that work across all Apple platforms, including iOS, macOS, tvOS, and watchOS. In this book, you'll discover how to... Design and develop rich 2D gaming experiences using Apple's built-in game frameworks. Harness the power of SpriteKit using Xcode and Swift to create engaging player experiences. Use the visual Scene Editor to build complete scenes. Unleash the power of the Particle Editor to create amazing effects. Use GameplayKit to add advanced features to your games like pathfinding, artificial intelligence, and complex rule systems. Build larger, more complex worlds with tile maps and Xcode's visual Tile Map editor. Bring people together using GameKit and Game Center, Apple's social gaming network. Increase revenue with third-party banner ads and rewarded ads using Google AdMob (tm). Monetize your games with StoreKit and in-app purchases. So, grab your gear and get your game on - it's time to level up your skills. What You Need: macOS Mojave 10.14.6 or newer Xcode 11.3 or newer Basic knowledge of Swift 5.1.4 or newer
Get a solid grounding in all the fundamentals of Cocoa Touch, and avoid problems during iPhone and iPad app development. With this revised and expanded edition, you'll dig into Cocoa and learn how to work effectively with Objective-C and Xcode. This book covers iOS 6 in a rigorous, orderly fashion--ideal whether you're approaching iOS for the first time or need a reference to bolster existing skills. Learn about features introduced with iOS 6, including Objective-C language advances, autosynthesis, autolayout, new view controller rotation rules, unwind segues, state restoration, styled text, and collection views. Learn Objective-C language details and object-oriented programming concepts Understand the anatomy of an Xcode project and all the stages of its lifecycle Grasp key Cocoa concepts such as relationships between classes, receiving events, and model-view-controller architecture Learn how views and layers are managed, drawn, composited, and animated Become familiar with view controllers and their relationships, along with nib and storyboard management Fully explore all basic interface objects such as scroll views, table views, and controls Delve into Cocoa frameworks for sound, video, sensors, maps, and other features Touch on advanced topics such as threading and networking
Today's .NET developers are intrigued by what the iPhone and iPad apps landscape has to offer. Admit it: you're one of them. Apple's App Store has hundreds of thousands of apps, and yours can be among them. iPhone and iPad app development using the iOS software development kit is one of the most appealing environments available for mobile technology. Migrating to iPhone and iPad for .NET Developers helps .NET programmers get started creating iPhone and iPad apps using the iOS software development kit. Start with a crash course on development using iOS. Then, find out whether you want to use Xcode instead of Visual Studio, and prepare yourself for the migration from C# to Objective-C! You'll learn how your existing .NET skills can map most efficiently to the iOS development environment. Next, you'll really get coding with Objective-C and the iOS software development kit. You'll build your skills and enhance your apps with visually appealing, dynamic user interfaces and pushing/pulling data from a database though events and more. Discover the wonders of the Cocoa library, and learn new ways to do things you already know like the back of your hand in the .NET environment. Nearing the finish line, you'll build your first complete iPhone or iPad app, and extend your iPhone app features—for example, by using third-party libraries. Once you have created that first iPhone or iPad app, we'll walk you through making it available on the App Store. Migrating to iPhone and iPad for .NET Developers even offers tips on how to market your apps to new customers. When you finish reading Migrating to iPhone and iPad for .NET Developers, you'll be an iOS apps developer as well as a .NET developer, in today's competitive and fun mobile landscape!
The book is written in a recipe format with practical examples, allowing you to go directly to your topic of interest or follow topics throughout a chapter to gain an in-depth knowledge. There are also plenty of hints and best practices along the way. If you are a C#/.NET developer with no previous experience in iOS development or an Objective-C developer who wants to create complete iOS applications and deploy them to the App Store, then this book is ideal for you. No experience with Xamarin is needed.
Create your very own apps for the latest iOS devices. You'll start with the basics, and then work your way through the process of downloading and installing Xcode and the iOS 10 SDK, and then guides you though the creation of your first simple application. Assuming little or no working knowledge of the Swift programming language, and written in a friendly, easy-to-follow style, Beginning iPhone Development with Swift 3 offers a comprehensive course in iPhone and iPad programming. In this third edition of the best-selling book, you’ll learn how to integrate all the interface elements iOS users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders. Every single sample app in the book has been rebuilt from scratch using the latest Xcode and the latest iOS 10-specific project templates, and designed to take advantage of the latest Xcode features. Discover brand-new technologies, as well as significant updates to existing tools. You’ll master a variety of design patterns, from the simplest single view to complex hierarchical drill-downs. The art of table building will be demystified, and you’ll learn how to save your data using the iOS file system. You’ll also learn how to save and retrieve your data using a variety of persistence techniques, including Core Data and SQLite. And there’s much more! What You Will Learn Develop your own bestselling iPhone and iPad apps Utilize Swift playgrounds Display data in Table Views Draw to the screen using Core Graphics Use iOS sensor capabilities to map your world Get your app to work with iCloud and more Who This Book is For Anyone who wants to start developing for iPhone and iPad.