Home > Articles > Programming > Mac and iOS Programming

Mac and iOS Programming

RSS Feed Subscribe to this topic  RSS details

163 Items

Sort by Date | Title

Conditionals in Swift
By Matthew Mathias, John Gallagher
Feb 10, 2016
This chapter from Swift Programming: The Big Nerd Ranch Guide introduces conditionals in Swift, including if/else, ternary operator, nested ifs, and else if.
Getting Your Feet Wet with Swift: Variables, Constants, and Loops
By Jacob Schatz
Feb 4, 2016
This chapter from Learning Swift 2 Programming, 2nd Edition covers the basic building blocks of Swift. It starts with variables and constants. With this knowledge, you will be able to store whatever you’d like in memory. This chapter also goes over how Swift handles loops and if/else statements.
Learning Core Data for iOS with Swift: Managed Object Model Migration
By Tim Roadley
Feb 1, 2016
This chapter from Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, 2nd Edition shows how to add model versions and model mappings, and it demonstrates different migration techniques you can choose when upgrading a model.
The Swift Developer's Cookbook: Optionals?!
By Erica Sadun
Feb 1, 2016
Learning how to recognize and use optionals is an essential step in mastering the Swift language. This chapter from The Swift Developer's Cookbook introduces optionals and surveys the supporting constructs you need to create, test, and successfully use optionals in your code.
Using Operators in Swift
By BJ Miller
Jan 7, 2016
Operators are symbols or a set of symbols that change or assign values, combine values, or check or verify values in your code. In this chapter from Swift in 24 Hours, Sams Teach Yourself, 2nd Edition, you learn about most of the basic operators in Swift, as well as why and how to use them.
Introduction to Self-Handicapping Leadership: The Nine Behaviors Holding Back Employees, Managers, and Companies, and How to Overcome Them
By Phillip J. Decker, Jordan Paul Mitchell
Dec 18, 2015
Employees witness self-sabotage daily from their leaders—not confronting errant employees, inconsistent leadership, hiring the wrong people, blaming everyone, acting like a control freak, self-centered decision making, or not keeping their word. These can cause employees to be apathetic, unmotivated, and lack ownership; so why do leaders do these things? The authors of Self-Handicapping Leadership introduce their book, which will help you break the vicious cycle of self-handicapping leadership in your organization, stop the excuses, and unleash all the performance your team is capable of delivering.
Swift Development: Nobody Knows the Tuples I've Seen
By Erica Sadun
Jun 23, 2015
In the Swift programming language, tuples play specialized roles that lend power and flexibility to your development. Erica Sadun, bestselling author of The Gourmet iOS Developer's Cookbook: Even More Recipes for Better iOS App Development, explores tuples in depth.
Notes from WWDC 2015: Playing in a GameplayKit Wonderland
By Erica Sadun
Jun 13, 2015
Integrate low-cost high-reward gaming features into your apps with Apple's new GameplayKit framework. In this article, Erica Sadun, author of The Gourmet iOS Developer's Cookbook: Even More Recipes for Better iOS App Development, explores this new technology.
Notes from WWDC 2015: The Enumerated Delights of Swift 2.0 Option Sets
By Erica Sadun
Jun 12, 2015
Swift 2.0 contains a mix of updated, redesigned, and completely new features. In this article, Erica Sadun, author of The Gourmet iOS Developer's Cookbook: Even More Recipes for Better iOS App Development, discusses one of her favorites.
Notes from WWDC 2015: Failing Gracefully: Swift 2.0 Error Handling
By Erica Sadun
Jun 11, 2015
Swift 2.0 introduces new ways to handle error conditions. In this article, Erica Sadun, author of The Gourmet iOS Developer's Cookbook: Even More Recipes for Better iOS App Development, explores Swift's updated syntax.
Notes from WWDC 2015: Restructuring the Apple Developer Program
By Erica Sadun
Jun 10, 2015

While the WWDC keynote focused on music and consumers, exciting changes were brewing for developers. In this article, Erica Sadun, author of The Gourmet iOS Developer's Cookbook,, begins the discussion some of the most earth-shattering changes introduced this week. Today's topic? Apple's developer program.

Optional Values in Swift
By BJ Miller
Jun 4, 2015
BJ Miller, author of iOS Swift Programming By Example LiveLessons (Video Training), discusses some basics that Swift programmers need to understand, such as the use of nil and special characters when used (carefully) to create optionals that give your code more flexibility.
OS X for iOS Developers: Why You Should Be Building Desktop Applications
By Erica Sadun
May 14, 2015
iOS app developers draw on the same tools and languages used for OS X development. Erica Sadun, bestselling author of The Gourmet iOS Developer's Cookbook: Even More Recipes for Better iOS App Development, explores why iOS devs might want to consider building desktop applications.
Is Swift Development Right for You?
By Erica Sadun
May 7, 2015
Are you on target for Swift? Is Swift development right for you? Erica Sadun, bestselling author of dozens of books on programming, explores how to plan for Swift.
The Big Nerd Ranch Guide to Structures and Classes in Swift
By Aaron Hillegass, Nate Chandler, Adam Preble
May 4, 2015
In this chapter from Cocoa Programming for OS X: The Big Nerd Ranch Guide, 5th Edition, you will build a simple 2D physics simulation. You will create your own structure and a few classes, and you will learn about the differences between them.
Discovering Swift and the iOS Playground
By John Ray
Mar 27, 2015
In this excerpt from iOS 8 Application Development in 24 Hours, Sams Teach Yourself, 6th Edition, John Ray takes you through the steps you need to know to be comfortable with Swift and starts you down the path to mastering this unique and powerful language.
Scanning Barcodes Using the AV Foundation Framework
By Wei-Meng Lee
Mar 2, 2015
In addition to playing video and audio files, the iOS 7 AV Foundation Framework APIs let you use your iOS device's camera for scanning. Wei-Meng Lee shows how to create an application to scan barcodes.
Video: Swift Programming Fundamentals: Setting up Your Development Environment
By Paul Deitel
Feb 10, 2015
In this video excerpt from Swift Fundamentals LiveLessons: Part I of III, Paul Deitel covers the software used in the video, registering at apple.developer.com, getting the code examples, Xcode playgrounds/projects, and contacting him for help.
Getting Started with Xamarin Forms
By Wei-Meng Lee
Feb 4, 2015
With the Xamarin.Forms API, a single user interface can work on three different platforms: iOS, Android, and Windows Phone - a huge savings in code writing! Wei-Meng Lee provides examples for working with Xamarin.Forms, showing the kinds of navigation your interfaces can use on the individual platforms.
Introduction to Classes, Objects, Methods and Functions in Swift
By Paul J. Deitel, Harvey Deitel
Feb 4, 2015
In this chapter from Swift for Programmers, you’ll create your own types in the form of classes. Each new class you create becomes a new type that can be used to define variables and create objects.

Page 1 2 3 4 5 Next >