Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
0 answers
12 views

Issue with Dequeuing Custom Cells in Main Storyboard

I'm encountering an NSInternalInconsistencyException when trying to dequeue custom cells designed in XIB files in my main storyboard. The error message is: unable to dequeue a cell with identifier ...
bumblebee's user avatar
0 votes
1 answer
24 views

Easing functions for using CADisplayLink

I need to manually animate something frame by frame in SwiftUI using CADisplayLink, which provides me frame to frame updates. For animating a value from a to b in a linear fashion, the implementation ...
bli00's user avatar
  • 2,541
0 votes
0 answers
27 views

UITableViewCell reload while scrolling the screen

I have this UITableView in my iOS chat application, I'm using NSFetchedResultsController to fetch new messages from Coredata and show them to the screen. Insert a new message to the bottom of the ...
YosiFZ's user avatar
  • 7,872
0 votes
1 answer
22 views

How to write UIImage extension to add tint color to the image with signature UIImage(resource, color)

Please find my code convenience init?(resource: ImageResource, color: UIColor) { let image = UIImage(resource: resource).withTintColor(color) self.init() } Please mention what I am missing
AppleDeveloper's user avatar
0 votes
0 answers
33 views

Gesture event is not triggered on real device if view is outside of parent view bounds

I am facing an issue that occurs only on real device, specifically, I am trying to trigger gesture recognizer and expand the image with animation by tapping on image profile view which is inside of a ...
Andrew's user avatar
  • 25
0 votes
0 answers
24 views

How to fix the error in Xcode after installing realm? [closed]

Hi) Started learning realm in swift, when installing it in a project it gives the following errors Messaging unqualified id with a method that is possibly direct and Multiple methods named '...
Константин's user avatar
1 vote
2 answers
48 views

iOS bottom sheet with fraction detents UIKit

I would like to open bottom sheet with custom option and not medium or large detents.I checked in SwiftUI there is API called .fraction but couldn't find similar API in UIKit. SwiftUI Text("Detail"...
Rock's user avatar
  • 1,498
-2 votes
0 answers
44 views

How can I have two UIGestureRecognizers that detect pans with different amounts of fingers?

Say I have two UIPanGestureRecognizers, each on different UIViews, placed directly above each other. If I wanted to have one only recognise pans with one finger, and another only those with two ...
David's user avatar
  • 117
-1 votes
0 answers
15 views

Implementing Sticky Headers with UICollectionView: Choosing Between NSDiffableDataSourceSectionSnapshot and NSDiffableDataSourceSnapshot

NSDiffableDataSourceSectionSnapshot has no knowledge of "Section". It only knows the parent item (first item) and child items (rest of the items). Therefore, we can only use layoutConfig....
Cheok Yan Cheng's user avatar
0 votes
0 answers
37 views

Thread 2: EXC_BREAKPOINT (code=1, subcode=0x102816584) How to resolve this error

Could you explain how and why it acts like this and if you have some exact sources also please share. I am following Youtube tutorial where he used Rick and Morty API, so I want to show Episode list ...
Almat Kairatov's user avatar
-4 votes
0 answers
51 views

Why isn't CADisplayLink Sendable?

I'm looking at the this SoF answer and when I tried it out, I got the warning: Non-sendable type 'CADisplayLink?' returned by implicitly asynchronous call to nonisolated function cannot cross actor ...
bli00's user avatar
  • 2,541
0 votes
1 answer
24 views

Transfer gestures to view on other UIWindow?

I have a set-up in my iOS app where I have two UIScreens (and thus two UIWindows) - one on the device, and the other on an external display. I want the user to be able to make a gesture on their ...
David's user avatar
  • 117
-1 votes
1 answer
27 views

Specifying Item Spacing in UICollectionLayoutListConfiguration

Currently, I am using UICollectionViewCompositionalLayout to achieve the following list layout with spacing: We were thinking of trying out UICollectionLayoutListConfiguration due to its ability to ...
Cheok Yan Cheng's user avatar
-1 votes
0 answers
19 views

Customizing Drop Location View in UICollectionView Drag and Drop

Currently, this is how I implement the drag and move operation: collectionView.beginInteractiveMovementForItem collectionView.updateInteractiveMovementTargetPosition collectionView....
Cheok Yan Cheng's user avatar
1 vote
1 answer
30 views

How Driver in RxSwift doe't make circular reference

I'm student studying ios developer I wonder how Driver doen't make circular reference? below two codes show different result // viewController deinit publishRelay .asDriver(onErrorJustReturn: &...
Choijun0's user avatar

15 30 50 per page
1
2 3 4 5
363