diff --git a/CustomKeyboard/View/Chat/KBChatPanelView.m b/CustomKeyboard/View/Chat/KBChatPanelView.m index a44d077..faf8fb2 100644 --- a/CustomKeyboard/View/Chat/KBChatPanelView.m +++ b/CustomKeyboard/View/Chat/KBChatPanelView.m @@ -318,6 +318,7 @@ static const NSUInteger kKBChatMessageLimit = 10; - (UILabel *)titleLabel { if (!_titleLabel) { _titleLabel = [[UILabel alloc] init]; + _titleLabel.hidden = true; _titleLabel.font = [UIFont systemFontOfSize:13 weight:UIFontWeightMedium]; _titleLabel.textColor = [UIColor kb_dynamicColorWithLightColor:[UIColor colorWithHex:0x1B1F1A] diff --git a/Library/Logs/CoreSimulator/CoreSimulator.com.apple.dt.xcodebuild.log b/Library/Logs/CoreSimulator/CoreSimulator.com.apple.dt.xcodebuild.log new file mode 100644 index 0000000..85f9f82 --- /dev/null +++ b/Library/Logs/CoreSimulator/CoreSimulator.com.apple.dt.xcodebuild.log @@ -0,0 +1,42 @@ +Feb 5 20:30:09 macbookpro com.apple.dt.xcodebuild[56551] : Unable to deliver request ({ + "developer_dir" = "/Applications/Xcode.app/Contents/Developer"; + request = "set_developer_dir"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:30:22 macbookpro com.apple.dt.xcodebuild[56567] : Unable to deliver request ({ + "developer_dir" = "/Applications/Xcode.app/Contents/Developer"; + request = "set_developer_dir"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : Unable to deliver request ({ + "developer_dir" = "/Applications/Xcode.app/Contents/Developer"; + request = "set_developer_dir"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : Unable to discover any Simulator runtimes. Developer Directory is /Applications/Xcode.app/Contents/Developer. +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : Could not kickstart simdiskimaged; SimDiskImageManager services will not be available: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply from CoreSimulatorService: Connection invalid} +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : simdiskimaged returned error (invalid), marking disconnected. +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : Could not get list of trusted mount directories: Error Domain=com.apple.CoreSimulator.SimError Code=410 "The service used to manage runtime disk images (simdiskimaged) crashed or is not responding" UserInfo={NSLocalizedDescription=The service used to manage runtime disk images (simdiskimaged) crashed or is not responding} +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : simdiskimaged returned error (invalid), marking disconnected. +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : Unable to deliver request ({ + request = "notification_subscription"; + "set_path" = "/Users/mac/Library/Developer/CoreSimulator/Devices"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : Unable to deliver request ({ + request = "notification_subscription"; + "set_path" = "/Users/mac/Library/Developer/CoreSimulator/Devices"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : Unable to deliver request ({ + "developer_dir" = "/Applications/Xcode.app/Contents/Developer"; + request = "set_developer_dir"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : Unable to discover any Simulator runtimes. Developer Directory is /Applications/Xcode.app/Contents/Developer. +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : Could not kickstart simdiskimaged; SimDiskImageManager services will not be available: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply from CoreSimulatorService: Connection invalid} +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : simdiskimaged returned error (invalid), marking disconnected. +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : Could not get list of trusted mount directories: Error Domain=com.apple.CoreSimulator.SimError Code=410 "The service used to manage runtime disk images (simdiskimaged) crashed or is not responding" UserInfo={NSLocalizedDescription=The service used to manage runtime disk images (simdiskimaged) crashed or is not responding} +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : simdiskimaged returned error (invalid), marking disconnected. +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : Unable to deliver request ({ + request = "notification_subscription"; + "set_path" = "/Users/mac/Library/Developer/CoreSimulator/Devices"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : Unable to deliver request ({ + request = "notification_subscription"; + "set_path" = "/Users/mac/Library/Developer/CoreSimulator/Devices"; + }) because we are not connected to CoreSimulatorService. diff --git a/_DerivedData/Logs/Package/800731DD-5595-43EC-B207-003BAB7870CE.xcactivitylog b/_DerivedData/Logs/Package/800731DD-5595-43EC-B207-003BAB7870CE.xcactivitylog deleted file mode 100644 index 9a84347..0000000 Binary files a/_DerivedData/Logs/Package/800731DD-5595-43EC-B207-003BAB7870CE.xcactivitylog and /dev/null differ diff --git a/_DerivedData/Logs/Package/8E255990-30E2-4820-98AE-0559FF9CB504.xcactivitylog b/_DerivedData/Logs/Package/8E255990-30E2-4820-98AE-0559FF9CB504.xcactivitylog new file mode 100644 index 0000000..572be49 Binary files /dev/null and b/_DerivedData/Logs/Package/8E255990-30E2-4820-98AE-0559FF9CB504.xcactivitylog differ diff --git a/_DerivedData/Logs/Package/C9B2536F-0143-4FD7-90C7-C8F37E9F59D6.xcactivitylog b/_DerivedData/Logs/Package/C9B2536F-0143-4FD7-90C7-C8F37E9F59D6.xcactivitylog new file mode 100644 index 0000000..b180a2f Binary files /dev/null and b/_DerivedData/Logs/Package/C9B2536F-0143-4FD7-90C7-C8F37E9F59D6.xcactivitylog differ diff --git a/_DerivedData/Logs/Package/LogStoreManifest.plist b/_DerivedData/Logs/Package/LogStoreManifest.plist index 8a20e97..8f404d6 100644 --- a/_DerivedData/Logs/Package/LogStoreManifest.plist +++ b/_DerivedData/Logs/Package/LogStoreManifest.plist @@ -6,7 +6,7 @@ 11 logs - 800731DD-5595-43EC-B207-003BAB7870CE + 8E255990-30E2-4820-98AE-0559FF9CB504 className IDECommandLineBuildLog @@ -15,7 +15,7 @@ domainType Xcode.IDEActivityLogDomainType.BuildLog fileName - 800731DD-5595-43EC-B207-003BAB7870CE.xcactivitylog + 8E255990-30E2-4820-98AE-0559FF9CB504.xcactivitylog hasPrimaryLog primaryObservable @@ -34,13 +34,49 @@ signature Resolve Packages timeStartedRecording - 788359220.39837599 + 791987515.57282996 timeStoppedRecording - 788359220.51885402 + 791987515.86043 title Resolve Packages uniqueIdentifier - 800731DD-5595-43EC-B207-003BAB7870CE + 8E255990-30E2-4820-98AE-0559FF9CB504 + + C9B2536F-0143-4FD7-90C7-C8F37E9F59D6 + + className + IDECommandLineBuildLog + documentTypeString + <nil> + domainType + Xcode.IDEActivityLogDomainType.BuildLog + fileName + C9B2536F-0143-4FD7-90C7-C8F37E9F59D6.xcactivitylog + hasPrimaryLog + + primaryObservable + + highLevelStatus + E + totalNumberOfAnalyzerIssues + 0 + totalNumberOfErrors + 1 + totalNumberOfTestFailures + 0 + totalNumberOfWarnings + 3 + + signature + Resolve Packages + timeStartedRecording + 791987467.25816 + timeStoppedRecording + 791987467.36928797 + title + Resolve Packages + uniqueIdentifier + C9B2536F-0143-4FD7-90C7-C8F37E9F59D6 diff --git a/keyBoard/Class/AiTalk/V/PopView/KBAIPersonaSidebarView.m b/keyBoard/Class/AiTalk/V/PopView/KBAIPersonaSidebarView.m index aff8f43..0f7c62c 100644 --- a/keyBoard/Class/AiTalk/V/PopView/KBAIPersonaSidebarView.m +++ b/keyBoard/Class/AiTalk/V/PopView/KBAIPersonaSidebarView.m @@ -317,6 +317,34 @@ [self.tableView.mj_footer resetNoMoreData]; } +#pragma mark - UIView + +- (void)setHidden:(BOOL)hidden { + [super setHidden:hidden]; + if (hidden) { + [self kb_resetSearchState]; + } +} + +- (void)didMoveToWindow { + [super didMoveToWindow]; + if (self.window == nil) { + [self kb_resetSearchState]; + } +} + +#pragma mark - Private + +- (void)kb_resetSearchState { + if (self.searchField.text.length == 0 && !self.isShowingSearchResults) { + [self endEditing:YES]; + return; + } + self.searchField.text = @""; + [self endEditing:YES]; + [self hideSearchResults]; +} + #pragma mark - Search - (void)searchFieldChanged:(UITextField *)textField {