diff --git a/BarMagnet.xcodeproj/project.pbxproj b/BarMagnet.xcodeproj/project.pbxproj index 3adda8a..43090b5 100644 --- a/BarMagnet.xcodeproj/project.pbxproj +++ b/BarMagnet.xcodeproj/project.pbxproj @@ -1067,7 +1067,7 @@ "$(SRCROOT)/Sources", "$(USER_LIBRARY_DIR)/Developer/Xcode/DerivedData/NSBencodeSerialization-ezakathubkhhsxayghzwbjqodwih/Build/Products/Debug-iphoneos", ); - MARKETING_VERSION = 2.0; + MARKETING_VERSION = 2.0.1; ONLY_ACTIVE_ARCH = NO; PRODUCT_BUNDLE_IDENTIFIER = consulting.monadic.BarMagnet; PRODUCT_NAME = BarMagnet; @@ -1104,7 +1104,7 @@ "$(SRCROOT)/Sources", "$(USER_LIBRARY_DIR)/Developer/Xcode/DerivedData/NSBencodeSerialization-ezakathubkhhsxayghzwbjqodwih/Build/Products/Debug-iphoneos", ); - MARKETING_VERSION = 2.0; + MARKETING_VERSION = 2.0.1; ONLY_ACTIVE_ARCH = NO; PRODUCT_BUNDLE_IDENTIFIER = consulting.monadic.BarMagnet; PRODUCT_NAME = BarMagnet; diff --git a/Sources/View Controllers/QueryTableViewController.m b/Sources/View Controllers/QueryTableViewController.m index 8887252..bbaa167 100644 --- a/Sources/View Controllers/QueryTableViewController.m +++ b/Sources/View Controllers/QueryTableViewController.m @@ -27,7 +27,6 @@ - (void)viewDidLoad { } - (void)documentPicker:(UIDocumentPickerViewController *)controller didPickDocumentAtURL:(NSURL *)url { - NSLog("%@", url); [[TorrentDelegate sharedInstance] handleTorrentFile:url viewController:self]; } @@ -79,9 +78,9 @@ - (void)search:(NSString *)text withQuery:(NSDictionary *)query { [self.navigationController presentViewController:webViewController animated:YES completion:nil]; } -- (void)viewWillAppear:(BOOL)animated { - [super viewWillAppear:animated]; - [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:1] withRowAnimation:UITableViewRowAnimationNone]; +-(void)viewDidAppear:(BOOL)animated { + [super viewDidAppear:animated]; + [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:1] withRowAnimation:UITableViewRowAnimationAutomatic]; } - (void)viewWillDisappear:(BOOL)animated { @@ -254,6 +253,7 @@ - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { [segue.destinationViewController setQueryDictionary:[sender queryDictionary]]; } } + segue.destinationViewController.modalPresentationStyle = UIModalPresentationFullScreen; } @end diff --git a/Sources/View Controllers/TorrentClientTableViewController.m b/Sources/View Controllers/TorrentClientTableViewController.m index ef0011c..82f38ce 100644 --- a/Sources/View Controllers/TorrentClientTableViewController.m +++ b/Sources/View Controllers/TorrentClientTableViewController.m @@ -40,7 +40,11 @@ - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; [self.navigationController setToolbarHidden:YES animated:NO]; [self selectCurrentClient]; - [self.tableView reloadData]; +} + +- (void)viewDidAppear:(BOOL)animated { + [super viewDidAppear:animated]; + [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationAutomatic]; } - (void)viewWillDisappear:(BOOL)animated { @@ -161,6 +165,7 @@ - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { [segue.destinationViewController setClientDictionary:sender]; } } + segue.destinationViewController.modalPresentationStyle = UIModalPresentationFullScreen; } @end