Skip to content

Bugfix/callback end editing #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 31 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4f95cef
Update INSTALL.md
MojtabaHs Aug 8, 2022
317bde4
Update LICENSE
MojtabaHs Aug 8, 2022
d72eee1
Set updated defaultRegion on updateUIView
rusik Oct 14, 2022
5298972
fix: “undefined behavior” workaround
MojtabaHs Oct 17, 2022
1a8e24c
Fixed iOS 16 attribute cycle error
iakov-kaiumov Jan 23, 2023
20473ee
Fixed pbxproj file
iakov-kaiumov Jan 23, 2023
72483ff
Update README and Pricing (Free)
MojtabaHs Jun 10, 2023
20e8521
Update README styling
MojtabaHs Jun 10, 2023
db3fc70
Update README.md
MojtabaHs Jun 10, 2023
8c7fdf8
Update README and Pricing (Free)
MojtabaHs Jun 10, 2023
a914e5b
remove GNU license
MojtabaHs Jun 10, 2023
568ab55
Merge branch 'main' of https://github.com/MojtabaHs/iPhoneNumberField
MojtabaHs Jun 10, 2023
5e39c39
Add MIT LICENSE
MojtabaHs Jun 10, 2023
b11b11f
Update README.md
MojtabaHs Jun 12, 2023
ceda1b3
Update README.md
MojtabaHs Jun 12, 2023
7e51b70
fix: spell of community in the readme file
MojtabaHs Jun 12, 2023
d905a91
ci: add auto close stale issues action for github
MojtabaHs Jun 17, 2023
bd16acf
Merge branch 'main' of https://github.com/MojtabaHs/iPhoneNumberField
MojtabaHs Jun 17, 2023
18557cb
Merge pull request #76 from iakov-kaiumov/main
MojtabaHs Sep 7, 2023
7439fb0
Update README.md
MojtabaHs Nov 9, 2023
d5c96a9
Merge pull request #65 from rusik/main
MojtabaHs Nov 29, 2023
65aeee5
style: rename the demo project to be easier to find
MojtabaHs May 13, 2024
cdcf477
feat: enhance the demo iOS coverage to minimum 14.0
MojtabaHs May 13, 2024
76f3fa4
feat: enhance demo initial appearance
MojtabaHs May 13, 2024
26905a5
feat: make sure all ui updates happen on the main queue to prevent an…
MojtabaHs May 20, 2024
611793c
feat: make sure editing callbacks happen on the main queue
justinmann Oct 16, 2022
f6579ae
feat: guard the weak self
MojtabaHs May 20, 2024
081c1bd
feat: make sure all delegate methods happen on the main thread
MojtabaHs May 20, 2024
cd96162
feat: apply the customization in the factory
MojtabaHs May 29, 2024
101b51c
Update README.md
MojtabaHs Aug 5, 2024
7245bc5
Use correct callback
DamienMartin Oct 8, 2024
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
22 changes: 22 additions & 0 deletions .github/workflows/close-stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Close inactive issues
on:
schedule:
- cron: "30 1 * * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 30
days-before-issue-close: 14
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ struct ContentView: View {
$0.numberPlaceholderColor = .label
}
.padding()
.background(
RoundedRectangle(cornerRadius: 15)
.fill(Color(.secondarySystemGroupedBackground))
)
.padding()
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
2AA44DC328A11687001BF8F0 /* MultiplatformDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MultiplatformDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
2AA44DC328A11687001BF8F0 /* iPhoneNumberFieldDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iPhoneNumberFieldDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
2AA44DC628A11687001BF8F0 /* MultiplatformDemoApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MultiplatformDemoApp.swift; sourceTree = "<group>"; };
2AA44DC828A11687001BF8F0 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
2AA44DCA28A11688001BF8F0 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
Expand Down Expand Up @@ -49,7 +49,7 @@
2AA44DC428A11687001BF8F0 /* Products */ = {
isa = PBXGroup;
children = (
2AA44DC328A11687001BF8F0 /* MultiplatformDemo.app */,
2AA44DC328A11687001BF8F0 /* iPhoneNumberFieldDemo.app */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -92,9 +92,9 @@
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
2AA44DC228A11687001BF8F0 /* MultiplatformDemo */ = {
2AA44DC228A11687001BF8F0 /* iPhoneNumberFieldDemo */ = {
isa = PBXNativeTarget;
buildConfigurationList = 2AA44DD228A11688001BF8F0 /* Build configuration list for PBXNativeTarget "MultiplatformDemo" */;
buildConfigurationList = 2AA44DD228A11688001BF8F0 /* Build configuration list for PBXNativeTarget "iPhoneNumberFieldDemo" */;
buildPhases = (
2AA44DBF28A11687001BF8F0 /* Sources */,
2AA44DC028A11687001BF8F0 /* Frameworks */,
Expand All @@ -104,12 +104,12 @@
);
dependencies = (
);
name = MultiplatformDemo;
name = iPhoneNumberFieldDemo;
packageProductDependencies = (
2AA44DD828A116D8001BF8F0 /* iPhoneNumberField */,
);
productName = MultiplatformDemo;
productReference = 2AA44DC328A11687001BF8F0 /* MultiplatformDemo.app */;
productReference = 2AA44DC328A11687001BF8F0 /* iPhoneNumberFieldDemo.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
Expand All @@ -127,7 +127,7 @@
};
};
};
buildConfigurationList = 2AA44DBE28A11687001BF8F0 /* Build configuration list for PBXProject "MultiplatformDemo" */;
buildConfigurationList = 2AA44DBE28A11687001BF8F0 /* Build configuration list for PBXProject "iPhoneNumberFieldDemo" */;
compatibilityVersion = "Xcode 14.0";
developmentRegion = en;
hasScannedForEncodings = 0;
Expand All @@ -140,7 +140,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
2AA44DC228A11687001BF8F0 /* MultiplatformDemo */,
2AA44DC228A11687001BF8F0 /* iPhoneNumberFieldDemo */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -300,12 +300,12 @@
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
IPHONEOS_DEPLOYMENT_TARGET = 14;
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 12.5;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.example.iphonetextfield.MultiplatformDemo;
PRODUCT_BUNDLE_IDENTIFIER = com.example.iphonetextfield.demo;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = auto;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
Expand Down Expand Up @@ -336,12 +336,12 @@
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
IPHONEOS_DEPLOYMENT_TARGET = 14;
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 12.5;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.example.iphonetextfield.MultiplatformDemo;
PRODUCT_BUNDLE_IDENTIFIER = com.example.iphonetextfield.demo;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = auto;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
Expand All @@ -354,7 +354,7 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
2AA44DBE28A11687001BF8F0 /* Build configuration list for PBXProject "MultiplatformDemo" */ = {
2AA44DBE28A11687001BF8F0 /* Build configuration list for PBXProject "iPhoneNumberFieldDemo" */ = {
isa = XCConfigurationList;
buildConfigurations = (
2AA44DD028A11688001BF8F0 /* Debug */,
Expand All @@ -363,7 +363,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
2AA44DD228A11688001BF8F0 /* Build configuration list for PBXNativeTarget "MultiplatformDemo" */ = {
2AA44DD228A11688001BF8F0 /* Build configuration list for PBXNativeTarget "iPhoneNumberFieldDemo" */ = {
isa = XCConfigurationList;
buildConfigurations = (
2AA44DD328A11688001BF8F0 /* Debug */,
Expand Down
12 changes: 6 additions & 6 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[*<<< Back to README*](https://github.com/MojtabaHs/iPhoneNumberField)


# Instructions
### Instructions using xcode

## **(1/4)** Open XCode. Go to [File > Swift Packges > Add Package Dependency...]
#### **(1/4)** Open XCode. Go to [File > Swift Packges > Add Package Dependency...]
![](Install/instructions-1.png)

## (2/4) Input https://github.com/MojtabaHs/iPhoneNumberField.git & click Next.
#### (2/4) Input https://github.com/MojtabaHs/iPhoneNumberField & click Next.
![](Install/instructions-2-iPhoneNumberField.png)

## (3/4) Select Version: Up to Next Major & click finish.
#### (3/4) Select Version: Up to Next Major & click finish.
![](Install/instructions-3-iPhoneNumberField.png)

## (4/4) Click Finish.
#### (4/4) Click Finish.


[*<<< Back to README*](https://github.com/MojtabaHs/iPhoneNumberField)
[*<<< Back to README*](https://github.com/MojtabaHs/iPhoneNumberField)
Loading