Thanks for showing the code of PersistentStack. Simply saying, your two codes, in Swift and in Objective-C, are completely different in instantiating and setting up managedObjectContext and persistentStoreCoordinator. If you want to make your Swift code work as the same as Objective-C code, do the same thing.
Post
Replies
Boosts
Views
Activity
Can you show your code?
Thanks for showing your code. (Have you used Paste and Match Style when pasting your code? That will prevent adding extra empty lines.) Can you clarify which platforms is your app targeting?
Please show your code as text, using Code Block.
You can write the prototype by yourself. But it is not recommended.
@oleg48, you should better start your own thread including enough info.
The thread you have shown is marked SOLVED. So, the issue is SOLVED, isn't it?
Can you show what is your current locale?
As I wrote as a comment, you should better start your own thread with your issue. The problem is another thing than asked in this thread.
@MartinP7r, you should better start your own thread with including properly formatted code. Comments on a SOLVED thread would not get good attentions and not many readers would try a code with horrible formatting.
i got it resolved guys i upgraded my iOS it seems to be a known issue of iOS 15.0. About iOS 15 Updates page shows that in iOS 15.0.1, the issue Settings app may incorrectly display an alert that storage is full was fixed. You should better take enough time before marking an answer as SOLUTION. Many readers expect the marked answer would describe the right solution.
Thanks for reporting. If you have any further questions, please start a new thread including the code as text. Unfortunately, not many readers go deep into external links. Questions with enough info included as text, would get more attention from readers.
It is not a problem of terminology. Selector is a completely different thing than function pointer. Internally, Selector contains a C-string representing the Objective-C style method name, no function pointer exists inside a Selector.
Thanks for adding the image and the description. But unfortunately, I do not know any ways to delete it. With easily understandable code and image, someone who knows how to do it (if possible) would find this thread more easily. Hope you can solve your issue soon.
Thanks for showing the code. (If you could show the sample screen shot, it was better.) But I cannot find any green (+) icon running your code on iOS 15.0 Simulator. Can you clarify how I can see it?