Hi, I have a firebase database and was wondering what the best way to search it with keywords would be. I am making a jokes app and would like to add this functionality.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi,
I have a share sheet and in the simulator (I don't have an actual iPad) the share sheet will not show.
Code
Thanks in advanced!
Hi,
I have this code accessing firestore and my loop for getting multiple sets of data.
Code
Thank you in advanced!
Hi,
Whenever I am extracting Xcode 13 beta 1, it gets stuck at the end. Has anyone else had this issue?
Hi,
How do I save to the iCloud Keychain from my app? I can't seem to find anything anywhere that isn't the equivalent of UserDefaults.
This is driving me crazy. I have this code:
Utilities.getKnockKnockJokes {
self.previousKnockKnockJoke = self.currentKnockKnockJoke
print("currentKnockKnockJoke = \(self.currentKnockKnockJoke)")
self.currentKnockKnockJoke = KnockKnockJokes.knockKnockJokes.randomElement()!
print("newCurrentKnockKnockJoke = \(self.currentKnockKnockJoke)")
self.singleServeText.text = self.currentKnockKnockJoke
}
The function that is called is bellow:
getKnockKnockJokes
Thank you in advanced!
Hi,
My app used to support alternate icons and now all of a sudden it does not anymore.
Info.plist
Thanks in advanced!😉
I have this share sheet code and I am trying to figure out how to edit "Plain Text".
ShareSheet Code
Hi,
I have this code and the guard let storekitProduct is always returning nil, no matter what and is therefore quitting the function. How do I fix this? Thanks in advanced!
Code
I just launched my app on the App Store and the in app purchases aren't working. Any Ideas?
Code
Thanks in advanced!
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
StoreKit
Swift
Hi,
I am trying to install a swift package and I keep getting this error.
Error
When I install it any other way, I get this error:
Error
Any ideas on how to fix it?
I have this code:
static var viewModels = [RestaurantListViewModel]() {
didSet {
dataSet = true
print("data set")
}
}
When it didSet is called, I want it to change a state in another struct, how can I accomplish this?
I have looked around and am confused about deep linking to a view that is not the default view, or passing information to that view which then impacts what is shown. Please help.
Note: I am using the UIKit lifecycle
I have this one view that seems to be much lower than it is supposed to be. Can someone please tell me what I am doing wrong?
Code
Here is a link to the image(I was having trouble uploading directly) https://drive.google.com/file/d/16HIhPCrXtybbh9JD7QRbc5ccBVj9Dhiq/view?usp=sharing
I have a key pairs array:
["Id": XmGjU9gxS5s0CzP4S6-bHw, "Name": Pizzeria La Rocca, "Url": https://www.yelp.com/biz/pizzeria-la-rocca-seattle?adjust_creative=sxCnBn1t8D3B-4MLGRB_2g&utm_campaign=yelp_api_v3&utm_medium=api_v3_business_search&utm_source=sxCnBn1t8D3B-4MLGRB_2g, "Rating": 5, "Img": https://s3-media1.fl.yelpcdn.com/bphoto/kE6hbIfi4WdlIW52SF5KUw/o.jpg]
How do I convert this to my struct?
struct RestaurantListViewModel: Identifiable {
let name: String
let imageUrl: URL
let id: String
let rating: Double
let url: String
// let category: Array<String>
}
Thank you in advanced!