Home > Articles > Programming > Mac and iOS Programming

Mac and iOS Programming

163 Items

Sort by Date | Title

C, the Foundation of Objective-C
Dec 6, 2012
This chapter is a basic introduction to the C programming language, and covers variables, operators, expressions and statements, program flow, preprocessor, and command line compiling and debugging.
Classes, Objects, and Methods in Objective-C
Jul 11, 2011
This chapter covers key concepts in object-oriented programming that will allow you to start working with classes in Objective-C.
Classes, Objects, and Methods in Objective-C
Dec 31, 2003
Learn the key concepts in object-oriented programming, so you can start working with classes in Objective-C. In this sample chapter from Programming in Objective-C, you'll learn a little bit of terminology, and then put the theory to work.
Cocoa Applications in Mac OS X
Jun 27, 2003
A little commitment and some hard work will get you poised to build great applications. Do this by getting a grasp on designing and implementing a document-based Cocoa application of your own through concentration on the relationships between the source code and the user interface items.
Cocoa Design Patterns: Bindings and Controllers
Oct 7, 2009
Erik M. Buck and Donald A. Yacktman explain the role of bindings and controllers in Cocoa.
Cocoa Language Options
Nov 8, 2002
Scott Anguish, Erik Buck, and Donald Yacktman describe the general features of all languages that can be used with Cocoa, and provide a brief overview of object-oriented terminology.
Cocoa Programming for Mac OS X: Custom Views
May 30, 2008
All visible objects in an application are either windows or views. In this chapter, Aaron Hillegass shows how to create a subclass of NSView.
Cocoa Programming for Mac OS X: Objective-C
Dec 12, 2011
Cocoa was developed using Objective-C, and most Cocoa programming is done in Objective-C. Teaching C and basic object-oriented concepts could consume an entire book. This chapter assumes that you already know a little C and something about objects and introduces you to the basics of Objective-C.
Cocoa Programming Fundamentals: UNIX Tools in Cocoa
May 27, 2010
This video excerpt is from Cocoa Programming Fundamentals LiveLessons.
Cocoa Tips: Don't Reimplement Standard Functionality
Jan 15, 2010
David Chisnall explains why using OS X's built-in APIs, rather than rolling your own, will allow your program to work with all of the user's other programs.
Cocoa Tips: Exposing System Services
Jan 22, 2010
David Chisnall shows how exposing system services makes it easy for users to access the features of your program from other applications.
Cocoa: Working with XML
May 19, 2006
Objective-C and Cocoa is the predominate language/framework on the Apple OS X operating system, but it is fairly uncommon otherwise. One way to enable an application written in this language to communicate with applications written for other platforms is via the universal XML. Marcus Zarra walks you through constructing, transmitting, and deconstructing an XML document using Objective-C and Cocoa.
Cocoa® Programming for Mac® OS X: Custom Views
May 10, 2002
Aaron Hillegass teaches you how to create a subclass of NSView in Cocoa.
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.
Controlling Both Ends of the Communications Channel: From Cocoa to Servlets
Jun 2, 2006
Objective-C/Cocoa is the dominant language/API for Apple's OS X. Java is the dominant language for Web portals and other Internet services. So wouldn't it make sense for these two technologies to talk to each other? Marcus Zarra walks you through a simple solution to get these two technologies communicating.
David Chisnall Presents a Developer's Reading List
Jan 4, 2012
Expert programmer David Chisnall provides a list of the 5 books he believes every programmer should read.
Designing the iPhone User Experience: Prototyping App Concepts
Sep 2, 2010
This chapter looks at various iPhone prototyping approaches — paper, software, and video — and suggests how to choose the best approach for your iPhone app.
Detached Retinas: How to Develop and Test OS X Retina Apps on Non-Retina MacBook Pros
Apr 2, 2014
Not everyone owns Retina MacBook Pros but when you’re deploying to the Mac App Store you need to ensure that your apps work as consistently on this target as they do on your home system. Learn how to add Retina emulation to your non-Retina development machine.
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.
Document Level Parameters Using Core Data: A Guide for Cocoa Developers
Apr 7, 2006
Core Data is one of Apple's latest technologies that allows the developer to effortlessly develop applications with a very complex data store. By utilizing Core Data your Cocoa application can instantly have access to a full database for storing the applications data. All without a single line of code. But what if you want or need to store parameters that may be file specific but not application specific? In this article we will walk through one solution that allows for elegant access to document specific parameters in a Core Data application.

< Prev Page 1 2 3 4 5 Next >