Search results for

column

2,050 results found

Post

Replies

Boosts

Views

Activity

Reply to Workout app first screen
https://www.wareable.com/media/images/2017/11/orkout-2-1510074891-4n4v-column-width-inline.jpgh ttps://www.wareable.com/media/images/2017/11/orkout-2-1510074891-4n4v-column-width-inline.jpgThe first screen.Maybe it is some kind of card layout but i cannot implement.
Topic: App & System Services SubTopic: General Tags:
Jul ’18
Reply to NavigationSplitView two and three column interfaces in the same app
I work on a predominantly SwiftUI app, but I managed to achieve this using two UISplitViewControllers and contain my SwiftUI views inside that. I basiccally made an outer two column UISplitViewController. The detail view there is a SwiftUI view that either shows one big view or a UIVIewRepresentable that houses another UISplitViewController, depending on sidebar selection. When that inner splitview is shown, I set the outer nav bar to hidden so just the inner splitview's navbar shows. It took a lot of fiddling with the column behaviours to get it to work just right, but it does work. Although once in a while I see crashes when rotating the iPad which may be attributed to SwiftUI trying to deal with two navigation controllers in the two different splitviews. I've also raised FB12586131 to ask that UISplitViewController and NavigationSplitView support proper switching between two and three column modes. All we really need is a way to hide the middle column only.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’23
Reply to TabularData Framework: crash on opening CSV file
I created a bug report: FB10035567 Even for a developer tool, I wouldn't expect it to crash an app just because it detected a duplicate column name. The framework already throws all sorts of parsing errors, for e.g. if you specify a 'date' column and it can't parse the input in the cell, it'll throw a failedToParse error. You can see CSVReadingError for more details.
Topic: Machine Learning & AI SubTopic: General Tags:
Jun ’22
Reply to Translate ARKit face anchor to camera coordinates
Hello Tallmiin, First, I recommend that you do some research around the topic of 4x4 transform matrices, there is lots of information available about this topic. In general, to get the x, y, and z position from a 4x4 transform, you need to look at the first three elements of the last column in the matrix. The coordinate space this transform is in determines what that position actually represents. To get the right vector (i.e. the vector that points along the positive x-axis of the local coordinate space of the object) you need the first three elements of the first column in the matrix. The up vector (i.e. the vector that points along the positive y-axis of the local coordinate space of the object) is the first three elements of the second column in the matrix. The forward vector (i.e. the vector that points along the positive z-axis of the local coordinate space of the object) is the first three elements of the third column in the matrix.
Topic: Spatial Computing SubTopic: ARKit Tags:
Jul ’20
Reply to Problems with EPF feed full dump 20211007
I managed to find a couple of answers. Hope it helps some people. collection column names I think the column name issue might be related to the new v5 EPF format which seems to have been added recently. The readme file is dated Oct 13th 2021 so I think these feed dumps are being worked on. The solution for us was to ensure that all _id columns are either INTEGER or BIGINT type. Similarly anything is_ can be considered as BOOLEAN, and anything _date can be DATETIME except for export_date which is always BIGINT. artist_collection inconsistencies For the inconsistent data issue, the EPFImporter tool has an option --skipkeyviolators which will ignore the extra rows. So that part is handled too.
Topic: Media Technologies SubTopic: General Tags:
Oct ’21
Reply to NSTableView: dynamic columns
the name of the method is make, it's not a typo. If I use makeView, Xcode writes'makeView(withIdentifier:owner:)' has been renamed to 'make(withIdentifier:owner:)'You was right when you told me that I had no code to position the text field within the cell. So width and height were nul and it did'nt appeared. So problem is solved.But I wanted to tell you that I can't use a XIB file fro the columns of this NSTableView. My colum called ligne24 was just an example. I really don't know neither the names of the columns, nor how many columns will be displayed by this table.That's why I needed to override the make method.for all my other tables, I use a XIB file, of course.Thank's
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’17
Reply to NSTableView: dynamic columns
>> problem is solvedGood to hear.>> the name of the method is make, it's not a typoIn Swift 4, the name of the method is makeView, so perhaps you are using Swift 3? Anyway, it's not important, since you're clearly overriding the correct method.>> for all my other tables, I use a XIB file>> I can't use a XIB file fro the columns of this NSTableViewI think we are talking about two different things. I was talking about using a XIB file for just the NSTableCellViews, not the entire table. In principle, a cell view XIB can supply cells for one column or multiple columns, and one column can use multiple cell views.Your code to create the cells programmatically will (does!) work, but with the limitation that cells aren't automatically re-used like normal cells. This will have some impact on performance, but if the table is fairly small this may not matter to you.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’17
Reply to Basic Fetch Question
It’s confusing in your description. You‘ve got a hundred row table, data from tile_1_1 to tile_10_10, “given” and current values. Do those tiles run from _1_1 to _1_10, then _2_1 to _2_10, etc?You can do two-dimensional data in a database, it’s just usually seen as a bit of overkill. You could define a DataTile entity asRow: intColumn: intgiven valuecurrent valueand then specify row, column as the unique index values so you don’t have to worry about collisions and get a better sorted result.Then you could do your fetch request on DataTile, for dataTypeSort specify row and column as the keys for the sort descriptors, and that’d given you something you could loop over easily. (Especially since you can get the results grouped by row if you want...)If your row,column data is irregular (some rows have more or fewer columns), the database doesn’t mind.
Nov ’18
Reply to main (left) camera transform
what is the DeviceAnchor? Is it the location from which virtual content (and camera passthrough) is rendered on the user's display(s)? My understanding of a 4 by 4 transformation matrix is that the last column represents the translation, while the first 3 columns represent the local x, y, and z axis. I have plotted the first three columns of the extrinsics matrix and they do not seem to be orthogonal to each other, what are the implications of that? I would expect just a translation and a rotation (without scaling/shearing) what is the coordinate system for these intrinsics? based on the first 3 columns, it seems to be x=right, y=down and z=forward. Is that correct? any help or link to well-written documentation very much appreciated. When I see the following documentation which only tells me the type of extrinsics, and literally nothing else than just the type, I find that insufficient. https://developer.apple.com/documentation/arkit/cameraframe/sample/parameters/4443449-e
Topic: Spatial Computing SubTopic: ARKit Tags:
Dec ’24
Reply to vLookup In App?
If you look at Quinn's example:let sheet: [[Int]] = [ [1, 2, 3], [4, 5, 6], [7, 8, 9], ]and compare it to a spreadsheet, it would look like this: A B C 1 1 2 3 2 4 5 6 3 7 8 9 If we add a 4th number to each row, the spreadsheet would look like this: A B C D 1 1 2 3 95 2 4 5 6 96 3 7 8 9 97which would correspond to:let sheet: [[Int]] = [ [1, 2, 3, 95], [4, 5, 6, 96], [7, 8, 9, 97], ]Columns are vertical, but there are no real columns as in a spreadsheet. Instead, every row contains all numbers in the row. It is still easy to get a certain cell (or element, as we call it), since you first get the row you want and then get the column you want from that.There is no limit per row of code, but the second column of the first row will always be the same, even if you add numbers at the end of the row.One thing to remember is that in Swift (and most programming languages), rows and columns start on 0, while they start on 1 in most spreadsheets. Is this what confuses you?
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’16
Reply to Correct JSON format for a Tableview
I have been given an api which outputs the followingYou should better add how you have output that JSON, which prevents some sort of easy misunderstanding.I assume it is the whole response from your API.And with pretty-printed: { statusCode: 200, headers: { Access-Control-Allow-Origin: * }, body: [ { ID: 29, ColumnAID: 12, ColumnB: Blah, ColumnC: , ColumnD: Not Listed, ColumnE: null, ColumnF: null, lat: null, lon: null }, { ID: 22, ColumnAID: 12, ColumnB: Blah, ColumnC: , ColumnD: Canberra, ColumnE: ACT, ColumnF: null, lat: null, lon: null }, { ID: 24, ColumnAID: 12, ColumnB: Blah, ColumnC: , ColumnD: Bondi Junction, ColumnE: NSW, ColumnF: null, lat: null, lon: null }, { ID: 25, ColumnAID: 12, ColumnB: Blah, ColumnC: , ColumnD: Broadway, ColumnE: NSW, ColumnF: null, lat: null, lon: null }, { ID: 26, ColumnAID: 12, ColumnB: Blah, ColumnC: , ColumnD: Castle Hill, ColumnE: NSW, ColumnF: null, lat: null, lon: null } ] } Outlined:{ statusCode: 200, headers: {...} body:
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’19
Reply to iPadOS Sidebar Split Navigation View with SwiftUI
@crystalminds in your example the app only shows 2 colums on every sidebar item, which is not the intended behavior. It should show the sidebar + 2 columns on sidebar item one and two. On sidebar item 3 there should only be the sidebar + 1 column. I have filed a radar/feedback for this and included all the information in this repository: https://github.com/JulianKahnert/NavigationExample
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’20
Reply to NavigationStack and NavigationSplitView Runtime warnings
Xcode 14.0 beta 5 (14A5294e) seem to have fixed my issues with NavigationSplitView Fixed - Warnings Fixed - Selection of cell not happening (2nd time) in compact mode (For 3 column layout) - so no need to set the selected state of the middle column to nil onDisappear Hopefully it has fixed your issues as well, if not please file a feedback
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’22