We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3b2c8a commit 7ce9914Copy full SHA for 7ce9914
pkgs/swift2objc/test/integration/structs_and_properties_output.swift
@@ -14,6 +14,12 @@ import Foundation
14
@objc public class MyStructWrapper: NSObject {
15
var wrappedInstance: MyStruct
16
17
+ @objc public var mutatingProperty: Int {
18
+ get {
19
+ wrappedInstance.mutatingProperty
20
+ }
21
22
+
23
@objc public var customGetterProperty: MyOtherStructWrapper {
24
get {
25
MyOtherStructWrapper(wrappedInstance.customGetterProperty)
@@ -80,12 +86,6 @@ import Foundation
80
86
}
81
87
82
88
83
- @objc public var mutatingProperty: Int {
84
- get {
85
- wrappedInstance.mutatingProperty
- }
-
89
init(_ wrappedInstance: MyStruct) {
90
self.wrappedInstance = wrappedInstance
91
0 commit comments