{"repo":"iziz/libPhoneNumber-iOS","free":true,"listed":false,"github":"https://github.com/iziz/libPhoneNumber-iOS","clone":"git clone https://github.com/iziz/libPhoneNumber-iOS.git","description":"iOS port of Google's libphonenumber with Objective-C core, Swift facade, SwiftUI input, and CocoaPods/SPM support","language":"Objective-C","stars":2384,"topics":["libphonenumber","cocoapods","objective-c","ios","metadata","phone-number","phone-number-formatting","phone-number-validation","spm","swift"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"libPhoneNumber for iOS Apple-platform port of Google's libphonenumber metadata and behavior, with a stable Objective-C core and Swift-first facades for modern Swift apps. Use the Objective-C API when you need source-compatible legacy integration. Use the Swift facade modules when you want value-oriented parsing, formatting, validation, geocoding, short-number support, or a SwiftUI phone input. Why This Library - Objective-C core remains the source of truth for parsing, formatting, validation, geocoding, and short-number behavior. - Swift facade modules provide smaller, task-focused imports for new Swift code. - SwiftUI phone input is available as an opt-in module instead of being bundled into the core parser. - Swift Package Manager and CocoaPods are both supported. - Metadata updates are tracked against Google libphonenumber with parity checks and review artifacts. Recommended Setup For most Swift apps, start with the core Swift facade: Add optional modules only when needed: Use the umbrella product when you want one non-UI import for core, geocoding, and short-number facades: For CocoaPods Swift apps: For the CocoaPods umbrella facade: Then import the umbrella module as: Products Product Package manager Use when --- --- --- libPhoneNumberSwiftCore SPM, CocoaPods You need Swift parsing, formatting, validation, and as-you-type formatting. libPhoneNumberSwiftGeocoding SPM, CocoaPods You need Swift offline geocoding on top of the core facade. libPhoneNumberSwiftShortNumber SPM,","default_branch":null,"files":null,"tree":[],"storefront":"/r/iziz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/iziz/libPhoneNumber-iOS/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}