Skip to content

Commit 73c86d5

Browse files
dattdatt
authored andcommitted
Swift 4.2
1 parent be35e08 commit 73c86d5

67 files changed

Lines changed: 1004 additions & 10 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

TagNameDetection/TagNameDetection.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@
289289
PRODUCT_BUNDLE_IDENTIFIER = com.Datt.TagNameDetection;
290290
PRODUCT_NAME = "$(TARGET_NAME)";
291291
PROVISIONING_PROFILE_SPECIFIER = "";
292-
SWIFT_VERSION = 4.0;
292+
SWIFT_VERSION = 4.2;
293293
TARGETED_DEVICE_FAMILY = "1,2";
294294
};
295295
name = Debug;
@@ -305,7 +305,7 @@
305305
PRODUCT_BUNDLE_IDENTIFIER = com.Datt.TagNameDetection;
306306
PRODUCT_NAME = "$(TARGET_NAME)";
307307
PROVISIONING_PROFILE_SPECIFIER = "";
308-
SWIFT_VERSION = 4.0;
308+
SWIFT_VERSION = 4.2;
309309
TARGETED_DEVICE_FAMILY = "1,2";
310310
};
311311
name = Release;

TagNameDetection/TagNameDetection.xcodeproj/xcuserdata/datt.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
ignoreCount = "0"
5353
continueAfterRunningActions = "No"
5454
filePath = "TagNameDetection/DPTagTextView.swift"
55-
timestampString = "566802747.229502"
55+
timestampString = "580899963.175871"
5656
startingColumnNumber = "9223372036854775807"
5757
endingColumnNumber = "9223372036854775807"
5858
startingLineNumber = "122"
@@ -68,7 +68,7 @@
6868
ignoreCount = "0"
6969
continueAfterRunningActions = "No"
7070
filePath = "TagNameDetection/DPTagTextView.swift"
71-
timestampString = "566802747.229833"
71+
timestampString = "580899963.176232"
7272
startingColumnNumber = "9223372036854775807"
7373
endingColumnNumber = "9223372036854775807"
7474
startingLineNumber = "208"
@@ -84,12 +84,12 @@
8484
ignoreCount = "0"
8585
continueAfterRunningActions = "No"
8686
filePath = "TagNameDetection/DPTagTextView.swift"
87-
timestampString = "566802747.230037"
87+
timestampString = "580899963.1764539"
8888
startingColumnNumber = "9223372036854775807"
8989
endingColumnNumber = "9223372036854775807"
9090
startingLineNumber = "327"
9191
endingLineNumber = "327"
92-
landmarkName = "textView(_:shouldChangeTextIn:replacementText:)"
92+
landmarkName = "tapOnTextView(_:)"
9393
landmarkType = "7">
9494
</BreakpointContent>
9595
</BreakpointProxy>
@@ -100,7 +100,7 @@
100100
ignoreCount = "0"
101101
continueAfterRunningActions = "No"
102102
filePath = "TagNameDetection/DPTagTextView.swift"
103-
timestampString = "566802747.230225"
103+
timestampString = "580899963.1766731"
104104
startingColumnNumber = "9223372036854775807"
105105
endingColumnNumber = "9223372036854775807"
106106
startingLineNumber = "174"

TagNameDetection/TagNameDetection.xcodeproj/xcuserdata/datt.xcuserdatad/xcschemes/xcschememanagement.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
<key>orderHint</key>
1010
<integer>0</integer>
1111
</dict>
12+
<key>TagNameDetection.xcscheme_^#shared#^_</key>
13+
<dict>
14+
<key>orderHint</key>
15+
<integer>0</integer>
16+
</dict>
1217
</dict>
1318
</dict>
1419
</plist>

TagNameDetection/TagNameDetection/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1414
var window: UIWindow?
1515

1616

17-
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
17+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
1818
// Override point for customization after application launch.
1919
return true
2020
}

TagNameDetection/TagNameDetection/DPTagTextView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ class DPTagTextView: UITextView , UITextViewDelegate {
147147
}
148148

149149
let formattedString = NSMutableAttributedString(string:strTemp)
150-
formattedString.addAttributes([NSAttributedStringKey.font: txtFont , NSAttributedStringKey.foregroundColor : txtColor ] , range: NSRange(location:0,length:formattedString.length))
150+
formattedString.addAttributes([NSAttributedString.Key.font: txtFont , NSAttributedString.Key.foregroundColor : txtColor ] , range: NSRange(location:0,length:formattedString.length))
151151
for range in arrRange {
152-
formattedString.addAttributes([NSAttributedStringKey.font : tagFont , NSAttributedStringKey.backgroundColor : tagBackgroundColor, NSAttributedStringKey.foregroundColor : tagTxtColor] , range: NSRange(location:range.lowerBound.encodedOffset,length:range.upperBound.encodedOffset-range.lowerBound.encodedOffset))
152+
formattedString.addAttributes([NSAttributedString.Key.font : tagFont , NSAttributedString.Key.backgroundColor : tagBackgroundColor, NSAttributedString.Key.foregroundColor : tagTxtColor] , range: NSRange(location:range.lowerBound.encodedOffset,length:range.upperBound.encodedOffset-range.lowerBound.encodedOffset))
153153
}
154154

155155
self.attributedText = formattedString
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>English</string>
7+
<key>CFBundleIdentifier</key>
8+
<string>com.apple.xcode.dsym.com.Datt.TagNameDetection</string>
9+
<key>CFBundleInfoDictionaryVersion</key>
10+
<string>6.0</string>
11+
<key>CFBundlePackageType</key>
12+
<string>dSYM</string>
13+
<key>CFBundleSignature</key>
14+
<string>????</string>
15+
<key>CFBundleShortVersionString</key>
16+
<string>1.0</string>
17+
<key>CFBundleVersion</key>
18+
<string>1</string>
19+
</dict>
20+
</plist>

0 commit comments

Comments
 (0)