Post

Replies

Boosts

Views

Activity

Detect nearby users on the same app
I am developing an application that allows you to interact with people on your local network. I have a view called ProfileView() which has has identifiers inside of it such as that build up the profile for each person. Essentially, what I want to do is discover people who are on this app on your local network, or who are nearby to you based on bluetooth. I do not want to use a server, as I would like this to be an application that does not require internet access to function. Also if possible, I would like a toggle to allow yourself to be discovered in the background, even if not using the app. Any ideas how to do this? Also, is there any better way to do this instead of Bluetooth and Local Network? Thank you Possible code chunks needed: Discover nearby bluetooth users Discover nearby network users Toggle for discovery Toggle for background discovery (while not using app) Share profile (mainly just text and a profile image)
2
0
201
Oct ’24
PLEASE READ - Easy App Ideas
As a beginner to Swift and SwiftUI, I would like to make a collaborative list on the Dev Forum of simple apps for beginners to develop which they could actually use. If you see this post, please reply with any easy app idea you can think of. Thank youuuuu :DDDD
1
0
239
Sep ’24
Variable for DestinationView
var body: some View { VStack { List { ForEach(starSigns) {ZodiacSign in NavigationLink(destination: ZodiacSign.DestinationView) { Text(ZodiacSign.Symbol) Text(ZodiacSign.name) } } } } } } I have this basic view which gets information from a list I created, but how do I get the destination view to work where an example of it would be AriesView(), I would like the destination to be there. Currently it comes up with an error of "Protocol 'View ' cannot conform to the protocol itself" Sorry for the complexity of this question, I was struggling to explain it. THANK YOU IN ADVANCE!!!
5
0
293
Sep ’24
Build errors on Xcode 14.2
When trying to build a small Swift Script on Xcode 14.2, I got 2 errors: Unexpected input file: /Users/####/Documents/Xcode/Project1/Project1/ContentView.Swift Command SwiftDriver emitted errors but did not return a nonzero exit code to indicate failure Could somebody please explain what these errors mean
0
0
328
Mar ’24