I have a SampleViewController in which a segmentedControl is added at the top below the navigation bar (not inside it). Now, under the segment controller, I want a tableView that loads from another CommonTableViewController class. When a segment is used, a new tableView from the same CommonTableViewController must be loaded. How can I do that? thanks in advance.
I am using an array to populate a tableView table ...
segmentedControlClicked... , , :
[self.tableView reloadData];
2 UITableViews, . LIKE
[tableView1 removeFromSuperview]; [self.view indertSubview:tableView2 atIndex:self.view.subviews.count];
, , tableView .
Source: https://habr.com/ru/post/1728805/More articles:Need to change template styles in Liferay - liferayPassing objects to PHP constructor error - scopehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1728802/web-developer-wants-to-learn-desktop-programming&usg=ALkJrhijwTaNWeLRdpM7f5Fz4YFLtdRdLgwhat is the best practice of changing the properties of a base object from an inherited class - c #Saving NSManagedObjectID from one object as a property for another object? - objective-ccakephp Activation Email Sending Slowly - EmailDoes MySQL SQL get the most recent records in a table? - sqlBest database design (model) for custom tables - databaseWhat is the name for the first line of the function? - language-agnosticConvolution image inverse filter kernel output - filterAll Articles