Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
244 views

After updating to Xcode 26, I’m no longer able to load SwiftUI previews in new projects. The preview pane shows the error: Cannot preview in this file. Interestingly, if I disable “Automatically ...
Michael_Gruszka's user avatar
1 vote
0 answers
40 views

I am currently trying to adopt keyboard shortcuts for frequent tasks, where using the mouse has become cumbersome. When writting c and c++, I find myself setting up two tab groups and opening make, .h,...
PedroCarreiras's user avatar
0 votes
0 answers
76 views

How do I generate a preview in the printdialog box in vb.net. In the frame where the preview would appear, the message "This app doesn't support print preview' appears. (Pictured below) I use ...
E Bell's user avatar
  • 21
0 votes
0 answers
28 views

I am a beginner with Android Studio. Below code causes renderproblem in preview window. Any idea why this is? Maybe the context? I didn't find any other context variable that didn't give an error. @...
Hans Hubers's user avatar
0 votes
1 answer
113 views

I'm developing an iOS application using SwiftUI, and I have a custom view called DashboardView which takes an @ObservedObject of type SessionStore. The problem: the preview does not show at all in ...
user30543597's user avatar
0 votes
1 answer
102 views

I encountered an issue with the Avalonia Previewer where Unicode characters (specifically U+1F5D5) were not rendered properly. The Previewer would not display correctly when trying to use this ...
Jo Lu's user avatar
  • 1
0 votes
0 answers
67 views

I'm using the CamerAwesome plugin in Flutter to capture images. My goal is to have a 1:1 aspect ratio for both the preview and the final captured image. While I have set up the preview to display in 1:...
Anah's user avatar
  • 61
4 votes
1 answer
3k views

I was not able to run any previews in my framework, and I received the following message: 'XCPreviewAgent crashed due to fatalError...'. I managed to fix the issue myself, and since it wasn't easy, I ...
coco's user avatar
  • 5,080
0 votes
1 answer
47 views

I've created a react SPA. But when I share the link, it neither generates the link preview nor the description & title. I used meta tags from metatags.io for preview but it didn't work. This ...
Syed Anas Raza Bukhari's user avatar
0 votes
0 answers
57 views

SOLVED, thanks to @JoakimDanielson. Hope this helps others... I was trying to understand @State and @Binding, and was getting stuck in the preview for SwiftUI. As you will see, I was trying to learn ...
Tim Erickson's user avatar
3 votes
1 answer
280 views

I'm using jetpack compose in a project. I'm using android studio Koala 2024.1.2 Patch 1. I'm using everything almost to the latest versions. I have a simple composable screen (a bunch of Composable ...
JFValdes's user avatar
  • 456
1 vote
0 answers
37 views

If I try to debug a project while the preview is open for Composables (Split - Alt+Shift+Right), the debugger fails to connect. I have to close the split (click the code button) to run the code. Why ...
user14448's user avatar
1 vote
1 answer
163 views

Problem: When using CameraPreview, the camera screen is in Landscape mode and the Aspect Ratio is slightly off. This is quite strange because the same code works fine in other projects. What could be ...
jiyong Yoon's user avatar
0 votes
1 answer
243 views

I have a Google Sheet with a bunch of links in it. I don't want to look at ugly urls so I have them renamed to simply say "Link". However I can't preview the links like this. I haven't been ...
Mystery's user avatar
  • 11
2 votes
1 answer
874 views

toady (Aug 20,2024) I updated my Visual Studio 2022 both stable and preview versions 17.11.0 and 17.12.0 Preview 1 respectively by running the Visual Studio Installer and choosing both to be updated. ...
Babu Mannavalappil's user avatar
1 vote
0 answers
68 views

Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state. I was trying to get the image preview in ...
Keshav Mittal's user avatar
1 vote
0 answers
117 views

I'm working in a Next.js 13 app, using Contentful CMS. I have the rights ENV vars and i want to have the preview of each post before to publish it. I wrapped my _app.js with import { ...
Agustin G.'s user avatar
-1 votes
1 answer
82 views

how to refactor this code to Xcode 15 and make preview works? struct HistoryView_Previews: PreviewProvider { static var history: History { History(attendees: [ DailyScrum....
fuRjNg JGYKK's user avatar
0 votes
1 answer
731 views

The #Preview macro is frustrating me! Test data that looks obvious to me fails to build. Here is a stripped down example:- import SwiftUI struct TestView: View { @State private var ...
GraemeC's user avatar
1 vote
2 answers
592 views

i am developing a preview function where i want to view objects from my s3 aws bucket. i get this url: https://[BUCKET NAME].s3.us-east-2.amazonaws.com/[FILE NAME].[EXTENTION] and when i open it the ...
Mrudu's Stack's user avatar
0 votes
1 answer
117 views

Xcode is giving me this error: Cannot convert value of type 'Match?' to expected element type 'Array.ArrayLiteralElement' (aka 'Match') in the Preview on the line: Match(dictionary: ["initiator&...
The Outstanding Question Asker's user avatar
2 votes
1 answer
3k views

I've got to implement a chat feature with similar interactions like in iMessages. We decided to use SwiftUI because it should be faster. But now I am stuck when implementing the reactions view. ...
Raul Batista's user avatar
1 vote
1 answer
2k views

I tried to build my Vite + React app but when i do npm run preview the page goes blank. vite.config.js import external from "rollup-plugin-peer-deps-external"; import { defineConfig } from &...
Camila's user avatar
  • 39
1 vote
0 answers
54 views

Could anyone help me with the following issue: I have a Java web application using Vaadin as a framework(version 7.7.3) for the web interface. A user can upload a file in different formats such as PDF,...
gonzay's user avatar
  • 11
2 votes
1 answer
187 views

I ran this command in terminal that I found on here and it has led to my macbook laptop becoming very slow. It has now resulted in the system continually hanging. sudo mkdir -p /Library/Preferences/...
Muhammad Ismail's user avatar

1
2 3 4 5
35