iPhone Tutorials

Directory Structure for iPhone Applications

  • 2010-09-05
  • Comments
  • Jonathan Zdziarski
  • 1345

Apple came up with an elegant way to contain applications in their operating system. As OS X is a Unix-based platform, Apple wanted to make it adhere to basic Unix file conventions, and so the resource forks of olde were no longer sufficient (or efficient, for that matter). The challenge was to design a structure that would allow an application to remain self-contained while surviving on a file system that didn't believe in cheapening its architecture with proprietary workarounds. The answer came from an older ancestor of Mac OS X named NeXT, which treated an application as a bundle represented within a directory. The bundle concept introduces an approach to group application resources, binaries, and other related files.
Read More

Multitasking in iPhone 4 - iOS 4

  • 2010-08-26
  • Comments
  • Brad Lee
  • 1344

iOS 4 delivers seven new multitasking services that allow your apps to perform tasks in the background while preserving battery life and performance. These multitasking services include:
Read More

Making an HTTP Connection in iPhone Application

  • 2010-09-06
  • Comments
  • Jonathan Zdziarski
  • 1344

You can use the CFHTTP API to create an HTTP request. This allows you to easily invoke HTTP GET, HEAD, PUT, POST, and most other standard requests. Creating a request involves the three-step process of creating the request object, defining the HTTP request message and headers, and serializing the message into raw protocol. Only HTTP POST requests generally contain a message body, which can contain POST form data to send. All other requests use an empty body while embedding the request parameters into the headers.
Read More

Making an FTP Connection in iPhone Application

  • 2010-09-06
  • Comments
  • Jonathan Zdziarski
  • 1344

The CFFTP API is similar to the CFHTTP API, and relies on read streams to transmit FTP data. To create an FTP request, use the CFReadStreamCreateWithFTPURL function, as shown below. This will create the initial read stream to the FTP server:
Read More

Most Viewed Articles on iPhone

Latest Tutorials

Ask a Question

Subscribe to Tutorials

Related Tutorials

Making an HTTP Connection in iPhone Application

Making an FTP Connection in iPhone Application

Directory Structure for iPhone Applications

Multitasking in iPhone 4 - iOS 4

Archived Comments

1. Very good.
But is this (Accessor functions

View Tutorial          By: peter at 2011-07-20 13:13:44

2. To install 32 bit java Communication API you can f
View Tutorial          By: Shailendra at 2013-04-06 14:49:44

3. I have loaded allthe 5 java files.But how to imple
View Tutorial          By: Thennarasu at 2011-05-20 02:30:28

4. nice information, thanks dost.
View Tutorial          By: Bhargavi Menpara at 2013-02-12 08:11:23

5. Sir, this is very helpful for students and profess
View Tutorial          By: Pankaj Choudhary at 2010-10-19 00:24:36

6. Marvelous Explanation. The whole concept is clear
View Tutorial          By: Rohit at 2009-12-01 19:43:14

7. Dear any buddy i use Nokia N73 and connect with Bl
View Tutorial          By: zstranger at 2012-03-29 07:47:02

8. Hi, If any body was able to send the message suces
View Tutorial          By: kavin at 2011-03-14 06:24:18

9. Thank ... for idea But
i m confuse how run

View Tutorial          By: Tanaji at 2010-06-01 23:13:19

10. Good example thank you so much
View Tutorial          By: Albadri at 2011-05-14 15:48:17