Hi Keegan,
thanks for responding. After reading the first part of the Apple tutorial Apple Developer Documentation , I figured out the error with the "lazy var persistentContainer⊠" The RW Tutorial says âNow, add the following at the end of SceneDelegateâ. But you really mean add it the class and not the file right? So I suggest more precision in the English.
FWIW, Apple make this declaration in the AppDelegate. Iâm not sure if this makes a difference if any but Iâll go with the Apple way when I implement.
The compiler messages from Xcode 11.5 before I make any of the modifications are below. They look like theyâre related to layout issues but it would be nice if they werenât there. While Iâm new to Swift and RW none of the other RW tutorials Iâve done have issues like this. These messages and the difference between the RW tutorial and Appleâs documentation erode confidence.
Thanks
Richard
2020-05-26 17:20:32.983008+1000 FaveFlicks[6798:2526252] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600003df5d80> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2020-05-26 17:20:41.049761+1000 FaveFlicks[6798:2526041] [LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you donât want.
Try this:
(1) look at each constraint and try to figure out which you donât expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
â<NSLayoutConstraint:0x600001e01540 âassistantHeightâ TUISystemInputAssistantView:0x7f886be1a300.height == 44 (active)>â,
â<NSLayoutConstraint:0x600001e14d20 âassistantView.bottomâ TUISystemInputAssistantView:0x7f886be1a300.bottom == _UIKBCompatInputView:0x7f886bf5b0f0.top (active)>â,
â<NSLayoutConstraint:0x600001e14cd0 âassistantView.topâ V:|-(0)-[TUISystemInputAssistantView:0x7f886be1a300] (active, names: â|â:UIInputSetHostView:0x7f886bf65dc0 )>â,
â<NSLayoutConstraint:0x600001e0db30 âinputView.topâ V:|-(0)-[_UIKBCompatInputView:0x7f886bf5b0f0] (active, names: â|â:UIInputSetHostView:0x7f886bf65dc0 )>â
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001e14d20 âassistantView.bottomâ TUISystemInputAssistantView:0x7f886be1a300.bottom == _UIKBCompatInputView:0x7f886bf5b0f0.top (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-05-26 17:23:24.158389+1000 FaveFlicks[6798:2529008] -[_UIRemoteKeyboards proxy]_block_invoke Failed to access remote service: Error Domain=NSCocoaErrorDomain Code=4099 âThe connection to service on pid 6677 named com.apple.UIKit.KeyboardManagement.hosted was invalidated from this process.â UserInfo={NSDebugDescription=The connection to service on pid 6677 named com.apple.UIKit.KeyboardManagement.hosted was invalidated from this process.}
2020-05-26 17:23:24.173149+1000 FaveFlicks[6798:2526041] [Snapshotting] Snapshotting a view (0x7f886d840000, UIKeyboardImpl) that is not in a visible window requires afterScreenUpdates:YES.
2020-05-26 17:23:46.565002+1000 FaveFlicks[6798:2526041] [Snapshotting] Snapshotting a view (0x7f886c010e00, UIKeyboardImpl) that has not been rendered at least once requires afterScreenUpdates:YES.
Message from debugger: Terminated due to signal 9