Coder Social home page Coder Social logo

ddcarrier's Introduction

DDCarrier Build Status

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

Installation using CocoaPods (RECOMMENDED)

DDCarrier is available through CocoaPods. To install it, simply add the following line to your Podfile:

    pod "DDCarrier"

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.

ddcarrier's People

Contributors

dids avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

shantisr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.