Skip to content

Commit 41e0359

Browse files
Update Sample project
Fixed bugs
1 parent 6461e10 commit 41e0359

File tree

40 files changed

+257
-192
lines changed

40 files changed

+257
-192
lines changed

Sample-project/.DS_Store

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

Sample-project/iOSDevnagri_sample/iOSDevnagri_sample.xcodeproj/project.pbxproj

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
AC3BAE782935E10E0009B9B6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AC3BAE772935E10E0009B9B6 /* Assets.xcassets */; };
1616
AC3BAE7B2935E10E0009B9B6 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AC3BAE792935E10E0009B9B6 /* LaunchScreen.storyboard */; };
1717
AC3BAE93293607330009B9B6 /* response.json in Resources */ = {isa = PBXBuildFile; fileRef = AC3BAE92293607330009B9B6 /* response.json */; };
18-
AC4D686C294CBDCC00ACF5F8 /* DevnagriSdk.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC4D686A294CBDC300ACF5F8 /* DevnagriSdk.xcframework */; };
19-
AC4D686D294CBDCC00ACF5F8 /* DevnagriSdk.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = AC4D686A294CBDC300ACF5F8 /* DevnagriSdk.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
18+
AC505240295493930054171B /* DevnagriSdk.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC50523F295493930054171B /* DevnagriSdk.xcframework */; };
19+
ACE03DAD2954741700A94212 /* TranslationOfStringVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACE03DAC2954741700A94212 /* TranslationOfStringVC.swift */; };
2020
ACEFCCB529408027006D6C60 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = ACEFCCB729408027006D6C60 /* Localizable.strings */; };
2121
ACFC234C294C573B0078354E /* DataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACFC234B294C573B0078354E /* DataSource.swift */; };
2222
ACFC234F294C5A280078354E /* TableListCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACFC234D294C5A280078354E /* TableListCell.swift */; };
@@ -30,7 +30,6 @@
3030
dstPath = "";
3131
dstSubfolderSpec = 10;
3232
files = (
33-
AC4D686D294CBDCC00ACF5F8 /* DevnagriSdk.xcframework in Embed Frameworks */,
3433
);
3534
name = "Embed Frameworks";
3635
runOnlyForDeploymentPostprocessing = 0;
@@ -48,7 +47,8 @@
4847
AC3BAE7A2935E10E0009B9B6 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
4948
AC3BAE7C2935E10E0009B9B6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5049
AC3BAE92293607330009B9B6 /* response.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = response.json; sourceTree = "<group>"; };
51-
AC4D686A294CBDC300ACF5F8 /* DevnagriSdk.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = DevnagriSdk.xcframework; sourceTree = "<group>"; };
50+
AC50523F295493930054171B /* DevnagriSdk.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = DevnagriSdk.xcframework; sourceTree = "<group>"; };
51+
ACE03DAC2954741700A94212 /* TranslationOfStringVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TranslationOfStringVC.swift; sourceTree = "<group>"; };
5252
ACEFCCB629408027006D6C60 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
5353
ACFC234B294C573B0078354E /* DataSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataSource.swift; sourceTree = "<group>"; };
5454
ACFC234D294C5A280078354E /* TableListCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TableListCell.swift; sourceTree = "<group>"; };
@@ -60,7 +60,7 @@
6060
isa = PBXFrameworksBuildPhase;
6161
buildActionMask = 2147483647;
6262
files = (
63-
AC4D686C294CBDCC00ACF5F8 /* DevnagriSdk.xcframework in Frameworks */,
63+
AC505240295493930054171B /* DevnagriSdk.xcframework in Frameworks */,
6464
);
6565
runOnlyForDeploymentPostprocessing = 0;
6666
};
@@ -87,7 +87,7 @@
8787
AC3BAE6D2935E10D0009B9B6 /* iOSDevnagri_sample */ = {
8888
isa = PBXGroup;
8989
children = (
90-
AC4D686A294CBDC300ACF5F8 /* DevnagriSdk.xcframework */,
90+
AC50523F295493930054171B /* DevnagriSdk.xcframework */,
9191
AC3BAE6E2935E10D0009B9B6 /* AppDelegate.swift */,
9292
AC3BAE702935E10D0009B9B6 /* SceneDelegate.swift */,
9393
AC3BAE722935E10D0009B9B6 /* ViewController.swift */,
@@ -100,6 +100,7 @@
100100
AC3BAE792935E10E0009B9B6 /* LaunchScreen.storyboard */,
101101
AC3BAE7C2935E10E0009B9B6 /* Info.plist */,
102102
AC3BAE772935E10E0009B9B6 /* Assets.xcassets */,
103+
ACE03DAC2954741700A94212 /* TranslationOfStringVC.swift */,
103104
);
104105
path = iOSDevnagri_sample;
105106
sourceTree = "<group>";
@@ -201,6 +202,7 @@
201202
AC3BAE6F2935E10D0009B9B6 /* AppDelegate.swift in Sources */,
202203
ACFC234C294C573B0078354E /* DataSource.swift in Sources */,
203204
AC3BAE712935E10D0009B9B6 /* SceneDelegate.swift in Sources */,
205+
ACE03DAD2954741700A94212 /* TranslationOfStringVC.swift in Sources */,
204206
);
205207
runOnlyForDeploymentPostprocessing = 0;
206208
};

Sample-project/iOSDevnagri_sample/iOSDevnagri_sample.xcodeproj/xcuserdata/vikram.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,5 @@
2020
landmarkType = "7">
2121
</BreakpointContent>
2222
</BreakpointProxy>
23-
<BreakpointProxy
24-
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
25-
<BreakpointContent
26-
uuid = "8CAA5814-1ACE-4D5C-B768-D453AAB8F640"
27-
shouldBeEnabled = "Yes"
28-
ignoreCount = "0"
29-
continueAfterRunningActions = "No"
30-
filePath = "iOSDevnagri_sample/ViewController.swift"
31-
startingColumnNumber = "9223372036854775807"
32-
endingColumnNumber = "9223372036854775807"
33-
startingLineNumber = "42"
34-
endingLineNumber = "42"
35-
landmarkName = "btnReloadClicked(_:)"
36-
landmarkType = "7">
37-
</BreakpointContent>
38-
</BreakpointProxy>
3923
</Breakpoints>
4024
</Bucket>

Sample-project/iOSDevnagri_sample/iOSDevnagri_sample/Base.lproj/Main.storyboard

Lines changed: 48 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,29 +29,21 @@
2929
<rect key="frame" x="0.0" y="812" width="414" height="50"/>
3030
<subviews>
3131
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="WtO-1p-sqo">
32-
<rect key="frame" x="0.0" y="0.0" width="124.5" height="50"/>
32+
<rect key="frame" x="0.0" y="0.0" width="197" height="50"/>
3333
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
34-
<state key="normal" title="Run SDK Methods"/>
34+
<state key="normal" title="Test Translations"/>
3535
<connections>
3636
<action selector="btnSDKMethods:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Khu-OQ-gFw"/>
3737
</connections>
3838
</button>
3939
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Mlf-bg-A2N">
40-
<rect key="frame" x="144.5" y="0.0" width="125" height="50"/>
40+
<rect key="frame" x="217" y="0.0" width="197" height="50"/>
4141
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
4242
<state key="normal" title="Switch Language"/>
4343
<connections>
4444
<action selector="btnChangeLanguageClicked:" destination="BYZ-38-t0r" eventType="touchUpInside" id="XlO-Hg-gde"/>
4545
</connections>
4646
</button>
47-
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qDE-O7-xBD">
48-
<rect key="frame" x="289.5" y="0.0" width="124.5" height="50"/>
49-
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
50-
<state key="normal" title="Reload"/>
51-
<connections>
52-
<action selector="btnReloadClicked:" destination="BYZ-38-t0r" eventType="touchUpInside" id="aja-4z-Rsh"/>
53-
</connections>
54-
</button>
5547
</subviews>
5648
<constraints>
5749
<constraint firstAttribute="height" constant="50" id="je8-wA-wyi"/>
@@ -120,6 +112,51 @@
120112
</objects>
121113
<point key="canvasLocation" x="1736" y="82"/>
122114
</scene>
115+
<!--Translation Of StringVC-->
116+
<scene sceneID="5yC-oo-3DC">
117+
<objects>
118+
<viewController storyboardIdentifier="TranslationOfStringVC" id="EiI-hy-PnZ" customClass="TranslationOfStringVC" customModule="iOSDevnagri_sample" customModuleProvider="target" sceneMemberID="viewController">
119+
<view key="view" contentMode="scaleToFill" id="DCP-2x-5mF">
120+
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
121+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
122+
<subviews>
123+
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="S1i-eh-uC7">
124+
<rect key="frame" x="0.0" y="44" width="414" height="818"/>
125+
<subviews>
126+
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="L0W-fo-CcA">
127+
<rect key="frame" x="0.0" y="0.0" width="414" height="818"/>
128+
<color key="backgroundColor" systemColor="opaqueSeparatorColor"/>
129+
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
130+
<fontDescription key="fontDescription" type="system" pointSize="20"/>
131+
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
132+
</textView>
133+
</subviews>
134+
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
135+
<constraints>
136+
<constraint firstItem="L0W-fo-CcA" firstAttribute="top" secondItem="S1i-eh-uC7" secondAttribute="top" id="7tv-Z6-Ru8"/>
137+
<constraint firstAttribute="bottom" secondItem="L0W-fo-CcA" secondAttribute="bottom" id="JCX-6b-1ow"/>
138+
<constraint firstItem="L0W-fo-CcA" firstAttribute="leading" secondItem="S1i-eh-uC7" secondAttribute="leading" id="Ur0-Ll-DXI"/>
139+
<constraint firstAttribute="trailing" secondItem="L0W-fo-CcA" secondAttribute="trailing" id="qrX-mf-VJE"/>
140+
</constraints>
141+
</view>
142+
</subviews>
143+
<viewLayoutGuide key="safeArea" id="xvy-oN-DOm"/>
144+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
145+
<constraints>
146+
<constraint firstItem="S1i-eh-uC7" firstAttribute="top" secondItem="xvy-oN-DOm" secondAttribute="top" id="RVL-43-3KQ"/>
147+
<constraint firstItem="xvy-oN-DOm" firstAttribute="bottom" secondItem="S1i-eh-uC7" secondAttribute="bottom" id="o6D-lc-2Mp"/>
148+
<constraint firstItem="S1i-eh-uC7" firstAttribute="leading" secondItem="xvy-oN-DOm" secondAttribute="leading" id="p2G-Qd-X33"/>
149+
<constraint firstItem="xvy-oN-DOm" firstAttribute="trailing" secondItem="S1i-eh-uC7" secondAttribute="trailing" id="sYG-rl-d6j"/>
150+
</constraints>
151+
</view>
152+
<connections>
153+
<outlet property="txtViewTranslated" destination="L0W-fo-CcA" id="6Ug-2L-wrt"/>
154+
</connections>
155+
</viewController>
156+
<placeholder placeholderIdentifier="IBFirstResponder" id="0oO-9S-w4v" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
157+
</objects>
158+
<point key="canvasLocation" x="2513" y="82"/>
159+
</scene>
123160
<!--Navigation Controller-->
124161
<scene sceneID="a3d-zl-vRK">
125162
<objects>

0 commit comments

Comments
 (0)