You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: USER_GUIDE.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -221,7 +221,7 @@ Note that we are passing the Jar file in the `classpath` argument when initializ
221
221
222
222
### Downcasting
223
223
224
-
All Java classes available in Swift provide `is` and `as` methods to check whether an object dynamically matches another type. The `is` operation is the equivalent of Java's `instanceof` and Swift's `is` operator, and will checkin whether a given object is of the specified type, e.g.,
224
+
All Java classes available in Swift provide `is` and `as` methods to check whether an object dynamically matches another type. The `is` operation is the equivalent of Java's `instanceof` and Swift's `is` operator, and will checking whether a given object is of the specified type, e.g.,
225
225
226
226
```swift
227
227
if myObject.is(URL.self) {
@@ -620,7 +620,7 @@ The project is still very early days, however the general outline of using this
620
620
- These `.swiftinterface` files are imported by jextract-swift which generates `*.java` files
621
621
- The generated Java files contain generated code for efficient native invocations.
622
622
623
-
You can then use Swift libraries in Java just by calling the apropriate methods and initializers.
623
+
You can then use Swift libraries in Java just by calling the appropriate methods and initializers.
0 commit comments