Profile Photo
In a very basic app (iOS), I am finding that a view with this...   ---   struct IdeaDetail: View {        var idea: Idea        var body: some View {         ScrollView() {             VStack(alignment: .leading) {                 Text(verbatim: idea.name)                     .font(.title)                 Text(idea.text)                    … (Show more)
in SwiftUI
Profile Photo
I'm using a storyboard to manage the app but upon attempting to go to the Editor > Zoom menu all options bar "Zoom to fit" are greyed out.   Is there any way to enable these options or to zoom out another way? It's become a bit tedious.   Thanks   - Joseph
in Xcode IDE and Editor
Profile Photo
Any chance that engineers at Apple will postpone the release of SwiftUI in this September and work on it until it is ready for the public? What do you think?
in SwiftUI
Profile Photo
Hi,   I am working with SwiftUI, and am new to Xcode, and Swift at all. I did the SwiftUI essentials Tutorial, and done the Controls and Views part.   Now I am stuck on my own creation app. I try to get data from an local .json file which I stored in the Resources folder. In the preview View, I pass in the data of index 0, but while rendering… (Show more)
in SwiftUI
Profile Photo
My app has the ability to import GPX route files.  However I am getting reports from users of iOS13 that the app is no longer appearing in the list of available apps when they try to export a GPX file.    Has anyone else seen or heard of this, and does anyone know how I might get around it?  As far as I know it is only the Imported UTIs that… (Show more)
in iOS 13 beta
Profile Photo
I'm running into trouble setting up sync using NSPersistentCloudKitContainer on an existing app. The app doesn't seem to sync data that was added to Core Data prior the app's iOS 13 update. For instance:   1. I install an existing, pre-iOS 13, version of the app and create several records that are stored in Core Data. 2. Over that existing… (Show more)
in Core Data
Profile Photo
So I'm running into a really odd visual glitch where my cells contentView doesn't change after performing the action of a swipe for `editActionsForRowAt`. It does work the first time, and every other time after though. I believe this issue is caused by NSFetchedResultsController, but also specific to my single app. I can replicate this issue in 3… (Show more)
in Cocoa Touch
Profile Photo
In Xcode 11, Xcode shows some warnings of my project, how can I solve these warnings? The warnings shows like this: <unknown>:0: warning: imported declaration 'UITableViewDiffableDataSourceCellProvider' could not be mapped to 'UITableViewDiffableDataSourceReference.CellProvider' <unknown>:0: warning: imported declaration… (Show more)
in Xcode IDE and Editor
Profile Photo
When calling HKHealthStore.requestAuthorization(toShare:read:completion:) in an app that uses a SceneDelegate this results in [Assert] Error in UIKit client: -[UIWindow setScreen:] should not be called if the client adopts UIScene lifecycle. Call -[UIWindow setWindowScene:] instead. which makes using HealthKit impossible at all.… (Show more)
in iOS 13 beta
Profile Photo
The relativeWidth(:), relativeHeight(:), and relativeSize(width:height:) modifiers are deprecated. Use other modifiers like frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:) instead.   Can anybody help with some real example???   The frame parameters takes absolute values, how do I achive the same effect as with… (Show more)
in SwiftUI
Profile Photo
Hello All,   I am following the session "Introducing SwiftUI: Building Your First App" and building the Rooms App. In the RoomStore.swift file, I encountered an issue saying "Cannot invoke 'send' with no argument". (As the image below) Anyone knows how should I resolve this issue? In case if the image doesn't show, here is the link:… (Show more)
in SwiftUI
Load more items