Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ DerivedData

# CocoaPods
Pods
Podfile.lock
ObjectiveC.gcda

*.gcno
Expand Down
21 changes: 9 additions & 12 deletions libPhoneNumber-Demo/Podfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
platform :ios, '13.5'

project 'libPhoneNumber-Demo'

target 'libPhoneNumber-Demo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

# Pods for libPhoneNumber-Demo
pod 'libPhoneNumber-iOS', :git => 'https://github.com/iziz/libPhoneNumber-iOS'
pod 'libPhoneNumberGeocoding', :git => 'https://github.com/iziz/libPhoneNumber-iOS'
pod 'libPhoneNumberShortNumber', :git => 'https://github.com/iziz/libPhoneNumber-iOS'
target 'libPhoneNumber-DemoTests' do
inherit! :search_paths
# Pods for testing
end

target 'libPhoneNumber-DemoUITests' do
# Pods for testing
end
#pod 'libPhoneNumber-iOS', :git => 'https://github.com/iziz/libPhoneNumber-iOS'
#pod 'libPhoneNumberGeocoding', :git => 'https://github.com/iziz/libPhoneNumber-iOS'
#pod 'libPhoneNumberShortNumber', :git => 'https://github.com/iziz/libPhoneNumber-iOS'
pod 'libPhoneNumber-iOS', :path => '../'
pod 'libPhoneNumberGeocoding', :path => '../'
pod 'libPhoneNumberShortNumber', :path => '../'

end
14 changes: 9 additions & 5 deletions libPhoneNumber-Demo/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# **libPhoneNumber-iOS Demo App**

This iOS application project provides demonstrations on how to implement key features of libPhoneNumber-iOS,
libPhoneNumberShortNumber, and libPhoneNumberGeocoding. This application uses Cocoapods to download
the open-source projects associated with libPhoneNumber-iOS and was made using SwiftUI. This demo application
was built using Xcode Version 11.5 (and Swift Version 5.2.4).
libPhoneNumberShortNumber, and libPhoneNumberGeocoding.

## Usage
The default project - libPhoneNumber-Demo uses Cocoapods to download the open-source projects associated with libPhoneNumber-iOS.

The SPM project - libPhoneNumber-Demo-SPM uses Swift Package Manager to pull in the open-source projects associated with libPhoneNumber-iOS.

Both projects rely on the same source code and were made using SwiftUI.

## Usage (Cocoapods)

Before running the application, you must install the Cocoapods that are defined in `Podfile`.

Expand All @@ -15,7 +19,7 @@ Before running the application, you must install the Cocoapods that are defined
pod install
```

## Run the project on libPhoneNumber-Demo.xcworkspace
### Run the project on libPhoneNumber-Demo.xcworkspace

1) Open the project using the Xcode Workspace file to access the complete project with its integrated Cocoapods.
2) Build the libPhoneNumber-Demo and press Run.
459 changes: 459 additions & 0 deletions libPhoneNumber-Demo/libPhoneNumber-Demo-SPM.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1640"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "94AEB61824C21FAD00204E11"
BuildableName = "libPhoneNumber-Demo.app"
BlueprintName = "libPhoneNumber-Demo"
ReferencedContainer = "container:libPhoneNumber-Demo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "94AEB62E24C21FAE00204E11"
BuildableName = "libPhoneNumber-DemoTests.xctest"
BlueprintName = "libPhoneNumber-DemoTests"
ReferencedContainer = "container:libPhoneNumber-Demo.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "94AEB63924C21FAE00204E11"
BuildableName = "libPhoneNumber-DemoUITests.xctest"
BlueprintName = "libPhoneNumber-DemoUITests"
ReferencedContainer = "container:libPhoneNumber-Demo.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "94AEB61824C21FAD00204E11"
BuildableName = "libPhoneNumber-Demo.app"
BlueprintName = "libPhoneNumber-Demo"
ReferencedContainer = "container:libPhoneNumber-Demo-SPM.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "94AEB61824C21FAD00204E11"
BuildableName = "libPhoneNumber-Demo.app"
BlueprintName = "libPhoneNumber-Demo"
ReferencedContainer = "container:libPhoneNumber-Demo.xcodeproj">
</BuildableReference>
</MacroExpansion>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "94AEB61824C21FAD00204E11"
BuildableName = "libPhoneNumber-Demo.app"
BlueprintName = "libPhoneNumber-Demo"
ReferencedContainer = "container:libPhoneNumber-Demo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "94AEB61824C21FAD00204E11"
BuildableName = "libPhoneNumber-Demo.app"
BlueprintName = "libPhoneNumber-Demo"
ReferencedContainer = "container:libPhoneNumber-Demo.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading