|
Hi, This is my Menu i'd like to add to my list:
but the problem I am having is that my struct is like this:
How do I sort by Creator of my API call which is a string? Or By Date which is a Date type but It is formatted as you can see in the API below. and the diffilcuty?
Best, Imran |
|
|
|
Hi, So I tried that but the problem I am now having is that the function cannot be a found in scope. function added to Recipe list view to bring in the function from the RecipeAPI:
Menu:
Thanks again... |
SPONSORED AppSweep by Guardsquare helps developers automate the mobile app security testing process with fast, free scans. By using AppSweep’s actionable recommendations, developers can improve the security posture of their apps in accordance with security standards like OWASP. Sponsor Hacking with Swift and reach the world's largest Swift community! |
|
|
|
Hi, So I tried that and this is the error I got:
on all the buttons. Best, Imran |
|
|
|
It then throws this error:
|
|
|
|
Hey, This error presists on all of them:
|
|
Hi Imran, In your code that you have given us you have
and
So you need to gives us that. Where about is the error message? Does the |
|
Hi, So It's for my recipesAPI It has the @MainActor tag and I have done the above init to the view. This is the error I am getting:
on all the buttons on the Menu we created. |
|
Sorry I am very confused about how the Try removing the |
SPONSORED AppSweep by Guardsquare helps developers automate the mobile app security testing process with fast, free scans. By using AppSweep’s actionable recommendations, developers can improve the security posture of their apps in accordance with security standards like OWASP.
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.