Works By The Author...

Understanding Objective-C Blocks

A large portion of the code that we write for iOS apps is event driven.  An event occurs (such as an app being moved to the background, a view being loaded, a user tapping on the screen, etc.), and our code is called by the OS to see how we want to react.  There are...

Xcode Assets (*.xcassets)

When Xcode 5 was released, users noticed new projects included a file called “Images.xcassets.” Despite how it appears in the project navigator, this is not a single flat file.  Rather, it’s a resource bundle – known as an “asset...

A Static Method Should Be Accessed In A Static Way

While teaching Intertech’s Complete Java Training, one student asked me why he was seeing the following warning in Eclipse: “The static method sayHello from the type HelloWorld should be accessed in a static way.” The warning (not an error.. . this...

Encapsulation in JavaScript

While this is no longer late breaking news, it bears repeating: JavaScript is a powerful object oriented language, capable of being used to build sophisticated applications on both the client and the server.  However, the more sophisticated the implementation, the...