Latest 0.1.0
Homepage https://github.com/elio-developer/MDInfo
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

pod "MDInfo"

Usage

Days With Current Locale

This variables will return the information of the day for the current locale of the device

import MDInfo

Days.sunday.initial
Days.sunday.name
Days.sunday.shortName

Days With Specified Locale

This functions will return the information of the day for the specified locale.

import MDInfo

let locale = Locale(identifier: "es")
Days.sunday.initial(locale)
Days.sunday.name(locale)
Days.sunday.shortName(locale)

Months With Current Locale

This variables will return the information of the day for the current locale of the device

import MDInfo

Months.january.initial
Months.january.name
Months.january.shortName

Months With Specified Locale

This functions will return the information of the day for the specified locale.

import MDInfo

let locale = Locale(identifier: "es")
Months.january.initial(locale)
Months.january.name(locale)
Months.january.shortName(locale)

Author

Eliezer Ferrá, [email protected]

License

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

Latest podspec

{
    "name": "MDInfo",
    "version": "0.1.0",
    "summary": "Deal with the localized name, short name and initials of days and months easily.",
    "homepage": "https://github.com/elio-developer/MDInfo",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Eliezer Ferru00e1": "[email protected]"
    },
    "source": {
        "git": "https://github.com/elio-developer/MDInfo.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "MDInfo/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This