Home > Articles > Programming > General Programming/Other Languages

General Programming/Other Languages

RSS Feed Subscribe to this topic  RSS details

274 Items

Sort by Date | Title

Working with Strings in Ruby
By Hal Fulton, André Arko
Mar 16, 2015
A string is simply a sequence of characters. Like most entities in Ruby, strings are first-class objects. In everyday programming, we need to manipulate strings in many ways. We want to concatenate strings, tokenize them, analyze them, perform searches and substitutions, and more. In this chapter from The Ruby Way: Solutions and Techniques in Ruby Programming, 3rd Edition, Hal Fulton and André Arko show you how Ruby makes most of these tasks easy.
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.
Video: The Current State of Swift Development with iOS Dev and Author Jacob Schatz
By Jacob Schatz, Brad Yale
Jan 15, 2015
Jacob Schatz, author of Learning Swift Programming, talks to InformIT about the current state of Swift development, the fate of Objective-C and how Apple handles their OS updates.
Build a Tip Calculator App in iOS 8 Using Swift
By Paul J. Deitel, Abbey Deitel, Harvey M. Deitel
Jan 13, 2015
Learn how to build a tip calculator in iOS 8, with an introduction to Swift, Text Fields, Sliders, Outlets, Actions, View Controllers, Event Handling, NSDecimalNumber, NSNumberFormatter and Automatic Reference Counting, in this chapter from iOS 8 for Programmers: An App-Driven Approach with Swift, 3rd Edition.
Working with Functions in Swift
By Jacob Schatz
Jan 9, 2015
Swift functions are based on the best implementations functions in other languages. In this chapter from Learning Swift Programming, Jacob Schatz explains how functions work in Swift.
Video: The Current State of Swift Development with iOS Developer and Author BJ Miller
By BJ Miller, Brad Yale
Jan 6, 2015
BJ Miller, author of Swift in 24 Hours, Sams Teach Yourself, talks to community specialist Brad Yale about the current state of Swift development, the fate of Objective-C and how Apple handles their OS updates.
Introducing Swift Syntax and Data Types
By Matt Henderson, Dave Wood
Dec 30, 2014
This chapter from Swift for the Really Impatient introduces the basic syntax and data types of Swift.
Learn Ruby the Hard Way: A Good First Program
By Zed A. Shaw
Dec 23, 2014
In this excerpt from Learn Ruby the Hard Way: A Simple and Idiomatic Introduction to the Imaginative World Of Computational Thinking with Code, 3rd Edition, Zed Shaw walks you through writing your first Ruby program, and gives you some study drills to help you practice your skills.
Learn Ruby the Hard Way: Comments and Pound Characters
By Zed A. Shaw
Dec 23, 2014
Comments are very important in your programs. They are used to tell you what something does in English, and they are used to disable parts of your program if you need to remove them temporarily. Zed Shaw shows you how you use comments in Ruby, in this chapter from Learn Ruby the Hard Way: A Simple and Idiomatic Introduction to the Imaginative World Of Computational Thinking with Code, 3rd Edition.
Effective Objective-C and Swift: Q&A with Matt Galloway
By Matt Galloway, Trina MacDonald
Dec 9, 2014
Matt Galloway, author of Effective Objective-C 2.0: 52 Specific Ways to Improve Your iOS and OS X Programs, and Senior Acquisitions Editor Trina MacDonald discuss the Objective-C programming language and how Apple’s new Swift programming language will alter the landscape of future iOS application development.
Introducing the Swift Development Environment
By BJ Miller
Dec 4, 2014
In this excerpt from Introducing the Swift Development Environment, BJ Miller explains what Swift is and where it came from, how to install Xcode 6 from the Mac App Store, navigate the Xcode Integrated Development Environment (IDE), use playgrounds, use Swift’s Read-Eval-Print-Loop (REPL), and write your first Swift app.
Init to Winit: Building Success with Swift Class Initializers
By Erica Sadun
Sep 9, 2014
Work carefully with Swift class initializers. If Objective-C is a big, warm, fuzzy teddy bear when it comes to initializers, Swift is a bespectacled, whip-carrying, leather-clad librarian with an attitude. Learn how to use convenience methods from subclasses without enraging the Swift tiger.
Learn Ruby the Hard Way: Comments and Pound Characters
By Zed A. Shaw
Sep 8, 2014
Comments are very important in your programs. They are used to tell you what something does in English, and they are used to disable parts of your program if you need to remove them temporarily. Zed Shaw shows you how to use them in Ruby, in this excerpt from Learn Ruby the Hard Way: A Simple and Idiomatic Introduction To The Imaginative World Of Computational Thinking With Code, 3rd Edition.
Interface Lessons from "A Dark Room"
By Erica Sadun
Jun 18, 2014
"A Dark Room" is an enormous mess, visually. And yet, despite this it works with perhaps more appeal than if it had presented a gorgeous UI. There are lessons to be learned from this.
Building Blocks into AVFoundation Movies in Objective-C
By Erica Sadun
Jun 11, 2014
Do you like AVFoundation? Do you like blocks? They're two great technologies that taste great together. Learn how to blend these two to create flexible frame compositions for your custom movies.
Adding Bounce to Your UIViews: The Joy of Damped Harmonics in iOS 7 Development
By Erica Sadun
May 28, 2014
iOS 7 introduced built-in damped harmonic oscillations through its spring-based animator. Learn about this new API and how it adds timing curves that emulate the motion of a physical spring.
Training Users for Cheap: Offering Simple Guided Tours in Your Mobile Interfaces
By Erica Sadun
May 21, 2014
Avoid training and support overhead by adding simple tours to your apps. This write-up explores a simple boilerplate solution that’s easy to implement.

< Prev Page 1 2 3 4 5 Next >