Post

Replies

Boosts

Views

Activity

Reply to Persistent data with Core Data
I can save and load data. But if I close xcode and reopen it all the data is gone.  * Where and how do you save data ?      Please show code. How do you know you effectively saved data ?     Please show code where you read data. How do you close app (in simulator I assume) ?      By quitting the app in simulator ?      Or by stopping from Xcode (then, data may not yet be recorded)
Dec ’20
Reply to Constraint Layout No Longer Available
I'm no longer able to select "Constraint" from the layout dropdown in IB for the root view in a view controller Sorry, but I cannot understand what you are referring to. root view : do you mean the highest level view in the view controller ? layout dropdown: I'm not sure which dropdown you refer to. Is it the button at the bottom of the IB canvas with the small square surrounded by 4 arrows ? Or is it in Size inspector ? how did you access to this drop down before ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Dec ’20
Reply to turning project made for Big Sur into project made for Catalina 10.15
On Xcode 12.2, Catalina 10.15.7, iOS 14.2 simulator: I have an app with @Main and scene (do not use Windowsgroup). It works. AppDelegate class: import UIKit @main class AppDelegate: UIResponder, UIApplicationDelegate { SceneDelegate class: import UIKit class SceneDelegate: UIResponder, UIWindowSceneDelegate { 		var window: UIWindow? So, is your problem specific to windowsGroup ?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’20
Reply to i don't get data from my server
my code doesn't work That's not useful information. Does it crash ? If so, where and what log message ? Doesn't it provide the correct result ? If so, what do you get ? Doesn't it provide any result at all ?If so, could you show the results of all the print statements ? Also, check line 6:     let url = URL(string: "http://......./profile/load")! replace http with https
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’20