Search results for

“column”

2,091 results found

Post

Replies

Boosts

Views

Activity

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
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 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 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 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
>> 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 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:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Sep ’20
Reply to TableView not populating?
I found the problem, It was in the IB... there was not a connection from the column textField to the table view cell.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Mar ’21
Reply to (speculate (event-horizon ?end)) only firing for one defrule
Hmm, oddly it turned out to be an issue with the set-column-narrative. Removing that from both fixed it.
Replies
Boosts
Views
Activity
Jun ’19
Reply to How to set a detail VC as .supplementary on .tripleColumn style
It should be However, *when* changing the SplitVC to a triple column... Can't edit, so adding this here
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’20
Reply to Extracted Table Data from the image using the iOS library and Api
you can use vision framwork for this and use the bounding box for your column detction
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’24
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:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Aug ’23
Reply to Always getting the same prediction for the different input using MLClassifier in Core ML
So, it was a bug in the .csv file, it looks like the CITY column was recorded with invisible characters.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’20
Reply to SwiftUI Table Limit of Columns?
I too am looking for > 10 columns (as well as the ability to edit cells). Any solutions would be appreciated.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’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:
Replies
Boosts
Views
Activity
Jul ’20
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:
Replies
Boosts
Views
Activity
Jun ’22
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:
Replies
Boosts
Views
Activity
Oct ’21
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:
Replies
Boosts
Views
Activity
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.
Replies
Boosts
Views
Activity
Nov ’18