Mark Meretzkyteaches Unix and C++ at New York University SCPS
Creating iOS Apps in Objective-C
Location:Robinson/WhitmanDuration:Full DayAbstract:This is a full-day tutorial in writing iOS apps using the Xcode IDE on Macintosh. An iPhone or iPad app is made of intercommunicating objects. Learn to create and destroy the objects and send them messages in the language Objective-C. Use them to draw text and graphics on the screen, display controls such as buttons and sliders, respond to a touch or keystroke, recognize a swipe or pinch, and perform simple animations. We concentrate on three iOS design patterns: 1. A control object (e.g., a button) can call a method of its target object in response to a touch. 2. An object can call a method of its delegate object in response to a changing situation, e.g., upon reaching the end of an audio file during a playback. 3. A view controller object can create and send messages to the view object underneath it, and forms the connection between the view object and the rest of the app. Requires previous programming experience, but not necessarily in the language Objective-C. The examples will be displayed and run on a Mac during the tutorial. If registrants would like to run the examples on their own machine, they can bring a Mac equipped with the current Xcode.
Creating Android Apps in Java
Location:Grand Ballroom - Salon GDuration:Full DayAbstract:This is a full-day tutorial in writing Android apps using the Eclipse IDE on Mac, PC, or Linux. An app is composed of objects written in Java, plus a screen layout in the Extensible Markup Language. See how the Java code manipulates the XML to present a user interface including buttons, sliders, and other controls. Draw text and graphics on the screen, respond to a touch or keystroke, recognize a swipe or a pinch, and perform simple animations. We concentrate on three Android design patterns involving views, which are visible areas on the screen. 1. A listener is an object whose methods are called in response to a stimulus. We plug the listener into a view to make the view touch-sensitive. 2. A cursor is a source of data, possibly from a database. We plug the cursor into an adapter, which encases each item of data in a separate view. 3. An adapter view displays a series of views on the screen. We plug an adapter into the adapter view to provide the views to be displayed. As our finale, we let a component of one app launch and communicate with a component of another app on the same device. Tutorial level: Intermediate. Requires a reading knowledge of the Java language. The examples will be displayed and run on a Mac during the tutorial. If registrants would lke to run the examples on their own machine, they can bring a Mac, PC, or Linux equipped with Eclipse and the current Android Developer Tools (ADT) plugin.