Гость » 09 мар 2024, 21:39
Последнее сообщение Гость «
Гость »
I'm trying to get SwiftData to store Core Graphics base structures like CGSize, CGRect, CGPoint, but it doesn't work. I suppose CGVector and CGAffineTransform could be added to the list, but I haven't tried.
My question: What is a smart way to make...
Гость » 09 мар 2024, 21:17
Последнее сообщение Гость «
Гость »
I’d like to write some native code in C or C++ to be used with Swift on iOS. This code would mainly be invoked from Swift but would also need to callback to Swift as well, like shown in this diagram:
Гость » 09 мар 2024, 20:49
Последнее сообщение Гость «
Гость »
I have a SwiftUI app where I attach a listener to a document when a user logs in (I'm using Firebase Auth and email/password sign in). I remove the listener when the user signs out. My users typically stay signed in unless certain events happen to...
Гость » 09 мар 2024, 20:28
Последнее сообщение Гость «
Гость »
Do we have any delegate or mechanism to detect user interaction on this popup from WKWebview iOS Swift?
I would like to know whether user clicks Save Password button.
I couldn't not get access to this popup, I tried printing Keywindow.enter image...
Гость » 09 мар 2024, 20:04
Последнее сообщение Гость «
Гость »
I have a list of cells which take a model as a Bindable and then bind properties of that model to textfields. The problem is that typing into a textfield is incredibly laggy as I assume the value is instantly updated (e.g. TextField( 0 , value:...
Гость » 09 мар 2024, 20:04
Последнее сообщение Гость «
Гость »
I'm using this Lottie library to render a Lottie animation in SwiftUI.
This is my Lottie file, as you can see it is flush against the left margin (left aligned):
Now I try to load this in my app as follows:
VStack(alignment: .leading, spacing:...
Гость » 09 мар 2024, 19:47
Последнее сообщение Гость «
Гость »
In the WWDC talk Enhance your spatial computing app with RealityKit. we see how to create a portal effect with RealityKit. In the Encounter Dinosaurs experience on Vision Pro there is a similar portal, except this portal allows entities to stick out...
Гость » 09 мар 2024, 19:24
Последнее сообщение Гость «
Гость »
i am new in react native i want to run react native app in IOS after react-native init, app not run in IOS show some error
Showing All Messages
bash: Native/social_login/socialLogin/node_modules/react-native/scripts/../Libraries: No such file or...
Гость » 09 мар 2024, 19:02
Последнее сообщение Гость «
Гость »
I created a new flutter project from scratch, added the necessary packages to the pubspec.yaml file and ran the flutter pub get and then pod install command, but I get this error. I get this error both in my old projects and in my new projects.
An...
Гость » 09 мар 2024, 18:52
Последнее сообщение Гость «
Гость »
I have a YouTube view that displays a YouTube video in full screen. The struct is made to auto play when it appears, pause on tap, and has other features. When I put a bunch of these views in a vertical tab view and scroll through sometimes the...
Гость » 09 мар 2024, 18:43
Последнее сообщение Гость «
Гость »
I have a horizontal scrolling collectionView with each cell the size of the view. When I page through the collectionView it doesn't page by cell. The cells aren't in the center of the screen. I've tried a bunch of things to try to fix it and haven't...
Гость » 09 мар 2024, 18:29
Последнее сообщение Гость «
Гость »
I have a web app and for best user experience, I need to hide the toolbar of mobile safari (iOS) .
I know that many websites use an overlay taller than the screen size and some kind of indication for the user to scroll up (like a swipe up gif )....
Гость » 09 мар 2024, 18:05
Последнее сообщение Гость «
Гость »
To integrate an additional image, I utilized the XIB containing the child image, which is enclosed within a circular view to specify its position relative to the parent image. In the provided screenshot, the circular view will dynamically adjust its...
Гость » 09 мар 2024, 17:35
Последнее сообщение Гость «
Гость »
I want to enumerate through an array in Swift, and remove certain items. I'm wondering if this is safe to do, and if not, how I'm supposed to achieve this.
Currently, I'd be doing this:
for (index, aString: String) in enumerate(array) {
//Some of...
Гость » 09 мар 2024, 17:04
Последнее сообщение Гость «
Гость »
I am recording and sending audio via a website. For that purpose I use the MediaRecorder API.
There are no issues when using the site on desktop or Android devices and according to the MediaRecorder documentation, since a release in September 2020,...
Anonymous » 09 мар 2024, 15:36
Последнее сообщение Anonymous «
Anonymous »
I'm using this Lottie library to render a lottie animation in SwiftUI.
This is my lottie file, as you can see it is flush against the left margin (left aligned)
Now I try to load this in my app in SwiftUI as follows:
VStack(alignment: .leading,...
Гость » 09 мар 2024, 15:04
Последнее сообщение Гость «
Гость »
I have downloaded Xcode 6.2 today which replaced previous Xcode 6.1
now to use simulator 7.1 & 8.1 it asks to download both simulators , but for some reason after trying 4-5 times it shows network issues in downloading or request time out (note: in...
Гость » 09 мар 2024, 14:58
Последнее сообщение Гость «
Гость »
I have a navbar with a tiltle and a search bar below it. When scrolling down, the shrinking of the navbar is not animated. Can I make it shrink gradually? Same as in the settings or messages apps. Also is it possbile to make it bounce? For example,...
Вы можете начинать темы Вы можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы можете добавлять вложения