File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ public struct SwiftString /*: Streamable*/ {
196196 return RemObjects . Elements. System. length ( nativeStringValue) == 0
197197 }
198198
199- public var lowercaseString : SwiftString {
199+ public func lowercased ( ) -> SwiftString {
200200 #if JAVA
201201 return SwiftString ( nativeStringValue. toLowerCase ( ) )
202202 #elseif CLR || ISLAND
@@ -210,7 +210,7 @@ public struct SwiftString /*: Streamable*/ {
210210 return 0
211211 }
212212
213- public var uppercaseString : SwiftString {
213+ public func uppercased ( ) -> SwiftString {
214214 #if JAVA
215215 return SwiftString ( nativeStringValue. toUpperCase ( ) )
216216 #elseif CLR || ISLAND
Original file line number Diff line number Diff line change 108108 return length ( ) == 0
109109 }
110110
111- #if !COCOA
112- public var lowercaseString : NativeString {
111+ public func lowercased( ) -> NativeString {
113112 #if JAVA
114113 return self . toLowerCase ( )
114+ #elseif TOFFEE
115+ return self . lowercaseString
115116 #elseif CLR || ISLAND
116117 return self . ToLower ( )
117118 #endif
168169 #endif
169170 }
170171
171- #if !COCOA
172- public var uppercaseString : NativeString {
172+ public func uppercased( ) -> NativeString {
173173 #if JAVA
174174 return self . toUpperCase ( )
175+ #elseif TOFFEE
176+ return uppercaseString
175177 #elseif CLR || ISLAND
176178 return self . ToUpper ( )
177179 #endif
178180 }
179- #endif
180181
181182 #if !ISLAND
182183 public var utf8 : SwiftString . UTF8View {
You can’t perform that action at this time.
0 commit comments