The “Digg” of iPhone Apps - Checkout My New Site
It has been a while since my last tutorial. For that I am sorry. My wife is 9 months pregnant and about ready to pop. This being the case, she takes up most of my free time… I have spent a little of my extra time developing a new iphone apps site called freshapps.com.
The site uses Wordpress as its main engine and aims to be a “Digg-like” site for iphone apps. It offers a new fun way to discover the “freshest” iphone apps without having to get buried in the app store. I wrote a pretty slick homepage algorithm that aids in doing this.
Check it out and let me know what you think! I will be continuing with the iPhone programming tutorials after my baby is born. This should be mid December. I am sorry for the delay. I will still be on answering questions you guys might have and try to get back into the forums.
Thanks for being a part of iCodeBlog. Happy iCoding!
- Posted on 15 Nov 2008 in iPhone Articles
- Digg |
- Del.icio.us |
- Stumble |
- 7 Comments »
A Great iPhone Coding Resource
I’m sure many of you are aware that Stanford is offering an iPhone development class this semester. On my journeys through the interwebs, I discovered a link to the site where the lectures for this class were posted (via delicious).
So for those of you who already didn’t know this, here is a link to the lecture slides (with sample code).
http://www.stanford.edu/class/cs193p/cgi-bin/index.php
I hope you find the examples and instruction here very useful. Have a great day and happy iCoding!
- Posted on 5 Nov 2008 in iPhone Articles
- Digg |
- Del.icio.us |
- Stumble |
- 10 Comments »
iPhone Programming Tutorial - Intro to SOAP Web Services
This tutorial was contributed by Dave (AKA Clarke76) on the Forums.
WebSite: http://viium.com
-Main project on site is eDuo. A .Net app that connects to OWA Exchange and forwards to IMAP account. Free program for those who can’t use Active Sync
Important Links:
[WebService] http://viium.com/WebService/HelloWorld.asmx
http://developer.apple.com/documentation/Cocoa/Conceptual/XMLParsing/XMLParsing.html
http://www.w3schools.com/soap/default.asp
-After creating our XML data / SOAP request, we create a URLRequest. We add HTTP Header values, those values you read from the WebService.
-We set the HTTP Method to POST
-We set out HTTP Body to the xml file we created
-We then create our connection, using the request we just setup.
-Once the connection is setup and delegate is set to self, we need to setup out connection delegate methods.
-The first method just makes sure it can make a connection. If it can, we make sure we have no data in our Data set so we clear it.
-Second method is called when re receive any data. If we do receive data, we just append it to our data set.
-Third Method handles any errors and releases our data and connection if an error occurs.
-Fourth Method: We take the data and create a string for Logging reasons, then release the string.
-We check to make sure an instance of xmlParser does not exist, if it does we release it.
-Create a new instance of xmlParser, set the delegate to self, want to resolve external entities, and start our parsing.
-release our connection and Data
Now we need to our our delegate methods for NSXMLParser
First method we are check the start of elements. If our element equals “HelloResult” we set our BOOL to true. Second method records any data between an element if our BOOL is set to true. Third method checks for our closing element. Once found sets our greeting, releases our MutableString, and set our BOOL back to false.
If you have any questions or comments, please leave them in the comments of this post. You can download the sample code here.
- Posted on 3 Nov 2008 in iPhone Programming Tutorials
- Digg |
- Del.icio.us |
- Stumble |
- 11 Comments »








