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
Created
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!
I have an M1 Mac and I am on Monterey beta 4. I have Xcode 12 and whenever I try to run my iOS app on my Mac natively, I get this error message.
Could not attach to pid : “4837”
Lost Connection
Full Log
Any Ideas?
Thanks 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 this struct:
struct Final_Restaurant_View: View {
var data: [RestaurantListViewModel]
@State private var isHome = false
var body: some View {
NavigationView{
VStack {
List(data) {
data in
layout(data: data)
}
.listStyle(GroupedListStyle())
Button(action: {
isHome = true
}, label: {
Text("Go Home")
})
.padding()
}
.fullScreenCover(isPresented: $isHome, content: {
ContentView()
})
.navigationBarTitle("Results")
}
}
}
Which is supposed to get data and display it in a list. The problem is that I can't find anything about sections on a table structured like this and therefore, it goes wack with the section title. Any Ideas???
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