Search results for

column

2,071 results found

Post

Replies

Boosts

Views

Activity

Reply to Print something on the screen
I created the structure down the let columns above the ContentView and I called the NumberView in the Button's action and now the error it's gone. But when I play my code and click the button it doesn't show me the text. Can't understand why...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’22
Reply to Save DataFrames as CSVs
I don’t think there’s a way to do that but, if you know that the names are unique, you can rename the columns after the join. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’22
Reply to Problems with connections (IBActions)
In my code, the class 'ExampleA' is a UIViewController, and class 'ExampleB', is a UITableViewController, because I am trying to link 2 different ViewControllers. My objective is that when the user clicks on a button, it will set off a table in a different ViewController to add a column to it.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’19
Reply to SwiftUI NavigationSplitView on macOS: unwanted vertical space in detail column
A fascinating update. I've tried adding the newly-introduced Inspector modifier, which I also intended to use in the app I'm making: import SwiftUI @main struct TestApp: App { @State var isShowingInspector: Bool = true var body: some Scene { WindowGroup { NavigationSplitView( sidebar: { }, detail: { ContentView() } ) .inspector(isPresented: self.$isShowingInspector) { } } .windowResizability(.contentSize) .windowToolbarStyle(.unified(showsTitle: false)) } } struct ContentView: View { let complaint = What's with the vertical space around me when I'm in a detail column? var body: some View { VStack(spacing: 0) { Text(complaint) .font(.title) .ignoresSafeArea() .frame(width: 300, height: 300) .background(.blue) } } } This time, SwiftUI apparently adds entire toolbar's height to the minimum height of the window again! Now the detail column's mysterious vertical space equals twice the height of the toolbar: It doesn't seem to matter whether the Inspector is applied to the Navigation Split Vie
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’24
Reply to UILabels of three UIPickerViews revert to previous value (sometimes) and change without selection.
myPickerDidSelectRowInCase could be anything that changes the results only for items in the column. Simplest would be to select actual values for each column based on caseOfPicker. In the code below, which is more complex, i'm setting a column specific delegate that is used to fetch data before ereloading the collection view.protocol EgPickerDelegate { func myPickerDidSelectRowInCase(selectedRowValue: Int?, caseOfPicker: Int?) } extension EgEndingsCVTVCell: UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout, EgPickerDelegate { func myPickerDidSelectRowInCase(selectedRowValue: Int?, caseOfPicker: Int?) { switch caseOfPicker { case 0: col0GenderPredicate = genderPredicator(selectedRowValue: selectedRowValue ?? 0) case 2: col2GenderPredicate = genderPredicator(selectedRowValue: selectedRowValue ?? 0) case 3: col3GenderPredicate = genderPredicator(selectedRowValue: selectedRowValue ?? 0) default: col0GenderPredicate = genderPredicator(selectedRowVal
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’19
Reply to Crash Reports for Swift
Thanks Eskimo but this did not work for me even though I have the archive stored. Any tips to get this working so I can get my logs symbolicated?Xcode will automatically symbolicate all crash reports that it encounters, if it has the .dSYM and application binary that produced the crash report. Given a crash report, the matching binary, and its .dSYM file, all you need to do for symbolication is to add the crash report to the Xcode Organizer.Connect an iOS device to your MacChoose Devices from the Window menuUnder the DEVICES section in the left column, choose a deviceClick the View Device Logs button under the Device Information section on the right hand panelDrag your crash report onto the left column of the presented panelXcode will automatically symbolicate the crash report and display the results
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’16
Reply to Weird behavior with NavigationSplitView and @State
Same issue is happening when you have Three Column layout. But it seems to be more visible what is happening. When I select other category in the main sidebar, the selected item in secondary sidebar won't get unselected, plus new item from selected category gets selected. So now after two clicks I have somehow two selected items in my secondary sidebar and when i'll continue playing with it I'll get thread ERROR. The problem is the automatic selection of item in second list. you can't touch on that and reset it when the category from primary sidebar is changed. What is really surprising for me is that I haven't found any threads about this so far, even though this behavior is happening in the most basic example of three column layout where you have same items in different categories.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’23