Posts

Post not yet marked as solved
145 Replies
I have the same problem. Really have to get out an update.
Post marked as solved
8 Replies
This has been supported for a while and you can find some information here: https://twitter.com/palmin/status/1177860144258076673?s=20 I make a Git & SSH client where the Files locations support folder picking this way. Since iOS 16 it has also been possible to implement NSFileProviderReplicatedExtension which makes folder picking possible with less work and responsibility from the 3rd party app. I have two other apps doing this.
Post not yet marked as solved
3 Replies
Are the code samples for using TipKit with UIKit ready yet and if so where can we find them?
Post marked as solved
18 Replies
I'm getting this is a consequence of making a UITextField inside one of the cells first responder in viewDidAppear.Looking at the stack trace it seems to be UIKit that calls visibleCells.Thread 1 Queue : com.apple.main-thread (serial) #0 0x000000010e8eaf27 in objc_exception_throw () #1 0x000000010f55d8e8 in +[NSException raise:format:arguments:] () #2 0x000000010e253c29 in -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] () #3 0x0000000113f863a8 in -[UITableView _visibleCellsUsingPresentationValues:] () #4 0x0000000113f93cc4 in -[UITableView _scrollFirstResponderCellToVisible:] () #5 0x0000000113fab37c in -[UITableView _adjustForAutomaticKeyboardInfo:animated:lastAdjustment:] () #6 0x00000001135af9fb in -[UIAutoRespondingScrollViewControllerKeyboardSupport _adjustScrollViewForKeyboardInfo:] () #7 0x00000001135afa77 in -[UIAutoRespondingScrollViewControllerKeyboardSupport _keyboardWillShow:] () #8 0x000000010f4886fc in __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ () #9 0x000000010f487b79 in _CFXRegistrationPost1 () #10 0x000000010f4878bf in ___CFXNotificationPost_block_invoke () #11 0x000000010f584973 in -[_CFXNotificationRegistrar find:object:observer:enumerator:] () #12 0x000000010f487226 in _CFXNotificationPost () #13 0x000000010e2b5108 in -[NSNotificationCenter postNotificationName:object:userInfo:] () #14 0x0000000113b8b044 in __59-[UIInputWindowController postStartNotifications:withInfo:]_block_invoke () #15 0x0000000113b8ab94 in -[UIInputWindowController postStartNotifications:withInfo:] () #16 0x0000000113b8e03e in __77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke.839 () #17 0x00000001142674a7 in +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] () #18 0x00000001142678f7 in +[UIView(UIViewAnimationWithBlocks) _animateWithDuration:delay:options:animations:start:completion:] () #19 0x0000000113b8daae in -[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:] () #20 0x0000000113b9324d in -[UIInputWindowController setInputViewSet:] () #21 0x0000000113b8d122 in -[UIInputWindowController performOperations:withAnimationStyle:] () #22 0x0000000113899b12 in -[UIInputResponderController setKeyWindowSceneInputViews:animationStyle:] () #23 0x000000011389926e in -[UIInputResponderController setInputViews:animationStyle:] () #24 0x000000011389a392 in -[UIInputResponderController setInputViews:animated:] () #25 0x000000011389a3f9 in -[UIInputResponderController setInputViews:] () #26 0x0000000113897e50 in -[UIInputResponderController _reloadInputViewsForKeyWindowSceneResponder:] () #27 0x0000000113897163 in -[UIInputResponderController _reloadInputViewsForResponder:] () #28 0x0000000113de334d in -[UIResponder(UIResponderInputViewAdditions) reloadInputViews] () #29 0x0000000113ddea3c in -[UIResponder becomeFirstResponder] () #30 0x000000011425d3ea in -[UIView(Hierarchy) becomeFirstResponder] () #31 0x0000000114088a50 in -[UITextField becomeFirstResponder] () #32 0x000000011425d42c in -[UIView(Hierarchy) deferredBecomeFirstResponder] () #33 0x000000011425d4d0 in -[UIView(Hierarchy) _promoteSelfOrDescendantToFirstResponderIfNecessary] () #34 0x000000011425d947 in __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke () #35 0x000000011425d7d4 in -[UIView(Hierarchy) _postMovedFromSuperview:] () #36 0x000000011426cd8a in -[UIView(Internal) _addSubview:positioned:relativeTo:] () #37 0x0000000113f7329e in -[UITableView _addSubview:positioned:relativeTo:] () #38 0x0000000114201aea in -[UIScrollView _addContentSubview:atBack:] () #39 0x0000000113f72fec in -[UITableView _addContentSubview:atBack:] () #40 0x0000000113f96096 in __53-[UITableView _configureCellForDisplay:forIndexPath:]_block_invoke () #41 0x0000000114265d65 in +[UIView(Animation) performWithoutAnimation:] () #42 0x0000000113f95816 in -[UITableView _configureCellForDisplay:forIndexPath:] () #43 0x0000000113fa7986 in -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] () #44 0x0000000113fa7e0b in -[UITableView _createPreparedCellForGlobalRow:willDisplay:] () #45 0x0000000113f7145d in -[UITableView _updateVisibleCellsNow:] () #46 0x0000000113f90f63 in -[UITableView layoutSubviews] () #47 0x0000000114273821 in -[UIView(CALayerDelegate) layoutSublayersOfLayer:] () #48 0x0000000110b57b11 in -[CALayer layoutSublayers] () #49 0x0000000110b5c51b in CA::Layer::layout_if_needed(CA::Transaction*) () #50 0x0000000110b68c44 in CA::Layer::layout_and_display_if_needed(CA::Transaction*) () #51 0x0000000110ab1a23 in CA::Context::commit_transaction(CA::Transaction*, double) () #52 0x0000000110ae6ecd in CA::Transaction::commit() () #53 0x0000000113ddaf20 in _afterCACommitHandler () #54 0x000000010f4c07c7 in __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ () #55 0x000000010f4bb26e in __CFRunLoopDoObservers () #56 0x000000010f4bb8ea in __CFRunLoopRun () #57 0x000000010f4bafd6 in CFRunLoopRunSpecific () #58 0x00000001191b99f8 in GSEventRunModal () #59 0x0000000113db1722 in UIApplicationMain () #60 0x000000010d6ccb6b in main at /Users/ander/opgaver/ShellFish/ShellFish/AppDelegate.swift:19 #61 0x0000000111f3c6ad in start ()