Post

Replies

Boosts

Views

Activity

Reply to Calling ShouldEndEditing delegate Call back when click on UISearchBar control in UIPopovercontroller
I would be a bit concerned about having these lines of code inside the shouldBeginEditing method: [self setTableViewController:[[UITableViewController alloc] initWithStyle:UITableViewStylePlain]]; [self->_tableViewController.tableView setDelegate:self]; [self->_tableViewController.tableView setDataSource:self]; [self setNormalSearchPopOverController:[[UIPopoverController alloc] initWithContentViewController:self->_tableViewController]]; [self->_normalSearchPopOverController setDelegate:self];
Dec ’19
Reply to Objective-C compilation failure after Xcode 11 update
I don't know if what I am about to describe pertains to your situation but here is something I have found: When I am building an app, I often create groups to reduce the clutter and then as I build and expand the app, I drag certain headers and methods into newly created groups. This worked fine in the past but XCode 11 doesn't like this. I would get errors that header files could not be found yet the app would build and run properly. The solution, by trial and error, was to drag all of the headers and methods out of the groups, put them in the root folder of the app, and delete the now empty groups. Then, to create the groups I wanted, I selected certain headers and methods and created a group with selection. This solved all my wonky errors of not being able to find some headers.
Dec ’19