Skip to content

Commit

Permalink
bug fixed and add persian dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Shelock authored and Shelock committed Nov 14, 2018
1 parent 93e3591 commit 9308278
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 28 deletions.
12 changes: 8 additions & 4 deletions Example/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
objects = {

/* Begin PBXBuildFile section */
16CACE08219C4714008BEC92 /* PersianDatePicker.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 16CACE07219C4714008BEC92 /* PersianDatePicker.framework */; };
16CACE09219C4714008BEC92 /* PersianDatePicker.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 16CACE07219C4714008BEC92 /* PersianDatePicker.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
C458114B1FC433CD005A8248 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C458114A1FC433CD005A8248 /* AppDelegate.swift */; };
C458114D1FC433CD005A8248 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C458114C1FC433CD005A8248 /* ViewController.swift */; };
C45811501FC433CD005A8248 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C458114E1FC433CD005A8248 /* Main.storyboard */; };
C45811521FC433CD005A8248 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C45811511FC433CD005A8248 /* Assets.xcassets */; };
C45811551FC433CD005A8248 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C45811531FC433CD005A8248 /* LaunchScreen.storyboard */; };
C45811601FC433CD005A8248 /* ExampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C458115F1FC433CD005A8248 /* ExampleUITests.swift */; };
C45811711FC43510005A8248 /* PersianDatePicker.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C458116C1FC434AC005A8248 /* PersianDatePicker.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -27,20 +28,21 @@
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
C45811701FC434FF005A8248 /* Embed Frameworks */ = {
16CACE0A219C4714008BEC92 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
C45811711FC43510005A8248 /* PersianDatePicker.framework in Embed Frameworks */,
16CACE09219C4714008BEC92 /* PersianDatePicker.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
16CACE07219C4714008BEC92 /* PersianDatePicker.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = PersianDatePicker.framework; sourceTree = BUILT_PRODUCTS_DIR; };
C45811471FC433CD005A8248 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
C458114A1FC433CD005A8248 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
C458114C1FC433CD005A8248 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
Expand All @@ -59,6 +61,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
16CACE08219C4714008BEC92 /* PersianDatePicker.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -75,6 +78,7 @@
C458113E1FC433CD005A8248 = {
isa = PBXGroup;
children = (
16CACE07219C4714008BEC92 /* PersianDatePicker.framework */,
C45811491FC433CD005A8248 /* Example */,
C458115E1FC433CD005A8248 /* ExampleUITests */,
C45811481FC433CD005A8248 /* Products */,
Expand Down Expand Up @@ -131,7 +135,7 @@
C45811431FC433CD005A8248 /* Sources */,
C45811441FC433CD005A8248 /* Frameworks */,
C45811451FC433CD005A8248 /* Resources */,
C45811701FC434FF005A8248 /* Embed Frameworks */,
16CACE0A219C4714008BEC92 /* Embed Frameworks */,
);
buildRules = (
);
Expand Down
2 changes: 2 additions & 0 deletions PersianDatePicker.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ Pod::Spec.new do |s|

s.ios.deployment_target = '9.0'
s.source_files = 'PersianDatePicker/*'
s.exclude_files = "PersianDatePicker/**/*.plist"
s.swift_version = '4.2'

end
6 changes: 4 additions & 2 deletions PersianDatePicker.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
167D2E84216A354500A59D69 /* CustomView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomView.swift; sourceTree = "<group>"; };
167D2E85216A354500A59D69 /* ShadowView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ShadowView.swift; sourceTree = "<group>"; };
167D2E88216A358F00A59D69 /* Shadowable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Shadowable.swift; sourceTree = "<group>"; };
16CACE0B219C47BD008BEC92 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
C47308E41EC05934004E9191 /* PersianDatePicker.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PersianDatePicker.framework; sourceTree = BUILT_PRODUCTS_DIR; };
C47308E71EC05934004E9191 /* PersianDatePicker.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PersianDatePicker.h; sourceTree = "<group>"; };
C47308ED1EC05934004E9191 /* PersianDatePickerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PersianDatePickerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
C47308F21EC05934004E9191 /* PersianDatePickerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PersianDatePickerTests.swift; sourceTree = "<group>"; };
C47308F41EC05934004E9191 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
C47308FF1EC05953004E9191 /* PersianDateDataSource.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersianDateDataSource.swift; sourceTree = "<group>"; };
C47309011EC05953004E9191 /* PersianDatePickerView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersianDatePickerView.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -94,6 +94,7 @@
167D2E88216A358F00A59D69 /* Shadowable.swift */,
16524A522169DA5E00C1DD16 /* PersianPickerView.swift */,
167D2E84216A354500A59D69 /* CustomView.swift */,
16CACE0B219C47BD008BEC92 /* Info.plist */,
167D2E85216A354500A59D69 /* ShadowView.swift */,
);
path = PersianDatePicker;
Expand All @@ -103,7 +104,6 @@
isa = PBXGroup;
children = (
C47308F21EC05934004E9191 /* PersianDatePickerTests.swift */,
C47308F41EC05934004E9191 /* Info.plist */,
);
path = PersianDatePickerTests;
sourceTree = "<group>";
Expand Down Expand Up @@ -298,6 +298,7 @@
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
Expand Down Expand Up @@ -344,6 +345,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
Expand Down
Binary file not shown.
24 changes: 24 additions & 0 deletions PersianDatePicker/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?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>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
22 changes: 0 additions & 22 deletions PersianDatePickerTests/Info.plist

This file was deleted.

0 comments on commit 9308278

Please sign in to comment.