Search results for

column

2,047 results found

Post

Replies

Boosts

Views

Activity

Reply to Field recordName is not marked queryable
When I created the first scheme on CK, there was no problem, but once I try to modify the scheme, adding more tables and adding more columns to existing tables, I got the same error. In my case there were some tables created automatically, like Users and CDMR. I just had to add SORTABLE and QUERYABLE to CDMR And it solved the problem. I ended up adding to every single table just in case 😅 Indexes: createdTimestamp: QUERYABLE and SORTABLE 2.modifiedTimestamp: QUERYABLE and SORTABLE recordName: QUERYABLE and SORTABLE I have added the above to all tables
Dec ’24
[License Agreement] Can not accept license agreement
Hi, can someone help me, I can not find any button to accept this license agreement. I am Account Holder, and after clicking to account link, it redirects to my developer account. I accepted it in my developer account, but when I come back to Apple Store Connect, this agreement is still there, and no accept button for me in Action column.
8
0
2.9k
Jan ’22
Reply to GeometryReader problem
It turns out that the problem isn't with GeometryReader, it's with LazyVGrid. I'm not clear on why, but my grid with 5 columns doesn't always report the same size. I can make it work by adding a 6th column that doesn't get used in the view. Very odd.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’24
Reply to Create Anchor on Objects from 2D Data
Hi @christiandevin It sounds like you want to convert a 2D point, on an image (of the left camera frame), to its corresponding location in 3D space. Before we discuss this, I want to bring your attention to a bug: The camera intrinsic matrix is row major instead of column major. I suspect this bug is the cause of the unexpected behavior @tsia observed. To account for this, look for the principal point and focal length at different positions in the intrinsic matrix (see snippet). Now let's turn to your goal. I'll refer to the 2D point on the image as the observation point. Using the camera intrinsic and extrinsic data with queryDeviceAnchor, you can convert the observation point to a 3D point (in world space) that represents the observation's location relative to the left camera's projection plane. That's not the same as its position in 3D space. Imagine seeing the world through a piece of glass (which represents the projection plane), the former is a point on that glass and the latter is the actual p
Topic: Spatial Computing SubTopic: ARKit Tags:
Dec ’24
Reply to SwiftUI charts, how do I align these X axis labels correctly?
Look at your image and imagine there's a blue column immediately to the right of every red column. Now, the x-axis labels look like they're in the centre of the two columns. So, is your chart supposed to have two columns for each value? If not, in this line: AxisMarks(position: .automatic, values: shownXValues) { val in can position: .automatic be changed to something else? Also, is .useAppFont() a SwiftUI thing, or something you've written yourself? I've never seen it before.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’24
No audio on device speakers, works fine with headphones / airplay
hi I am having a issue with sound on a network video stream, the stream is loaded by a m3u,. during playback there is no audio from the device, however when using headphones / airplay audio works correctly. the other peculiar thing is the device simulator works fine. this maybe related to airplay working, but I don't know. this is the view handling the playback. Im not sure where the issue is. I can also play the videos fine when embedding the avplayer in its own view. but that looks messy when you have to dismiss a second window when closing the video. #if os(iOS) import SwiftUI import AVKit import MediaPlayer struct iOSVideoLibraryView: View { @ObservedObject var videoLibrary: VideoLibrary @State private var isPlayerDismissed = false let LiveStreams = [GridItem(.flexible()), GridItem(.flexible()), GridItem(.flexible())] let VODStreams = [GridItem(.flexible()), GridItem(.flexible()), GridItem(.flexible()), GridItem(.flexible())] var body: some View { NavigationView { ScrollView { LazyVGrid(columns:
2
0
1.2k
Jun ’23
How to update data in a DataFrame
My project loads a CSV into a DataFrame and displays it in a Table (a MacOS app). So far so good ... but when trying to update a value in a column, I dont see anyway to update this value. The table gets the value for the column like this: func getColumnValue(row :DataFrame.Rows.Element, columnName :String) -> String { if row.base.containsColumn(columnName) { var value = if row[columnName] != nil { value = (row[columnName]!) } return value } ... But the documentation and googles dont show any way to update the same column. Any help is appreciated with cookies. Attempt to update: func setColumnValue(row :DataFrame.Rows.Element, columnName :String, value :String) { var column: [String?] = data[columnName] column[row.id] = value ... }
6
0
654
Dec ’24
.chartXScale not scaling domain of Chart as expected
Hi, I'm currently wrestling with the .chartXScale(domain:) modifier in order to get my Chart to display correctly. The basics of the Chart look like this. Chart(measurements, id: .timestamp) { measurement in if let total = measurement.production?.total { BarMark( x: .value( Timestamp, measurement.timestamp, unit: .weekOfYear, calendar: .current ), y: .value( Solar production, total ) ) } } As anyone familiar with Charts can see, I sort data into columns based on what week of the year the measurements belong to. Some of them can be null, and when they are, I still want space in the Chart where a BarMark would've been to be taken up, like week number 4 in this example chart (in which I've defaulted all measurements that are null in week 4 to 0, for demonstration purposes): To achieve that, as I understand, I'm meant to use the .chartXScale(domain:) modifier, but when I apply the following modifier... .chartXScale(domain: firstDayOfMonth...firstDayOfNextMonth) ... (where the domain is from the first day
9
0
1.3k
Jul ’24
Reply to Investigating kext memory leak with lldb and KDK
Is there a way I can use the lldb user defined commands, which I can load from a KDK, to determine how much memory my kext has consumed? Is there a way to figure out what size blocks they are? Sort of. Keep in mind that your KEXT is simply a loadable library running inside the component, not an independant process/component. Just like in a user space process, there are a variety of mechanisms in place to associate memory allocations to components, but the information you get depends entirely on exactly what you're doing and why. In terms of commands, the kernel debugging command set has 400+ separate commands, many of which are specific to memory. You can see the full command list and a summary of each with the lldb command kgmhelp and each command accepts -h for more specific info. Taking zprint (one of the common starting points for looking at memory issues) as an example: (lldb) kgmhelp ... zprint - Routine to print a summary listing of all the kernel zones ... (lldb) zprint -h zprint: Routine to print a s
Dec ’24
Reply to how to show stickers in 2 columns instead of 3 on iMessage sticker pack app.
You can always create a custom sticker pack to have maximum control. You can see an example here. There are options for setting the columns in the attributes inspector on the right side panel in Xcode. If this is not working correctly in the default Xcode templated sticker pack, that would be a bug. The only workaround would be to write a sticker pack from scratch. Rico WWDR | DTS | Software Engineer
Topic: Design SubTopic: General
Dec ’24
Reply to How to update data in a DataFrame
I’m not 100% sure I understand your question, but if you just want to modify a value at a known column / row then you can do that using subscripts. Here’s a simple example that corrects the publication date of Planet of Exile: import Foundation import TabularData let novels60s = Title,Year Rocannon's World,1966 Planet of Exile,1967 City of Illusions,1967 A Wizard of Earthsea,1968 The Left Hand of Darkness,1969 func test() throws { var df = try DataFrame(csvData: Data(novels60s.utf8)) print(before:n(df)) df[Year][1] = 1966 print(after:n(df)) } try test() It prints: before: ┏━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┓ ┃ ┃ Title ┃ Year ┃ ┃ ┃ ┃ ┃ ┡━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━┩ │ 0 │ Rocannon's World │ 1,966 │ │ 1 │ Planet of Exile │ 1,967 │ │ 2 │ City of Illusions │ 1,967 │ │ 3 │ A Wizard of Earthsea │ 1,968 │ │ 4 │ The Left Hand of Darkness │ 1,969 │ └───┴───────────────────────────┴───────┘ 5 rows, 2 columns after: ┏━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┓ ┃ ┃ Title ┃ Year ┃ ┃ ┃ ┃
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’24
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 Can an Persional developer account develop, debug, and publish Network Extension apps?
[quote='769825021, yuhantu, /thread/769825, /profile/yuhantu'] Can an Persional developer account develop, debug, and publish Network Extension apps? [/quote] No, presuming that you’re talking about a Personal Team. The Apple Developer column in Developer Account > Reference > Supported capabilities (iOS) shows what you can do with a Personal Team. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Dec ’24
Reply to Help Loading an External CSV File on iOS in Swift
I was able to load a CSV into a TabularData based SwiftUI app -- loading and displaying was no issue ... but, HOW to update a value in a column. I created a bindable textfield for the columns in the table, and it displays the value for the rows/columns, and while the code to update the column compiles, it never updates the value in the DataFrame. Is a DataFrame read only ?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’24