Hi all.
Currently working on my first project and running into a bug within the initializer in my game's model.
The app is very simple so it should be an easy fix for someone knowledgable...
View starts off lower than expected
I ran into a problem where the view starts off lower than what I wanted. However, by clicking on the side menu icon(the hamburger icon), it puts the view and the contents back into the right spot? I used GeometryReader ->Zstack(alignment: .topLeading). Im not sure where I can pinpoint the problem. My side menu is a slider menu, and has a fading effect that blur the background when it is open.

Button not showing
Hey, I've created a button that shows in the Preview, but does not show when I compile & test my app using the iPhone Simulator, can someone help?
https://github.com/oZoey/notes/issues/12...
SwiftUI TabView vs ScrollView for Infinite Horizontal Carousel with Page Control
Hi all,
I am trying to create an infinite horizontal carousel with page control. After the last page the scrollview should show the first page and vice versa while scrolling backwards. Most of the posts I see are using a TabView, instead of a ScrollView for this purpose.
1. Is TabView a better option for this use case?
2. What are the benefits of using TabView vs ScrollView?
...
SwiftData nested Lists
π Hey, I have two SwiftData Models and I want to create a nested list with "ItemList" being the parent:
@Model
class Item {
var name: String = ""...
Centering in Swift
Hi, everyone. I am having trouble with creation of SwiftUI ui's. I have a Form and I want to center it vertically. How can I do this? Thanks in advance.
Submodules
Hello,
i'm trying to make an app that links about 20 other apps. each person in my class mad an interactive story app and now i'm trying to make an app that links all 25 and one i click on the book cover it takes me to that specific story. is there a way to do this using git submodules in swift? all projects are their ow repositories. Thank You...
Using Cursor editor (A VSCode clone that runs the Swift.org plugin)
I'm trying to get started with Swift using Cursor, which is a neat AI driven VSCode clone, which runs on macOS. I've got Xcode installed but would prefer to use Cursor if possible. I've checked that Swift is available from the command-line, but I cannot get the plugin within Cursor to do anything other than display the correct syntax highlighting. There is no indication of syntax errors, of which Xcode displays many π
Has anyone else used the Swift plugin in either Cursor, or more likely, VS Code, and gotten full functionality from it?...
Error when i upload my app to the app store
I think the error is the bundle Id but i cant figure it out, here is a image of the error that appears when i try to archive my app..
Solution:
It says you need to allow more orientations so that it can multitask on iPad. You can do that from your project file

I have exactly a week to make a game and I have no ideas, read message
Ok, so I have to make a fun game in exactly a week and obviously have to sleep and some other commitments so not even a week, so please help me with code but first I need ideas, I'm thinking maybe a chess thing or a travel game or something, I want it to include dark and light mode, thank you, (it's for a tech showcase)
I'm repeating a friend's thing since I can't find it, but also is there a way to track location
Ok so not necessarily track but have locational access granted your user allows and inputs.
My friend's question regarded using a key part for controls, now I have an adaptation of his question as well, so presumably you should still be able to touchscreen with keyboard usage? Ty
Edit: I have a new idea, well old but I might as well ask here, how to get a notification upon app opening that can take you to a tab (like terms & conditions or smth)...
Apple Maps Installed Check
Does iOS swift provides to check if apple maps is installed or not? I am using UIApplication.shared.canOpenURL but it returns true even if the apple map is uninstalled
#swift-development...
How to resolve "Cannot find 'AKMicrophoneTracker' in scope"?
Trying to create app that checks your pitch (from microphone) using AudioKit from github.com/AudioKit/AudioKit, but something ain't working in code. I tried to even use GPT4 to help, but it couldn't figure it out. Keep going circles.
Trying to create app that checks your pitch (from microphone) using AudioKit from github.com/AudioKit/AudioKit, but something ain't working in code. I tried to even use GPT4 to help, but it couldn't figure it out. Keep going circles.
```...

Grouping SwiftData objects
Hello, anyone have a good way to group data coming from SwiftData so that it can be displayed in list sections? I currently use a method that converts the data into a dictionary, but I feel it is a bit wasteful. Hopefully we will get a native way to group data next WWDC
Swift Expert needed
We are looking for a Swift expert. hourly rate is 10 ~ 15 usd per hour. Please ping me,
How do i render blender motion graphics in ios
I am having animations(currently converted to videos) which are looping on actions, I don't have enough control on AV Player. I wanted to know if there is a method to render blender animations without converting it to videos using some library that is reliable
Carthage - Missing a required architecture Error
I new at using Carthage, I almost fixed 5 errors but I can not fix this issue. I searched nearly 30 website and did whatever they say but can not fix this build for Error. Can someone help me please
