Search results for

column

2,051 results found

Post

Replies

Boosts

Views

Activity

Reply to Xcode Build Failure
May be because image is upside down 😉 When you post a message, make it easy to use: image in correct orientation complete code so that one can test, in text, not only screenshot full error message Seems it is a problem to type check shelterViewModel.getShelter (row: row, column: column).productId == ViewConstants.LAYOUT_DUMMY_ what is productId type ? How are ViewConstants defined ? What is .LAYOUT_DUMMY_ ? Which type ? If it is not exactly the same as productId, then the error. Note: tests as shelterViewModel.getShelterOperationFormat() != true may be written !shelterViewModel.getShelterOperationFormat()
Apr ’25
Where has Column browser in "Music" gone? Why is the Dupe process so occluded?
Once upon a time, iTunes (R.I.P.) had a very nice feature that allowed a top file browser which allowed you to browse sogs, artist,and album indifvidually. Such a nice feature. Easiest way to find dupe songs because you could select individual artist or Albums and see the titles in iTunes. That's gone. Speaking of dupes, why was the duplicate finding feature so gutted. In 10.14, you select Library/Show Duplicate Items and you get a nice banner at the top of iTunes (R.I.P.) which allowed you to display dupes from the same album or just in general. Gone. Gone. Gone. Who's brilliant idea was it to make you once again select File/Library/Show all Items to return to a display of all items rather than just clicking a Dupes button? More and more functionality seems to be disappearing in a quest to make macOS like Windoze.
0
0
2.3k
Jul ’19
PID column doesn't sort right in Activity Monitor. Reproducible?
I tried to upload a screenshot and got An error occured while uploading this image. Please try again later. Let's see if this works: https://share.icloud.com/photos/0AziOmDe1WNzvXgu_t4uOStgg For those hesitant to click: Sorting by PIDs results in this order 351 (!) 352 56573 56572 56571 (note reverse order of last 3) 0 1 313 314 317 318 ...
0
0
556
Nov ’21
Reply to Rotation in 3D
I discovered the issue. It was in the shader, and I was multiplying in the wrong order (since matrix multiplication is not commutative).So this:out.pos = v * mvp_matrix;should be this:out.pos = mvp_matrix * v;That fixed it. For whatever reason I'm so used to dealing with row vectors as opposed to column vectors. And often times it's not clear what graphics libraries use. OpenGL uses column vectors, but DirectX uses row vectors. I don't recall reading in the Metal guide what it uses, so..
Topic: Graphics & Games SubTopic: General Tags:
Jan ’16
Reply to Metal Perspective Martrix issue
the net result was: the book I was following made assumptions that turned out to be wrong. The code in the book could never work. the Matrix4x4 structure in the book assumes a row layout in the the float4x4 used in Metal. It doesn't work like that. it uses a Column layout. ie: the matrix I built from the tutorial assumed that each simd_float4 passed in was going to be a row. instead it was a column. this screwed up everything. but I also had issues with the matrix weirdly breaking my identity values. that screwed up everything. and my rotation function, was faulty.
Topic: Graphics & Games SubTopic: General Tags:
Oct ’20
Reply to Using a .plist to populate a tableView
In a database, which is what you are talking about, at least conceptually, rows are all identical. What you are talking about is adding a new column. Each column is unique.A table view just displays a grid (organized in rows and colums) from an array. Where you get the array data from or what you do with the array data is a separate issue. You can definitely use a plist to start with.In a table view, you normally don't do that kind of specific row checking for data. You just dump the data in an array and the table displays it all.
Feb ’19
Reply to How to declare a TableColumn with nullable field?
Is there a way to get a SwiftUI Table to be able to sort by a column of optionals? You can extend Optional for your specific case. For example, if you are trying to sort by an optional Int: extension Optional where Wrapped == Int { var sortOrder: Int { switch self { case let .some(wrapped): wrapped case .none: Int.max } } } Then your TableColumn would look like this: TableColumn(Count, value: .count.sortOrder) { if let count = $0.count { Text(String(count)) } } If count is nil, it will be sorted as if its value is Int.max and the column will be blank for that row.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’23