I would like create a plug and play component.(i.e)I like to create a small component/Framework which can be used in many iPhone apps.For example GPS location tracking ,Chat functionalities like that.Each and everyone should be separate component which can be integrated with any apps. 

Can anyone guide me with things to be done for achieve this.Any tutorials or links.

Thanks!!