Skip to Content

Submit your nominations for the Luxist Awards' Best in Decor
AOL Tech

objective-c posts

Filed under: Developer, SDK

Cycript: Blending Objective-C and JavaScript

Cycrypt is a new project that blends Objective-C and JavaScript to make it easier to implement aspects of both together. It's going to be great for using elements that JavaScript offers when programming with Objective-C. It's similar to JSCocoa, but it's been designed to offer a more complete set of JavaScript commands. It offers a full JavaScript parser/serializer, which allows for extensive use of JavaScript coding.

If you're wondering what exactly this is, the Cycript page offers some examples of code written with Cycript. Basically, it allows you to implement full JavaScript commands, while working with Objective-C in the same project.

Cycript is dependent on the MobileSubstrate and libffi libraries, which are available in Cydia. This won't be used to develop applications in the App Store anytime soon.

If you're interested, you can download examples or releases of Cycript. It's still being worked on, but if you're developing with both Objective-C and JavaScript in a project, you should check it out.

Filed under: Developer, iPhone, App Store, SDK, iPod touch

My first iPhone application

Piggybank iPhone AppLast month I wrote about some resources for learning Objective-C that I was using to learn how to write iPhone applications. Judging by the number of comments on that article, I thought that I should write a follow-up post about my progress and the status of my first iPhone application.

Since I had a few programming classes in college (VB, C++), the logic of loops and decision statements was not a big hurdle. By using the learning resources like screencasts and books, I was able to get a better grasp of object-oriented programming (OOP) in general, and of course the syntax specific to Obj-C. I became familiar enough with Xcode just by using it for demo programs, and I used the wealth of iPhone developer resources from Apple to use the iPhone SDK. After paying $99 to Apple to enter into the iPhone Developer program, I was then able to access the forums; they were helpful in figuring out specific things (like how to preset a UIPickerView object).

Continue readingMy first iPhone application

Filed under: Books, Developer, iPhone

Starting out with Objective-C

Objective C CodeI recently decided to embark on a personal challenge to learn Objective-C (the programming language behind Mac and iPhone applications) so that I could one day get applications into the App Store. I'm not looking to make millions with a fart machine app, but I do want to see some of my ideas come to fruition and end up on some iPhones. While we've previously mentioned how to delve into programming in Objective-C, there have been some recent releases of educational materials that can help those who want to learn the language:

Programming in Objective-C 2.0
(book, $44.99)

This is the latest release of Stephen Kochan's series which some consider to be the Objective-C bible. It has a wealth of information jammed into almost 600 pages, and it will take you from simple variable assignments to advanced class implementation. I'm over halfway through this book, and the text is easy to read (not too high level), and is broken up in a visually appealing style with sufficient whitespace to be gentle on your eyes. If you're only interested in programming for the iPhone, you may only want to rely on this book for its wealth of foundational Objective-C material as it only has one chapter devoted to the iPhone.

Continue readingStarting out with Objective-C

Filed under: Developer, iPhone, App Store, SDK, iPod touch

AppLoop brings automated application development to the iPhone



With the iPhone SDK, Apple is pioneering a new mobile development platform that is ahead of it's time; however, this innovation comes with a major caveat: It requires Cocoa (or Objective-C) programming knowledge. You may ask "Why is this a problem?" Well, someone might have a really great idea for an iPhone application, but not have the programming knowledge to back it up and follow through with the idea. This is where AppLoop comes in.

AppLoop is a brand-new service that allows anyone with a web browser and RSS feed to create an application similar to the AP News app and submit it to the App Store -- without ever writing a single line of code. Their service works by generating a .plist file on the server side (based on your choices). The file is then passed through a couple of AppleScripts that generates the code based on the choices, and compiles it.

The entire app-creation process takes less than a minute to complete, and you have an application ready to be deployed to the App Store. Ad-hoc versions can be requested in advance of the app being placed on the App Store. Currently, AppLoop is offering the RSS reader application, but they have plans to add additional paid features down the road.

You can find out more information about this service by visiting their website, or by watching the video [link here] above. You can also see a gallery of screenshots from one of their applications.



Thanks for the information, Eric!

Filed under: How-tos, iPhone

iPhone Coding: Recording Audio

Gallery: VRecord

Yesterday, I figured out how to record audio on the iPhone. Today, by popular request, I'll go through the how-to part. And, for those of you paying close attention, I've updated the application with lots of nice new features. For those of you playing along at home, here are the basics you'll need to know to get started with audio recording.

Continue readingiPhone Coding: Recording Audio

Filed under: How-tos, Developer

Roll Your Own Quicksilver Plugin

Regular readers know we here at TUAW love Quicksilver. Indeed, I think it is my single favorite application (and that it remains free is just mind-boggling to me). Anyway, despite a ton of built-in functionality and plethora of plugins to add more, you may still find there are a few things your best Mac buddy can't do. So why not write your own plugin? If, unlike me, you can get over the hurdle of not actually knowing how to code, there's still the issue of the lack of adequate documentation for writing a Quicksilver plugin. And so the "Vacuous Virtuoso," Ankur Kothari, comes to the rescue with an on-going series devoted to writing a Quicksilver plugin with Xcode in Objective-C. So far, only the first two parts are available (an Introduction, and an Anatomy of a plugin), but three more parts are planned. So all you developers out there fire up Xcode and get to extending and expanding our beloved Quicksilver!

[Via Daring Fireball via Cocoa Blogs]

Tip of the Day

To get an instant map to any address, just go to your Address Book and right click on the address field of any one of your contacts and select "Map Of." The address will then be revealed in Google Maps on Safari. You can do the same if a data detector determines there is an address in an e-mail in Mail.


Follow us on Twitter!
 TUAW [Cafepress]

Featured Galleries

DNC Macs
Macworld 2008 Keynote
Macworld 2008 Build-up
Google Earth for iPhone
Podcaster
Storyist 2.0
AT&T Navigator Road Test
Bento for iPhone 1.0
Scrabble for iPhone
Tom Bihn Checkpoint Flyer Briefcase
Apple Vanity Plates
Apple booth Macworld 07
WorldVoice Radio
Quickoffice for iPhone 1.1.1
Daylite 3.9 Review
DiscPainter
Mariner Calc for iPhone
2009CupertinoBus
Crash Bandicoot Nitro Kart 3D
MLB.com At Bat 2009
Macworld Expo 2007 show floor

 

More Apple Analysis

AOL Radio TUAW on Stitcher