Latest 1.0
Homepage https://github.com/damienpontifex/DMAddressFormatter
License Apache License, Version 2.0
Platforms ios , requires ARC
Frameworks AddressBookUI
Authors

Build Status

NSFormatter instance to produce formatted versions of street addresses.

Usage

#import "DMAddressFormatter.h"

NSString *formattedAddress = [[DMAddressFormatter standardFormatter] stringFromAddressWithStreet:@"1 Test St"
                                                                                        locality:@"My Suburb" 
                                                                                          region:nil
                                                                                      postalCode:@"6000"
                                                                                         country:nil];

Produces the output

1 Test St
My Suburb 6000

License

DMAddressFormatter is available under the Apache License, Version 2.0. See the LICENSE file for more info.

Latest podspec

{
    "name": "DMAddressFormatter",
    "version": "1.0",
    "summary": "NSFormatter instance to produce formatter versions of street addresses",
    "homepage": "https://github.com/damienpontifex/DMAddressFormatter",
    "license": {
        "type": "Apache License, Version 2.0",
        "file": "LICENSE"
    },
    "authors": {
        "Damien Pontifex": "[email protected]"
    },
    "social_media_url": "https://twitter.com/DamienPontifex",
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/damienpontifex/DMAddressFormatter.git",
        "tag": "1.0"
    },
    "source_files": "*.{h,m}",
    "frameworks": "AddressBookUI",
    "requires_arc": true
}

Pin It on Pinterest

Share This