iPhone Tutorials

Directory Structure for iPhone Applications

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

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

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

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

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

SOLVED: tensorflow/contrib/lite/tools/mutable_op_resolver.h can not be found

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. thanks i understood
View Tutorial          By: raksha at 2012-11-04 16:44:19

2. This code rocks!! any one having any trouble shoul
View Tutorial          By: Ankur at 2010-01-22 06:37:10

3. I am getting a blank page. Closed the table tag an
View Tutorial          By: Harshal at 2013-02-19 14:56:35

4. i really hate do while loop statement, can u pls h
View Tutorial          By: mARjO at 2011-09-01 03:50:18

5. How to use it
View Tutorial          By: Ted at 2011-12-23 07:23:20

6. it's cool
View Tutorial          By: RInam Shah at 2011-06-20 02:48:20

7. we are java research students.
we are worki

View Tutorial          By: chetan at 2007-10-17 08:13:14

8. This website is great for the students who want to
View Tutorial          By: Parth Patalia at 2009-11-19 21:09:24

9. Good examples. However... I am testing for a Hex v
View Tutorial          By: Doug Whitehead at 2008-11-29 17:10:43

10. Hi... it would be good if someone could send the r
View Tutorial          By: deb at 2008-02-20 11:36:51