Search results for

column

2,050 results found

Post

Replies

Boosts

Views

Activity

Reply to Table view with dynamic content - is it possible?
It's now possible in SwiftUI with TableColumnForEach [1] But don't use it. I tried and I got crashes when reloading data using Observable, I got crashes when changing columns. My app hung and needed killing when switching away from the table view and back. It crashes if there are zero columns. It's also really slow. Unusably so with about 200 rows and 150 columns. I tried with a release build and no difference was noticable. NSTable on the other hand handles everything admirably. [1] https://developer.apple.com/documentation/swiftui/tablecolumnforeach
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’25
Reply to text context with column-count value is 2 and text-shadow' blur is greater then 0, the second column will be bring down
Howdy! This bug still occurs on Safari. I've put together a codepen demonstrating the issue and its reproducibility on Safari (using latest as of this posting: Version 17.6 (19618.3.11.11.5)) Codepen: https://codepen.io/cubepresser/pen/ExqvzjL I tested this on the latest versions of Chrome, Firefox and Edge. This bug does not occur. Expected behavior is that there should not be an extra line added to the beginning of the second column, third column, etc. Here's some code if that codepen link doesn't work: HTML: 0000000000111111111122222222223333333333 CSS: #example { font-family: monospace; max-width: 20ch; column-count: 2; column-gap: 0; word-break: break-all; line-break: anywhere; text-shadow: 0 0 4px black; }
Topic: Safari & Web SubTopic: General Tags:
Oct ’24
Reply to SwiftUI subview .frame ignored on parent view appear, MacOS
[quote='776126021, pikes, /thread/776126, /profile/pikes'] Is there a better way to handle a collapsing subview in an HSplitView? Why is the .frame not respected? [/quote] Have you checkout out inspector? Since you're using a NavigationSplitView, an inspector would present as a trailing column and by default, trailing column inspectors have their presentation state restored by the framework.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’25
Reply to Using new UISplitViewController features with Interface Builder/Storyboards
In the storyboard I selected the split view controller and set a run time user defined attribute of style number 2 (for 3 column mode). Then I disconnected the relation segues and instead set storyboard identifiers on them then in code I instantiated then using the identifiers and used the setViewController forColumnType method for each of the 3 columns. To show a new Secondary you can use the showDetail segue but there doesn’t appear a way to use a segue to the Supplementary column. For that use showColumm and it works both when collapsed and separated. It might also be a better idea to use that method for showing the Secondary. I’m hoping they add storyboard support in beta 2.
Jun ’20
Reply to How to get Random number from variable
Hello Claude3:You asked: But, why not fetch all results and then do the random pick ?That is actually what I am doing. However after I have the results, I must pick a random item from that results. The problem is I don't have a sequential index for any of the columns from which to construct the predicate:selector = Int.random(in: 0 ..< x) fetchRequest.predicate = NSPredicate(format: ??? == %@, selector) // ??? should be a column with a set of numbers between 0...<x.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’19
Reply to App Clips Associated Domains Issues
In App Store Connect under Build you should have a list of current uploaded builds for this version. If the build is uploaded with App Clips, the column HAS APP CLIPS should say YES. The next column should be DOMAIN STATUS. It should also say if you have an issue with your AASA file. Also, make sure you type the URL in the experience with https, and without in the entitlement. You have the latter correct
Topic: App & System Services SubTopic: General Tags:
Sep ’20