Home > Articles > Programming > General Programming/Other Languages

General Programming/Other Languages

274 Items

Sort by Date | Title

Conditionals in Swift
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
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
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?!
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
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
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.
Video: Effective Ruby: Consider Using a Default Hash Value
Dec 3, 2015
In this excerpt from Effective Ruby LiveLessons (Video Training), learn why you should consider using a default hash value in Ruby.
Video: Effective Ruby: Prefer Lambda Instead of Proc
Dec 1, 2015
In Ruby, there are a number of ways to create anonymous pieces of code that we can move throughout our application. Proc is one such was to create an anonymous callable. However, in this excerpt from Effective Ruby LiveLessons (Video Training), learn why you should prefer lambda instead of proc.
Video: Effective Ruby: Use the === Protocol for Matching Tasks
Nov 27, 2015
In this excerpt from Effective Ruby LiveLessons (Video Training), learn about the === protocol built into Ruby, which is the universal match protocol for all objects in the Ruby system.
Swift Development: Nobody Knows the Tuples I've Seen
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
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
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
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
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
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
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?
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
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.
Ruby: The Last Eight Years
Apr 29, 2015
Hal Fulton, author of The Ruby Way, points out some of the extensive changes Ruby has experienced in less than a decade. By paying attention to why and how programming languages evolve, we can learn from experience and past mistakes, deliberately changing the language (and especially our usage of it) for a better future.
Discovering Swift and the iOS Playground
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.

Page 1 2 3 4 5 Next >