Posted in as3, cocoa touch, iphone, objective c on March 12th, 2009 by admin – 6 Comments
A very handy thing in cocoa is the use of notifications.
Although it doesn’t work exactly the same as Events in AS3, it can be used for the same principal.
There are 3 functions you need to keep in mind.
- (void)addObserver:(id)notificationObserver selector:(SEL)notificationSelector name:(NSString *)notificationName object:(id)notificationSender
- (void)postNotificationName:(NSString *)notificationName object:(id)notificationSender userInfo:(NSDictionary *)userInfo
- (void)removeObserver:(id)notificationObserver name:(NSString *)notificationName object:(id)notificationSender
read more »
Posted in as3, cocoa touch, iphone, objective c on February 12th, 2009 by admin – 8 Comments
UIView vs Movieclip.
It’s true that the UIView object has comparisons with the Movieclip object in actionscript.
But not everything is the same. I’m going to discuss a couple of examples that you would do with a movieclip and show you how to can achieve the same result in objective-c with the UIView object.
But first a couple of statements about the UIView / Movieclip object:
| Movieclip |
Question |
UIView |
| ✓ |
The object is a container for view/display objects |
✓ |
| ✓ |
You can draw into the view/display object |
✓ |
| ✓ |
You can animate the object directly |
✓ |
| ✓ |
Accessing view through id |
✓ |
read more »
Posted in conference, iphone on February 11th, 2009 by admin – 3 Comments
It’s been awfully quite around here last couple of weeks. That has it’s reasons.
I was involved with the 2 projects, 1 being a Native iPhone applications where i will be releasing more details about very soon, and the other is the FITC Mobile Guide iphone website.
For you guys who don’t know what fitc is.
If you were lucky enough to attend our FITC Amsterdam 2008, you know what it’s all about. If you missed it, you’re going to want to grab a ticket before they’re all gone (there sold out, but you can put yourself on the wait list http://www.fitc.ca/amsterdam/wait/). There is no other event quite like it. The combination of unbelievable presenters from around the globe, incredible networking opportunities, and the infamous FITC parties, all with the amazing backdrop of the city of Amsterdam, creates a stage set for the unexpected. We’ve brought back some of your favourite speakers, added a number of new ones, and we also have a few surprises up our sleeve to keep everyone on their toes. With some of the most interesting and engaging presenters from around the world, it’s 2 days and nights that will leave you inspired, energized and awed. And probably pretty tired. So join us for an event you will never forget!
With a limited number of tickets available, this event will sell out.
- 2 full days and nights of events, plus 1 day of optional pre-festival workshops
- Over 50 presentations and panels covering the Creative, Technical, and Business aspects of Flash and digital media
- Over 500 attendees from around the globe
- Over 50 internationally renowned design and technology presenters
- Includes three FITC evening events
Me and my co-worker Thomas Joos Developed a complete mobile guide for the upcoming FITC Amsterdam.
What can you expect from the mobile guide we developed?
read more »
Posted in as3, cocoa touch, iphone, objective c on January 5th, 2009 by admin – 8 Comments
So for part 2 of my tutorial about json. We are going to use json encoded data to transfer over http from your application to the backend server. There are some things you have to keep in mind if you encode json in cocoa touch using the json framework (which I’ve used in the previous tutorial). But we will go deeper on that subject later on.
So for this part of the tutorial my usercase will be. Send a couple of Person objects over http using json to encode and get an xml in return which lists the Person objects in xml form. This maybe not a practical usercase but it illustrates the point of sending json over http. read more »
Posted in as3, cocoa touch, iphone, objective c on December 24th, 2008 by admin – 9 Comments
So in this tutorial I’m going to discuss what would be a possible way to transfer your data from a backend to your iphone. I have 2 primary things I have in mind doing this what are very important to me. It must be easy to implement (in the backend as well as in objective-c), And I need a format that is accessible from many program languages / approaches.
So from that point on I stumbled upon the use of JSON. It’s very easy in use, support for many languages (http://json.org). My Actionscript mind would always put amf in favor since its very well supported in actionscript and the flash player. As well as the backend side of the story ( fluorine, amfphp, weborb, blazeds, livecycle, ..).
The usercase that I came in contact with the most was, get something out of a database with php convert it to amf with amfphp or weborb and send it over to flash. So that’s the usercase I want to take as an example to do the comparison. So what is my setup ?
read more »