Post marked as solved
7.1k
Views
I'm still learning how to code and would love to get recommendations on how to learn swift/swiftui for iOS/macOS app development. Any recommendations are welcome :)
Post marked as Apple Recommended
110k
Views
Hey guysI’ve been trying to pay for Apple Developer Program enrollment for about a week and still no luck. As well as I got from a small talk with the customer support – Apple never got my money. So it seems like my payment authorization fails all the time. But I don’t know what’s really going on.Have any of you ever had issues like that?Or maybe you just know what’s going on and how to fix it?
Post marked as solved
4.1k
Views
Is it possible to use CoreData with the newly announces SwiftUI App Protocol for 100% SwiftUI apps. If I need to create an app with persistant storage, is there a way to achieve this with the new protocol? I like the idea of having my app fully compatable across all systems.
Thanks.
Post marked as solved
8.9k
Views
I installed the profile for macOS Big Sur, but I got updated to Catalina beta 10.15.6 beta instead.
Is it possible to install the Big Sur beta already?
Post marked as Apple Recommended
2.1k
Views
When I try to open the Xcode Documentation inside Xcode 12 (downloaded from the app store), the whole app closes. Is anyone else seeing this
Post marked as Apple Recommended
1.1k
Views
I'm following the Widgets Code-Along and at the end of part 1 Izzy uses .isPlaceholder as an easy way to show the widget placeholder but when I try it, it doesn't seem to be available yet.
Am I missing something or is this feature coming in a future beta?
Post marked as solved
3.7k
Views
Unable to Submit for Review
The items below are required to start the review process:
An error has occurred. Try again later.
Post marked as solved
1.3k
Views
After the upgrade from Beta 6 to Beta 7 I am not able to connect to any smb-shares any more. I tried it with a Windows Server, Synology DriveStation and a Debian implementation. I'm directly getting the message Error with connection.
Post marked as solved
543
Views
I'm trying to do a simple application in SwiftUI taking advantage of SwiftUI 2.0's new multiplatform project template, and I wish to add the option to collapse the sidebar as many other apps do.
I've got an extremely simple sidebar I did following the Fruta example project, and I tried adding a boolean state variable that controls whether the sidebar should show or not, but that doesn't work because when the sidebar is hidden, the main view is turned translucent.
On iPadOS, a button appears on top of the sidebar that allows to collapse it. How would I do this in macOS? Is there a way to natively achieve this in SwiftUI, or I'll need to resort to a UIKit workaround?
Please note I'm using macOS Big Sur, Xcode 12, and SwiftUI 2.0
Thanks in advance.
Post marked as solved
640
Views
In Stacks, Grids, and Outlines in SwiftUI - https://developer.apple.com/videos/play/wwdc2020/10031, a recommendation is made to only use lazy stacks when you encounter performance bottlenecks.
To quote the session, starting at 4:43:
On the other hand, making the stacks within a given hero view lazy doesn't actually confer any benefits. The content is all visible at once, as soon as the view lands on screen. So everything has to be loaded at once, regardless of the container's default behavior.
If you aren't sure which stack to use, use VStack or HStack. Adopt lazy stacks as a way to resolve performance bottlenecks that you find after profiling with Instruments. Are there negatives, performance or otherwise, to just always use lazy stacks? I'd like to understand why I shouldn't reach for LazyVStack and LazyHStack first. I understand from the example that using a lazy stack wouldn't confer any benefits, but would we incur any negatives?
Post marked as Apple Recommended
785
Views
Is SwiftUI currently versioned like Swift the language or is treated more like UIKit where the version is attached to the OS release? So for example will the changes to SwiftUI found in Xcode 12, work on iOS 13? If not that means any new SwiftUI features/bug fixes will need to wait to be deployed until iOS 14 is released AND there is enough iOS adoption by the user base.
Thanks.
Post marked as solved
757
Views
It seems that AppDelegate and SceneDelegate are no longer needed in Swift UI in Xcode 12. I'm having trouble figuring out how to build an iCloud/Core Data enabled application with Swift UI. Is there a video/tutorial/guide on implementing Core Data or Cloudkit with the new Swift UI frameworks yet?
Post marked as solved
1.8k
Views
SwiftUI previews don't seem to work in Xcode 12, beta 5, when using Firebase Analytics. The app builds and runs fine to simulator or device, but fails generating SwiftUI preview for a widget with the following message:
ld: in /Users/../.../Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector(FIRAnalyticsConnector_e321ed8e3db06efc9803f6c008e67a34.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/.../.../Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
It was working fine in beta 4. Anyone else seen this? Any ideas?
Post marked as solved
829
Views
Running a project from Xcode 12 seems to be very slow during launch. Even the example projects from Apple.
Basically it feels as if the app is stuck on the launch screen?
However, if I unplug from my Mac and just launch via tapping on the App icon, it's super fast.
Anyone is having the same issue?
Post marked as solved
879
Views
Anyone have a fix for this App Store Connect Error?
Could not find or load main class 2.app.Contents.SharedFrameworks.ContentDeliveryServices.framework.Versions.A.itms.macOS.lib:.Users.JohnSmith.Library.Java.Extensions:.Library.Java.Extensions:.Network.Library.Java.Extensions:.System.Library.Java.Extensions:.usr.lib.java:.
I've attempted to reinstall java, downgrade from Version 12.0 beta 2 (12A6163b) to Xcode 12.0 beta. Tried uploading previously passing archieves with different version number. Nothing seems to rid me of this error.