iPhone Tutorials

Directory Structure for iPhone Applications

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

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
  • 974

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
  • 975

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
  • 974

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

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. Hi
I can compile it
root$ javac -cp

View Tutorial          By: Tebogo Modiselle at 2014-10-31 08:47:09

2. in this matter i get also this exception :

View Tutorial          By: oded at 2008-09-28 05:41:35

3. I am getting following error, I am using samsung m
View Tutorial          By: Ashok at 2013-08-17 05:29:02

4. Hay can you send me complete code to make connecti
View Tutorial          By: 9COOL at 2010-02-22 08:10:47

5. Hi you will run this program just as you run any o
View Tutorial          By: Steven at 2008-10-14 09:03:28

6. Hi, i am new java, and i want to become gud develo
View Tutorial          By: reuben at 2012-12-20 14:27:08

7. Thanks, much appreciated!
Saved a great dea

View Tutorial          By: alan at 2009-08-14 01:35:01

8. its good
View Tutorial          By: Srinu at 2011-05-26 23:57:18

9. Having this error while using comm.jsr for sending
View Tutorial          By: Amit Kumar at 2013-10-15 09:04:58

10. Please help me send sms. I did everything , But no
View Tutorial          By: Prabhash V S at 2009-06-03 06:40:55