Skatr 1.1 Update – iPhone App • 07.02.09
Skatr for iPhone update has been approved if you have purchased the app it is a free update, Otherwise If it’s your first time buying the app, the cost is $1.99
Thanks.
Skatr for iPhone update has been approved if you have purchased the app it is a free update, Otherwise If it’s your first time buying the app, the cost is $1.99
Thanks.
While looking into my app for deprecated methods I have found one that did not have much documentation to it. It was a delegate method from UIImagePickerControllerDelegate and this is the way I use it for when an image is ready to be posted.
- (void)imagePickerController: (UIImagePickerController *)picker didFinishPickingImage: (UIImage *)img editingInfo: (NSDictionary *)editInfo { [[picker parentViewController] dismissModalViewControllerAnimated:YES]; [image setImage:img]; [self confirmPhotoUpload]; }
Now the only problem with that method above is that it is now deprecated in the iPhone OS 3.0 SDK and you must now use a method called imagePickerController:didFinishPickingMediaWithInfo:
and the way I use that method is like this:
- (void)imagePickerController: (UIImagePickerController *)picker didFinishPickingMediaWithInfo: (NSDictionary *)info { [[picker parentViewController] dismissModalViewControllerAnimated:YES]; UIImage * img = [info objectForKey:@"UIImagePickerControllerEditedImage"]; [image setImage:img]; [self confirmPhotoUpload]; }
So if your stuck trying to figure out what method to now use, use imagePickerController:didFinishPickingMediaWithInfo: and what will have a NSDictionary with all the needed information about the image.
Today, I was working on Skatr getting it ready for the iPhone OS 3.0 and taking advantage of some of the new features and while I succeeded testing it on my device using the beta 4 version, I had trouble with beta 5. I searched around and found the following post to be very helpful to solving whatever problem was going on with the sdk.
Well, I’ve been on and off skateboarding for about 12 years now and a tragic day has now come, the skate shop I always liked going to and buying all my skateboarding needs has left, Just yesterday I wanted to buy an entire complete skateboard because I wanted to skate at the skatepark but the board shop is gone. That sucks, it seems like I might just order online.
Skatr is now available on the App Store, go buy it!
Skatr
This weekend as I wait for Apple’s response to my iPhone App being accepted or rejected. I’ve been wanted to create an Adium Plugin for a while, so now I took the initial steps and made it much easier to begin. I have created a XCode Template for creating your own Adium Plugins.
It can be downloaded over at my github reposity.
http://github.com/fernyb/adiumplugin/tree/master
Installation
If you do not have that directory create it and navigate to it.
If that does not exist make sure to create it.
Copy all files from git repository and place them in:
“/Library/Application Support/Developer/Shared/Xcode/Project Templates/Adium/Plugin”

It’s been a little over 4 months of development for my iPhone app. This does not mean just coding for the iPhone app but also working on the back-end server side, creating an API for Skatr to use, and later become a public API for others to consume.
Things I did for the 4 months of development.
First month, Start from scratch to rewrite www.skatr.us from PHP over to Ruby using the Merb Framework. Although that went short after the announcement of Merb & Rails merge. I figured I needed to port things over to Rails now because eventually Merb will be less supported and the other reason was I already know Rails and Merb was sometimes challenging because I did not know it.
Second Month, Write lots of code to port it form Merb over to Rails and Begin writing the API that will be consumed by Skatr. Also go shopping for a Web Host to host the Web App. I started to re-read books I had on Objective-C and Cocoa and bought a few books and screencasts on iPhone development and paid $99 to Apple to be part of the iPhone Developer program. Started writing code for Skatr.
Third Month, Write Ruby Code and Objective-C code for Skatr Web and Skatr iPhone, Also make a ton of google searches to learn how things are done in iPhone land.
Fourth Month, Complete writing Skatr for iPhone and the web API for Skatr.
It was actually a lot of work doing all this considering I was working at my full-time job and not just a 8 hour job but a few days with emergency releases working over 10 hours. Also to mention it takes me almost a little under 2 hours to commute from work to home because of traffic and then I would continue with my iPhone app till usually around 12:00 AM sometimes 1:00 AM and other days when literally my eyelids where already closed and realizing I’m sleeping and I need to go to bed. It was very tiring. Then wake up early for work and continue the same pattern for about 4 months.
Now that Skatr is completed. I’ve submitted it to Apple, hoping it does not get rejected. Let’s see what happens now. Then hopefully take a vacation?
So, I got this flash back and it reminded me of my first computer I’ve ever had and how I wanted one. I was 8 years old and as most kids do on weekend mornings watch cartoons, I somehow was watching a commercial for the Macintosh Performa and I guess it just made me think It would be cool to have one.
So I thought about those commercials perhaps I can find them online and so I did. Here there are in parts.
Part 1:
http://www.youtube.com/watch?v=jdqe5fu8A30
Part 2:
http://www.youtube.com/watch?v=bSqQCiSesy8
Part 3:
http://www.youtube.com/watch?v=SAgku3vFFHA
Part 4:
http://www.youtube.com/watch?v=rbe0IVtT3VQ
Part 5:
http://www.youtube.com/watch?v=xXv8Ysf9WCs
Part 6:
http://www.youtube.com/watch?v=SfD5Ut1WWOo
Lately, I’ve learned how to use GDB with XCode and it’s awesome! It really saves your lots of time debugging an app. I was having lots of trouble trying to figure out why an instance variable was not retaining it’s value in a new method.
Well, it happen to be I was using a UITableViewDelegate and those methods where being called before my setter method and so the instance variable was nil, the only way I found this out was by using GDB and believe me NSLog for debugging is not always going to work.
It’s been a few months now and I’ve been listening to the podcasts from Mac Developer Network (MDN). The podcasts I like to listen to are the Developer Lives because they provide an insight how they got started. They also have other podcasts which are all good like Mac Developer Roundtable and Late Night Cocoa. Take a listen to them. They are good.
Today, I wanted to make a screencast to serve more as a reminder to myself on remembering how to create the UINavigation inside a UITabBar for iPhone Development. So I got a little cheap and I decided to look for something online to bookmark but I found screencast-o-matic which is really cool. It let’s you create screencasts from your browser. It uses a java applet. So this is what I created.
An update for lastbridge.net, I’ve completed some work and some of the new thing you can do with it now is have multiple playlist files each one for a station.
Makes it much easier to switch stations by having them
in a seperate playlist files. I’ve also added password reminder.
That will send you a reminder of your password you initially picked when registering and I’ve removed the single playlist files because now they are separate.
This week I finally gave apple $99 so I can test some of these apps I’m experimenting with on my iPhone and see what I can come up with. I was having so much trouble getting it to run on my iPhone I was getting the following error:

So, to get this error to go away, wheather it’s the correct way to solve this problem, I’m not sure but it works and it allows you to test on your iPhone. Just do the following, Change from Debug to Release and that should be it.

Update:
So I fell into the same trouble I could not debug under the iPhone device the key answer for me this time was to go under the Build menu and click on Clean All Targets. After that just make sure you set your Bundle Identifier in the info.plist and lastly make sure it is code signing your build under Get Info the left panel Targets > AppName right click select Get info in Code Signing Identity.
As I wrote earlier, I was trying to release skatr.us on the first of january but unfortunately that is not going to happen. I just don’t have the strength to pull it off.. I’m going to push back the release date for Skatr for mid February, I think that is a good enough time, thats like 8 full-days to work on it plus whatever time I have after work. I’m sure I’ll get it done, it’s better than half-complete.
Happy New Year!
|
|
|
Recent Listened to TracksLoading...
|
Bad Behavior has blocked 654 access attempts in the last 7 days.