CFNetwork Serves up Iphone Developers Object-Oriented Abstractions for Utilizing Network Protocols

Author: JustinMcAllister | Posted: 02.02.2012

Let us look at two more significant layers utilized in iPhone application development. Core Services layer is made up of fundamental system services that iPhone application developers need to use for the apps. Even though, these services are not utilized directly via the iPhone developers, these types of services form a major part in nearly each technology while in the system. The layer also has major frameworks for example Core Foundation framework, CFNetwork framework, Security framework and so forth.

Both Foundation framework and the Core Foundation framework will be attached with the other. It is contains C-based interfaces that come with basic data management and service features pertaining to iPhone applications. The Foundation framework too possesses Objective-C interfaces for the similar basic functions. You will discover a characteristic recognized as toll-free bridging that connects these frameworks. Expert iPhone developers in India can take help from this feature if they would like to use the two Foundation and Core Foundation objects during iPhone apps development in India. By using this specific function, developers are able to use the types of both these frameworks interchangeably. Several data types such as the collection and string data types avail this sort of assistance. The framework has class and type descriptions that will describe if an object is bridged using toll-free bridging and when it is bridged, with which object this is carried out.

One more framework with Core Services layer is CFNetwork and that is a set of high-performance, C-based interfaces that offer object-oriented abstractions for working with network protocols. These kinds of abstractions give iPhone apps developers comprehensive command over the protocol stack and also make it easy to utilize lower-level constructs like BSD sockets. This framework can be used to streamline tasks just like communicating with FTP and HTTP servers or resolving DNS hosts.

You can find built-in security attributes with iPhone. The device's iOS likewise has Security framework in which iPhone app developer can protect the information managed via application. This specific framework can be used to deal with certificates, public and private keys along with trust policies. A generation of cryptographically secure pseudo random numbers is likewise supported by it. The storage of certificates and cryptographic keys within the key chain are, in addition supported by this specific framework. The key chain comprises sensitive consumer information. The CommonCrypto interfaces offer further support meant for symmetric encryption, HMAC, and also Digests. Digests attribute can provide features that happens to be primarily compatible with the functionality generally observed in the Open SSL library, which isn't included in iPhone Operating system.

The Foundation framework has the NSXMLParser class needed for retrieving elements from an XML document. The libXML2 libraries gives added support for manipulating XML content. iPhone application developers can leverage this kind of open source library to parse as well as create arbitrary XML data more quickly as well as convert XML content to HTML.

The fourth layer -- Core OS layer - is referred to as deepest layer of an iOS. It contains kernel environment, drivers, and also basic interfaces within the operating-system. According to Mach, kernel affects every factor of the os. All the characteristics such as virtual memory system, threads, file system, network, and also inter process communication are handled via the kernel. The drivers with this layer in addition provide addition have interface between the available hardware and system frameworks. Nevertheless, due to safety measures, just a limited set of system frameworks along with applications can access kernel as well as drivers. These interfaces are used to access numerous low-level attributes of the operating-system. It's in the LibSystem library why these features could very well be accessed.


About Author:
Justin McAllister serves as a sales head of the application development enterprise. he has assisted various noteworthy iPhone apps development projects and creates often about the subject in various journals.

Article was printed from http://www.articleside.com/software-articles/cfnetwork-serves-up-iphone-developers-object-oriented-abstractions-for-utilizing-network-protocols.htm
Click here to return original format