Search results for

show when run

112,702 results found

Post

Replies

Boosts

Views

Activity

Reply to Improve SearchBar
It's not the search string and the array is complete and when parseJson() is run it shows all the cells. When I type E it shows less cells when I type n it shows even less cells, when I type f it shows even less cells but when I delete the f it shows 0 cells and when I delete n it again shows 0 cells so I have to delete everything to restart everything. This function shows the number of cells I have displayed. func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { print(Number of cells:, cPlayerArr.count) return cPlayerArr.count }
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’20
Code Coverage Not Showing In Editor
I have turned on code coverage (before running my unit tests), and clicked on Editor > Show Code Coverage, but the editor does not show the code coverage information along the right side of the editor window. It has appeared intermittantly, but then it will disappear for seemingly no reason. I am able to see code coverage information (the blue percentage bars for each class) in the Coverage tab of the reports navigator, but when I open any class in the editor, the coverage information does not appear along the right side of the window.Any ideas?Thank you!
3
0
5.7k
May ’17
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 `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
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
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
AppTrackingTransparency, IDFA, and showing ads
Since installing iOS 14 on my iPhone, none of the AdMob ads in my apps are showing at all. I have watched, re-watched, and read all the documentation about AppTrackingTransparency and it is still not clear at all to me what to expect comes the launch of iOS 14. 1/ For ads to show in all my apps when iOS 14 launches to the public, do I have to update all of my apps for ads to keep showing? 2/ What happens if I do not update my apps before the iOS 14 public launch? Will ads be entirely prevented from showing at all? Or will the apps only show non-personalized ad? Thank you in advance.
2
0
990
Jul ’20