diff --git a/enzevalos_iphone/IntroContactTableViewController.swift b/enzevalos_iphone/IntroContactTableViewController.swift index 7817838132a756f915acf3d976366eb3325c347b..31040d6395a83939e346979bc0462ce9051ce075 100644 --- a/enzevalos_iphone/IntroContactTableViewController.swift +++ b/enzevalos_iphone/IntroContactTableViewController.swift @@ -96,7 +96,6 @@ class IntroContactTableViewController: UITableViewController, IntroInfoButton { } if let rows = contacts[intToAlphabet(value: indexPath.section)] { - //cell.nameLabel.text = rows[indexPath.row] cell.enzContact = rows[indexPath.row].0 } return cell @@ -116,14 +115,14 @@ class IntroContactTableViewController: UITableViewController, IntroInfoButton { if self.tableView(tableView, numberOfRowsInSection: section) == 0 { return CGFloat.leastNonzeroMagnitude } - return 40//super.tableView(tableView, heightForHeaderInSection: section) + return 40 } override func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat { if self.tableView(tableView, numberOfRowsInSection: section) == 0 { return CGFloat.leastNonzeroMagnitude } - return CGFloat.leastNonzeroMagnitude//super.tableView(tableView, heightForFooterInSection: section) + return CGFloat.leastNonzeroMagnitude } override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? { @@ -157,7 +156,6 @@ class IntroContactTableViewController: UITableViewController, IntroInfoButton { if let sender = sender as? UITapGestureRecognizer { let point = sender.location(in: tableView) if let index = tableView.indexPathForRow(at: point) { - print(index.section, " ", index.row) tableView(tableView, didDeselectRowAt: index) if let selected = tableView.indexPathsForSelectedRows, selected.contains(index) { tableView.deselectRow(at: index, animated: false) @@ -182,8 +180,6 @@ class IntroContactTableViewController: UITableViewController, IntroInfoButton { if let sender = sender as? UITapGestureRecognizer { let point = sender.location(in: tableView) if let index = tableView.indexPathForRow(at: point), let cell = tableView.cellForRow(at: index) as? IntroContactCell { - print(index.section, " ", index.row) - //tableView(tableView, didDeselectRowAt: index) let entries = contacts[intToAlphabet(value: index.section)]![index.row] self.present(IntroContactViewController.storyboardInstance(enzContact: cell.enzContact!, key: entries.1, addresses: entries.2)!, animated: true, completion: nil) @@ -210,10 +206,6 @@ class IntroContactTableViewController: UITableViewController, IntroInfoButton { } } -//extension IntroContactTableViewController: UIGestureRecognizerDelegate { -// -//} - extension IntroContactTableViewController: UIViewControllerPreviewingDelegate { func previewingContext(_ previewingContext: UIViewControllerPreviewing, viewControllerForLocation location: CGPoint) -> UIViewController? { @@ -227,6 +219,4 @@ extension IntroContactTableViewController: UIViewControllerPreviewingDelegate { func previewingContext(_ previewingContext: UIViewControllerPreviewing, commit viewControllerToCommit: UIViewController) { } - - } diff --git a/enzevalos_iphone/IntroTableView.swift b/enzevalos_iphone/IntroTableView.swift index 5b28eeea0c008f022b2028f976099538ed4dc416..cedcab33d05779ff69cf4381b4524ce52a299fe8 100644 --- a/enzevalos_iphone/IntroTableView.swift +++ b/enzevalos_iphone/IntroTableView.swift @@ -15,15 +15,10 @@ class IntroTableView: UITableView { override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) { for touch in touches { - print(touch.force) if touch.tapCount == 2 || touch.force > 1.0 { let point = touch.location(in: self) let index = indexPathForRow(at: point) - if let index = index { - print(index.section, " ", index.row) - } } } - //super.touchesEnded(touches, with: event) } } diff --git a/enzevalos_iphone/Logger.swift b/enzevalos_iphone/Logger.swift index dc3d0903755c193acde6ddefe0c961b621d5c5ec..6e737cbbb75595805a324c7912f779c603c89b35 100644 --- a/enzevalos_iphone/Logger.swift +++ b/enzevalos_iphone/Logger.swift @@ -898,8 +898,6 @@ class Logger { } } - } else { - print("No document folder?!") } } diff --git a/enzevalos_iphone/PLists/enzevalos-Info.plist b/enzevalos_iphone/PLists/enzevalos-Info.plist index f12ce01ba3dd085801e291fb8ec99ca6e8999530..1b76715c57bbfb8b52429798da65492a231f19fd 100644 --- a/enzevalos_iphone/PLists/enzevalos-Info.plist +++ b/enzevalos_iphone/PLists/enzevalos-Info.plist @@ -17,7 +17,7 @@ <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> - <string>0.8.16</string> + <string>0.8.19</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleURLTypes</key> @@ -32,7 +32,7 @@ </dict> </array> <key>CFBundleVersion</key> - <string>0.8.16</string> + <string>0.8.19</string> <key>LSRequiresIPhoneOS</key> <true/> <key>NSAppTransportSecurity</key> diff --git a/enzevalos_iphone/SwiftPGP.swift b/enzevalos_iphone/SwiftPGP.swift index bcc421927cd9e70bb442eda5f9040ce0c05a8d66..7bcca21573246d146e374673749ee7cb0803d89d 100644 --- a/enzevalos_iphone/SwiftPGP.swift +++ b/enzevalos_iphone/SwiftPGP.swift @@ -426,7 +426,6 @@ class SwiftPGP: Encryption { signedAdr = vaildAddress(key: keys.first) } catch { let nsError = error as NSError - print(nsError) switch nsError.code { case 7: // no public key sigState = SignatureState.NoPublicKey diff --git a/enzevalos_iphoneTests/CoreDataTests.swift b/enzevalos_iphoneTests/CoreDataTests.swift index a0b8f72a79f4bc4a5e7da64bb23bd790f17b28d5..68ba9eb36e4b6c65aaea3c1263cc8a07364fa71c 100644 --- a/enzevalos_iphoneTests/CoreDataTests.swift +++ b/enzevalos_iphoneTests/CoreDataTests.swift @@ -271,7 +271,6 @@ class CoraDataTests: XCTestCase { let decryptObject3 = pgp.decrypt(data: cryptoObject3.chiphertext!, decKeyIDs: [oldID], signatureIDs: [keyID], fromAddr: userAdr) let oldMail = testMail(from: sender, to: [user], cc: [], bcc: [], folder: folderName, cryptoObject: decryptObject3) - print(decryptObject3.encryptionState) XCTAssertTrue((oldMail?.decryptedWithOldPrivateKey)!)