This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <string> | |
| using namespace std; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // LinphoneManager.swift | |
| // F3tch | |
| // | |
| // Created by Fabiola Ramirez on 5/18/18. | |
| // Copyright © 2018 F3tch. All rights reserved. | |
| // | |
| protocol CallStateDelegate { | |
| func callState(state: String) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // CallViewController.swift | |
| // F3tch | |
| // | |
| // Created by Fabiola Ramirez on 4/26/18. | |
| // Copyright © 2018 F3tch. All rights reserved. | |
| // | |
| protocol DialerDelegate { | |
| func onPhoneNumberUpdated(phoneNumber: String) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // IDProtectionLocationsViewController.swift | |
| // finance | |
| // | |
| // Created by DavidMora on 10/2/18. | |
| // Copyright © 2018 creditsesame. All rights reserved. | |
| // | |
| import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func getCoordinates() { | |
| coordinates = [] | |
| let queue = OperationQueue() | |
| let operation1 = BlockOperation { | |
| let geoCoder = CLGeocoder() | |
| for mapPoint in self.points { | |
| let dispatchGroup = DispatchGroup() | |
| dispatchGroup.enter() | |
| print("CurrentAlert.shared.locations.count: \(CurrentAlert.shared.locations.count)") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // MapView.swift | |
| // finance | |
| // | |
| // Created by Fabiola Ramirez on 10/18/18. | |
| // Copyright © 2018 creditsesame. All rights reserved. | |
| // | |
| import UIKit | |
| import MapKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // MapView.swift | |
| // finance | |
| // | |
| // Created by Fabiola Ramirez on 10/18/18. | |
| // Copyright © 2018 creditsesame. All rights reserved. | |
| // | |
| import UIKit | |
| import MapKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // MapView.swift | |
| // finance | |
| // | |
| // Created by Fabiola Ramirez on 10/18/18. | |
| // Copyright © 2018 creditsesame. All rights reserved. | |
| // | |
| import UIKit | |
| import MapKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func configureCreditInquiriesCell(indexPath: IndexPath) -> UITableViewCell { | |
| let cell: UITableViewCell | |
| switch indexPath.row { | |
| case 0: | |
| cell = tableView.dequeueReusableCell(withIdentifier: graphCellIdentifier) ?? UITableViewCell() | |
| guard let inquiriesFactor = creditFactor.creditFactorData as? CreditInquiriesFactor else { | |
| return UITableViewCell() | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { | |
| var cell = UITableViewCell() | |
| if let section = IDProtectionLocationsSection(rawValue: indexPath.section) { | |
| var current: MapPoint? | |
| var alertPoints: [MapPoint] = [] | |
| switch section { | |
| case .sexOffender: | |
| current = CurrentAlert.shared.currentSexOffenderAlertPoint | |
| alertPoints = sexOffendersAlertPoints | |
| switch indexPath.row { |