Search results for

column

2,071 results found

Post

Replies

Boosts

Views

Activity

Reply to NSAttributedString doesn't format HTML tables properly on Sonoma
We are seeing this too. What seems to be happening is that the NSTextTableBlock objects representing each cell have different table pointers. In other words, each cell gets put into its own table, leading them to appear under one another. Interestingly, if you convert this attributed string to RTF, and back again, you get something else. You still get separate tables for each cell you input, but it creates empty cells so that the original cells at least have the correct column index, like this... Conclusion: the HTML input seems to generate a new table object for each cell, instead of a single table object for all cells. Submitted this a while back under FB13254682. Have added above FB to that.
Topic: Safari & Web SubTopic: General Tags:
Nov ’23
Data is getting truncated at the page end and displaying other half in next page in a Pdf render. This issue is reproducing only on ios 17 version ipads wheere data is loading with wkwebView.
I need help for this issue which is happening only in ios 17 ipad devices. I have an application which generates report in a pdf form. We are loading the html file as a string to webkit webView which is further helping us by generating the content in pdf format. our report contains rows & columns which uses div tags and few css properties. If we view the report which is in pdf form, the data is getting truncated for a row horizentally at the page end and displaying the remaing truncated data in the next page. This issue is happening only in ios 17 updated devices. It was working fine and displaying the data correctly with same html content. Please let me know any possible ways through which I can resolve this issue. I have tried few properties like page-break-X(inside,before,after)- avoid; margin-bottom, padding etc...nothing worked for me.
0
0
725
Nov ’23
closure #1 in closure #1 in CoreDataManager.persistentContainer.getter
Hello everyone, I am experiencing a very weird issue. There are two scenario, and the crash issue direct to persistentContainer.getter last. I know the error is occur in this line : CoreDataManager.persistentContainer.getter + 51 code block: fatalError(Unresolved error (error), (error.userInfo)) scenario1, Xcode crash report: scenario 2, firebase crashlystic: detail info: ProjectName/CoreDataManager.swift:51: Fatal error: Unresolved error Error Domain=NSCocoaErrorDomain Code=134110 An error occurred during persistent store migration. UserInfo={sourceURL=file:///private/var/mobile/Containers/Shared/AppGroup/8DA377D9-5CE2-47BB-A985-8A8B7CCD071C/FraudInfo.sqlite, reason=Cannot migrate store in-place: I/O error for database at /private/var/mobile/Containers/Shared/AppGroup/8DA377D9-5CE2-47BB-A985-8A8B7CCD071C/FrankInfo.sqlite. SQLite error code:1, 'duplicate column name: ZISSEARCH', destinationURL=file:///private/var/mobile/Containers/Shared/AppGroup/8DA377D9-5CE2-47BB-A985-8A8B7CCD071C/FrankInfo.sqlite,
0
0
1k
Nov ’23
Reply to SwiftUI Table Limit of Columns?
One way to this is to use multiple TableColumnBuilder objects. Using Group removes the ability to sort via the column headers, and fancy column customization was failing for me too. TableColumnBuilders also create more easily organized code. https://developer.apple.com/documentation/swiftui/tablecolumnbuilder/ @TableColumnBuilder> var tableColumns1: some TableColumnContent> { TableColumn( ... Table(of: ObjectType.self, selection: $selection, sortOrder: $sortOrder, columnCustomization: $columnCustomization) { tableColumns1 tableColumns2 tableColumns3 } rows: { ForEach(filteredCompositions) { obj in TableRow(obj) } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’23
MacOS App Core Data app is stuck in "This NSPersistentStoreCoordinator has no persistent stores (schema mismatch or migration failure). It cannot perform a save operation."
I work on a MacOS app (which has a companion iOS app) that uses Core Data with NSPersistentCloudKitContainer. The app also supports widgets and hence there is a need to migrate the persistent store within the core data stack using replacePersistentStore( at:.... During development I recently created a new model version and added a new entity, replaced some attributes etc... Working on the iOS app is fine because deleting the app clears all the data allowing me to work with a clean slate. On MacOS, I initially thought that I could simply navigate to the app group file location, delete the .sqlite file, along with the sqlite-shm and sqlite-wal. I also went and deleted the CloudKit related files. I did all of this out of pure ignorance - my expectation was that it would give me a clean slate, but it did not. This instead gave me some unpredictable behaviour, but the app was always in a bad state. the issues I saw were; • migration failure, • sqlite errors highlighting no such column: t0 - where all the
2
0
944
Nov ’23
Reply to give developer account to programmer?!
List the steps you take to sign in to your developer account. What you are seeing is what someone without a developer account would see if they signed in to Apple. When I sign in to my developer account, I see a Program Resources section with the following columns: App Store Connect, Certificates, IDs, and Profiles, and Additional Resources. Each of these columns has a list of links. Do you see these columns when you sign in? Are you able to click the Users and Access link I mentioned in Step 2 in my earlier answer? When I click the Users and Access link under App Store Connect, I see the following links at the top of the page: People, Sandbox, Keys, Shared Secret, and Xcode Cloud. The People link is the initially selected link. There is a Users sidebar with a list of categories. Selecting the All items shows all the users on my team with an Add button above the list of users. Clicking the Add button lets me add someone to my team. I am not an Apple employee so I cannot provide more
Topic: App & System Services SubTopic: General Tags:
Nov ’23
!! Assistance needed: Create ML - Scan file with multiple tables on it
Objective: I am in the process of developing an application that utilizes machine learning (Core ML) to interact with photographs of documents, specifically focusing on those containing tables. Step 1: Capturing the Image The application will initiate by allowing users to take photos of documents. The key here is not just any part of the document, but specifically the sections where tables are present. Step 2: Image Analysis through Machine Learning Upon capturing the image, the next phase involves a machine learning model. Using Apple's Create ML tool with Swift, the application will analyze the image. The model's task is two-fold: Identifying the Table: Distinguish the table from other document information, ensuring it recognizes and isolates the table structure within the photograph. Ignoring Irrelevant Information: Concurrently, the model will disregard all non-table content, focusing the application's resources on the table data. Step 3: Data Extraction and Training Once the table is identified, the real
1
0
782
Oct ’23
Save and align ARKit created and rendered geometry later in SceneKit
I am exploring ARKit and SceneKit, but I am not sure if what I want to do is possible. In App1: Run an ARKit session using configuration.sceneReconstruction = .mesh I am rending the mesh in func renderer(_ renderer: SCNSceneRenderer, didAdd node: SCNNode, for anchor: ARAnchor) and func renderer(_ renderer: SCNSceneRenderer, didUpdate node: SCNNode, for anchor: ARAnchor) and the mesh appears correct I have set up a button that does the following: Capture the mesh to an .obj file (based off the excellent answer in here) Capture a snapshot (SCNView snapshot) Store the AR Camera Transform Store the AR SCN View Point Of View Projection Transform Storing the transforms in a CSV, and taking care to ensure I restore them in column major order. In App2: Load the geometry from the .obj file into SCNNode, do not apply any transform to it, apply a wireframe to it so I can visualise it Add a camera and apply the 2 saved transforms (AR Camera Transform and then AR SCN View Point Of View Projection Transform Set th
0
0
690
Oct ’23
"Selects Code Structure" not visible in Xcode Settings > Navigation
Hi, I'm trying to change the behaviour of Command-click on Code under Xcode > Settings > Navigation to display the Action menu to use features such as Add Column Breakpoint. But unfortunately the option Selects Code Structure is not visible when unfolding for different options, the only choices are Jumps To Definition and Multi Cursor. I have seen other users having Selects Code Structure instead of Multi Cursor, I really wonder how Multi Cursor got there 😅 . Is there a way to make Selects Code Structure visible and selectable? Any help would be appreciated. I'm running Xcode 15 on macOS Sonoma.
4
0
945
Oct ’23
Reply to UITabBarController as secondary controller in UISplitViewController is producing 2 navigation bars in compact view
When using the column based split view controller, it presumes that clients want a navigation controller in each of its non-compact columns and will wrap a view controller in one of not provided. This is primarily so that collapsing (when it moves from multiple to single column) behaves deterministically and automatically. So what is happening is you're getting a tab bar controller wrapped in a navigation controller with additional navigation controllers inside – and thus double navigation bars. Realistically this may be a case where you want to create your own custom view controller container instead of using UISplitViewController, as I'm not sure how many of the edge cases you would hit might be resolved.
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’23
Reply to Random "duplicate column name" crashes using SwiftData
I had the exact same problem. On the first startup everything is ok, then on the second one it crashes. It seems SwiftData doesn't see the already existing column for one-to-many relationship. This, in turn, crashes the application because of the duplicated column. The solution that I found is to explicitly create the inverse relationship in the second model. So, in your case, changing your DeskPosition model to this: @Model final class DeskPosition { let id: UUID var title: String var desk: Desk? private var heightInCm: Double @Transient var height: DeskHeight { get { DeskHeight(value: heightInCm, unit: .centimeters).localized } set { heightInCm = newValue.converted(to: .centimeters).value } } init(id: UUID, height: DeskHeight, title: String) { self.id = id self.heightInCm = height.converted(to: .centimeters).value self.title = title self.height = height } }
Oct ’23
Air M2 DevTools insane cpu usage
I recently switched from Windows to a macbook air m2 with 16gbs ram. It was all great in the beginning and now after a week it when using devtools in Chrome, Brave, Firefox.. the helper (renderer) process goes up to 150% in the cpu (%) column and there's 2 of these at 100%+ each. I tried running the same thing on my Windows machine and it runs normally. On the mac it doesnt even load the autofill for css properties, it lags way too much, makes the whole system unusable and hot. My windows machine is not even close to match the performance of the m2. I am not sure what's wrong, any suggestions? I disabled hardware acceleration, I have no extensions (even disabled the google docs offline extension), system is up to date, chrome is up to date, cleared storage and cache. I feel like I am out of options.
0
0
295
Oct ’23