Search results for

show when run

112,702 results found

Post

Replies

Boosts

Views

Activity

XCode 6.4 - Errors stopped showing in editor
I'm on XCode 6.4 (6E35b)Two days ago XCode stopped showing errors in the editor. Everytime I do a build, it says 'build succeeded' but when I try to run the app or my unit tests then it says build failed but it doesn't show the red exclamation points in the editor and I have to go into the logs view and hunt through the logs to find the compile errors. I trashed my version of XCode and re-installed through the AppStore, same behavior. I do have XCode 7 downloaded but I haven't run it in weeks. I'm on Yosemite 10.10.1.Has anyone else seen this behavior before? Seems weird. I've tried toggling some of my preferences related to showing errors as well to no avail.
2
0
347
Aug ’15
Show Menu on longPressGesture
Seeing as contextMenu as been deprecated and they are Menus shown on a long press, how can that be achieved with SwiftUI? I haven't found a new initialiser for Menu yet to show on a long press or an isPresented argument.
2
0
1.5k
Oct ’20
Reply to problem with .FileImporter in fisical divice
What happens when you run the app from Xcode on your iPad? Are you able to open the file? If you can, that narrows the problem down to TestFlight. I recommend running the app from Xcode on your iPad and set a breakpoint in your file importing code. If you step through the code line by line, Xcode's console should show error messages if there's a problem with opening the file. Show your file importing code. Without the code, people here will just be guessing about the cause of the problem.
Nov ’23
Show `swipeActions` in `editMode`
I have a List in a NavigationStack and the list items have swipeActions struct ListItem: Identifiable { var id: String { return name } let name: String } struct ContentView: View { @Environment(.editMode) var editMode @State var listItems = [ ListItem(name: Cow), ListItem(name: Duck), ListItem(name: Chicken) ] var body: some View { NavigationStack { List(listItems) { listItem in NavigationLink { Text(listItem.name) } label: { Text(listItem.name) } .swipeActions(edge: .trailing) { Button(action: { }, label: { Text(Edit) }).tint(.blue) Button(role: .destructive, action: {}, label: { Text(Delete) }) } } .navigationTitle(Animals) .navigationBarItems(trailing: EditButton()) } } } For users who might have problems with the swipe gesture, I would like to have the Swipe Actions display when the list is in editMode. Is there a programmatic way to show the swipeActions? I have also tried using ForEach with an onDelete modifier. Then if you hit the edit button, it shows a circular button on the left fo
1
0
620
Jun ’24
Showing Windows In Code
HiI have window1 and window2 in the main storyboard and window3 in a different storyboard, and I added button1 and button2on wibdow1, what code to write in the buttons actions to show window2 and window3 ? I want to know by code nit by optiondragining way.Kindest Regards
1
0
450
Nov ’19
Reply to iCloud storage trouble
Same here. I dont even have my ios9 device backing up to icloud. I had contacted Apple support not even thinking about the ios 9 device and on their end my storage shows correctly that I have 8gb free. However on two iphones both now running 8.4 it is incorrect shows only 200mb, on my mac runing 10.10.4 it is incorrect an ipad running 9 it is incorrect and logging into icloud it shows Im almost out of space. Apple support said its related to the ios9 device and had me open a ticket with developer support which I did.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
Reply to tvOS Simulator?
I'm having the same problem. Creating a new project for tvOS shows the Apple TV simulator as a run destination, but when I try to set up an existing project to use the tvOS SDK the Apple TV simulator doesn't show up as an option.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15