CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

DDCarrier 1.0.4

DDCarrier 1.0.4

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2017

Maintained by Pauli Jokela.



DDCarrier 1.0.4

  • By
  • Pauli 'Dids' Jokela

DDCarrier is a simple, universal Objective-C iOS library for quickly getting the current carrier name.

DDCarrier is part of the DD-projects (check them out, they're cool!):

  • DDDevice - Combines all DD-project in to one neat library (Coming Soon)
  • DDVersion - Easily get the device name and type
  • DDCarrier - Easily get the current carrier name
  • DDSize - Easily find out the device resolution (Coming Soon)
  • DDNavText - Additional text for UINavigationBar title

More DD-projects are under development and will be added once completed.

Usage

	// Get the device type as a string (eg. "Verizon" or "N/A" when not found)
    [DDCarrier carrierName];

Demo

To run the example project, simply open up DDCarrierDemo.xcodeproj and hit Build & Run.

Requirements

Manual Installation

Simply copy DDCarrier.h and DDCarrier.m to your project, add CoreTelephony to your project and import DDCarrier.h like so:

	#import "DDCarrier.h"

Using the CocoaPod installation method is recommended over the manual installation, as this way your copy of DDCarrier is always up to date.

Author

Pauli 'Dids' Jokela, [email protected] and Didstopia, http://didstopia.com

License

DDCarrier is available under the MIT license. See the LICENSE file for more info.