Post

Replies

Boosts

Views

Activity

Reply to I can't get StoreKit to work and I don't know how to debug it
I'm attempting to do the same thing. Are you getting errors in the console? Here's what I'm getting: 2022-12-09 11:35:17.208256-0800 StoreDemo1[20986:8095799] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)") 2022-12-09 11:35:17.208310-0800 StoreDemo1[20986:8095799] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)") 2022-12-09 11:35:17.208380-0800 StoreDemo1[20986:8095799] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)") 2022-12-09 11:35:17.273253-0800 StoreDemo1[20986:8095825] [Default] [StoreKit] Did not receive any products or error for products request.
Dec ’22
Reply to Adding function parameter to view results in error for existing computed property
So it appears the problem it had was with the order of the parameters, because the following builds without error: `var action: () -> Void     var title: String     var desc: String {         get {             return self._desc         }         set {             self._desc = newValue             self.suggestions = newValue.components(separatedBy: "\n\n")         }     }     private var _desc: String = ""          private var suggestions:[String] = []          public init(action: @escaping () -> Void, title: String, desc: String) {         self.action = action         self.title = title         self.desc = desc     }` Also worth mentioning is that the type of value being added as a parameter didn't matter (I tried it as a string and it was the same as when it was a function). If anyone can explain what is going on here—I'd very much appreciate it. If you happen to run into this problem, try rearranging the order of your parameters.
Jul ’22