forked from organicmaps/organicmaps
[ios] Removed old report a problem.
This commit is contained in:
parent
8c410d1af1
commit
cad1804e87
14 changed files with 0 additions and 379 deletions
|
@ -29,7 +29,6 @@
|
|||
- (void)changeBookmarkDescription;
|
||||
- (void)editPlace;
|
||||
- (void)addBusiness;
|
||||
- (void)reportProblem;
|
||||
- (void)share;
|
||||
- (void)route;
|
||||
- (void)reloadBookmark;
|
||||
|
|
|
@ -143,11 +143,6 @@ static NSString * const kPlacePageViewCenterKeyPath = @"center";
|
|||
[self.manager addBusiness];
|
||||
}
|
||||
|
||||
- (void)reportProblem
|
||||
{
|
||||
[self.manager reportProblem];
|
||||
}
|
||||
|
||||
- (void)share
|
||||
{
|
||||
[self.manager share];
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
- (void)share;
|
||||
- (void)editPlace;
|
||||
- (void)addBusiness;
|
||||
- (void)reportProblem;
|
||||
- (void)addBookmark;
|
||||
- (void)removeBookmark;
|
||||
- (void)apiBack;
|
||||
|
|
|
@ -263,11 +263,6 @@ extern NSString * const kBookmarksChangedNotification;
|
|||
[self.delegate addBusinessToPoint:self.entity.mercator];
|
||||
}
|
||||
|
||||
- (void)reportProblem
|
||||
{
|
||||
[static_cast<MapViewController *>(self.ownerViewController) showReportController];
|
||||
}
|
||||
|
||||
- (void)addBookmark
|
||||
{
|
||||
[Statistics logEvent:kStatEventName(kStatPlacePage, kStatBookmarks)
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
#import "MWMTableViewController.h"
|
||||
|
||||
#include "geometry/point2d.hpp"
|
||||
|
||||
@interface MWMReportBaseController : MWMTableViewController
|
||||
|
||||
- (void)configNavBar NS_REQUIRES_SUPER;
|
||||
- (void)sendNote:(string const &)note NS_REQUIRES_SUPER;
|
||||
|
||||
- (void)setPoint:(m2::PointD const &)point NS_REQUIRES_SUPER;
|
||||
- (m2::PointD const &)point;
|
||||
|
||||
@end
|
|
@ -1,52 +0,0 @@
|
|||
#import "LocationManager.h"
|
||||
#import "MapsAppDelegate.h"
|
||||
#import "MapViewController.h"
|
||||
#import "MWMAuthorizationCommon.h"
|
||||
#import "MWMMapViewControlsManager.h"
|
||||
#import "MWMPlacePageEntity.h"
|
||||
#import "MWMReportBaseController.h"
|
||||
#import "Statistics.h"
|
||||
|
||||
#include "indexer/osm_editor.hpp"
|
||||
|
||||
@implementation MWMReportBaseController
|
||||
{
|
||||
m2::PointD m_point;
|
||||
}
|
||||
|
||||
- (void)configNavBar
|
||||
{
|
||||
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:L(@"editor_report_problem_send_button")
|
||||
style:UIBarButtonItemStylePlain target:self action:@selector(send)];
|
||||
}
|
||||
|
||||
- (void)send
|
||||
{
|
||||
[self doesNotRecognizeSelector:_cmd];
|
||||
}
|
||||
|
||||
- (void)sendNote:(string const &)note
|
||||
{
|
||||
NSAssert(!note.empty(), @"String can't be empty!");
|
||||
auto const & featureID = MapsAppDelegate.theApp.mapViewController.controlsManager.placePageEntity.info.GetID();
|
||||
auto const latLon = ToLatLon(m_point);
|
||||
osm::Editor::Instance().CreateNote(latLon, featureID, note);
|
||||
[Statistics logEvent:kStatEditorProblemReport withParameters:@{kStatEditorMWMName : @(featureID.GetMwmName().c_str()),
|
||||
kStatEditorMWMVersion : @(featureID.GetMwmVersion()),
|
||||
kStatProblem : @(note.c_str()),
|
||||
kStatLat : @(latLon.lat),
|
||||
kStatLon : @(latLon.lon)}];
|
||||
[self.navigationController popToRootViewControllerAnimated:YES];
|
||||
}
|
||||
|
||||
- (void)setPoint:(m2::PointD const &)point
|
||||
{
|
||||
m_point = point;
|
||||
}
|
||||
|
||||
- (m2::PointD const &)point
|
||||
{
|
||||
return m_point;
|
||||
}
|
||||
|
||||
@end
|
|
@ -1,5 +0,0 @@
|
|||
#import "MWMReportBaseController.h"
|
||||
|
||||
@interface MWMReportProblemController : MWMReportBaseController
|
||||
|
||||
@end
|
|
@ -1,57 +0,0 @@
|
|||
#import "MWMReportProblemController.h"
|
||||
#import "SelectableCell.h"
|
||||
|
||||
#include "indexer/osm_editor.hpp"
|
||||
|
||||
@interface MWMReportProblemController ()
|
||||
|
||||
@property (weak, nonatomic) IBOutlet SelectableCell * placeDoesntExistCell;
|
||||
@property (nonatomic) BOOL isCellSelected;
|
||||
|
||||
@end
|
||||
|
||||
@implementation MWMReportProblemController
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
self.placeDoesntExistCell.accessoryType = UITableViewCellAccessoryNone;
|
||||
[self configNavBar];
|
||||
}
|
||||
|
||||
- (void)configNavBar
|
||||
{
|
||||
[super configNavBar];
|
||||
self.title = L(@"editor_report_problem_title");
|
||||
}
|
||||
|
||||
- (void)send
|
||||
{
|
||||
if (!self.isCellSelected)
|
||||
return;
|
||||
[self sendNote:osm::Editor::kPlaceDoesNotExistMessage];
|
||||
}
|
||||
|
||||
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
|
||||
{
|
||||
MWMReportBaseController * dvc = segue.destinationViewController;
|
||||
NSAssert([dvc isKindOfClass:[MWMReportBaseController class]], @"Incorrect destination controller!");
|
||||
dvc.point = self.point;
|
||||
}
|
||||
|
||||
#pragma mark - UITableView
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
UITableViewCell * cell = [tableView cellForRowAtIndexPath:indexPath];
|
||||
[cell setSelected:NO animated:YES];
|
||||
|
||||
if (indexPath.row > 0)
|
||||
return;
|
||||
|
||||
self.isCellSelected = !self.isCellSelected;
|
||||
self.placeDoesntExistCell.accessoryType = self.isCellSelected ? UITableViewCellAccessoryCheckmark :
|
||||
UITableViewCellAccessoryNone;
|
||||
}
|
||||
|
||||
@end
|
|
@ -1,5 +0,0 @@
|
|||
#import "MWMReportBaseController.h"
|
||||
|
||||
@interface MWMReportProblemExtendedController : MWMReportBaseController
|
||||
|
||||
@end
|
|
@ -1,39 +0,0 @@
|
|||
#import "MWMReportProblemExtendedController.h"
|
||||
|
||||
@interface MWMReportProblemExtendedController ()
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UITextView * textView;
|
||||
|
||||
@end
|
||||
|
||||
@implementation MWMReportProblemExtendedController
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
[self configNavBar];
|
||||
}
|
||||
|
||||
- (void)configNavBar
|
||||
{
|
||||
[super configNavBar];
|
||||
self.title = L(@"editor_report_problem_title");
|
||||
}
|
||||
|
||||
- (void)send
|
||||
{
|
||||
if (!self.textView.text.length)
|
||||
return;
|
||||
[self sendNote:self.textView.text.UTF8String];
|
||||
}
|
||||
|
||||
#pragma mark - UITableView
|
||||
|
||||
- (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section
|
||||
{
|
||||
NSAssert(section == 0, @"Invalid section!");
|
||||
return [NSString stringWithFormat:@"%@\n\n%@", L(@"editor_report_problem_desription_1"),
|
||||
L(@"editor_report_problem_desription_2")];
|
||||
}
|
||||
|
||||
@end
|
|
@ -35,7 +35,6 @@ namespace search { struct AddressInfo; }
|
|||
- (void)openBookmarks;
|
||||
- (void)openMapsDownloader;
|
||||
- (void)openEditor;
|
||||
- (void)showReportController;
|
||||
|
||||
- (void)refreshAd;
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#import "MWMMapViewControlsManager.h"
|
||||
#import "MWMPageController.h"
|
||||
#import "MWMPlacePageEntity.h"
|
||||
#import "MWMReportBaseController.h"
|
||||
#import "MWMStorage.h"
|
||||
#import "MWMTableViewController.h"
|
||||
#import "MWMTextToSpeech.h"
|
||||
|
@ -77,7 +76,6 @@ NSString * const kDownloaderSegue = @"Map2MapDownloaderSegue";
|
|||
NSString * const kMigrationSegue = @"Map2MigrationSegue";
|
||||
NSString * const kEditorSegue = @"Map2EditorSegue";
|
||||
NSString * const kUDViralAlertWasShown = @"ViralAlertWasShown";
|
||||
NSString * const kReportSegue = @"Map2ReportSegue";
|
||||
} // namespace
|
||||
|
||||
@interface NSValueWrapper : NSObject
|
||||
|
@ -568,11 +566,6 @@ NSString * const kReportSegue = @"Map2ReportSegue";
|
|||
[self performSegueWithIdentifier:kEditorSegue sender:self.controlsManager.placePageEntity];
|
||||
}
|
||||
|
||||
- (void)showReportController
|
||||
{
|
||||
[self performSegueWithIdentifier:kReportSegue sender:self.controlsManager.placePageEntity];
|
||||
}
|
||||
|
||||
- (void)processMyPositionStateModeEvent:(location::EMyPositionMode)mode
|
||||
{
|
||||
[m_predictor setMode:mode];
|
||||
|
@ -853,11 +846,6 @@ NSString * const kReportSegue = @"Map2ReportSegue";
|
|||
MWMMapDownloaderViewController * dvc = segue.destinationViewController;
|
||||
dvc.parentCountryId = @(GetFramework().Storage().GetRootId().c_str());
|
||||
}
|
||||
else if ([segue.identifier isEqualToString:kReportSegue])
|
||||
{
|
||||
MWMReportBaseController * dvc = segue.destinationViewController;
|
||||
dvc.point = static_cast<MWMPlacePageEntity *>(sender).mercator;
|
||||
}
|
||||
else if ([segue.identifier isEqualToString:kMap2FBLoginSegue])
|
||||
{
|
||||
MWMAuthorizationWebViewLoginViewController * dvc = segue.destinationViewController;
|
||||
|
|
|
@ -658,12 +658,6 @@
|
|||
F607C1891C032A8800B53A87 /* resources-hdpi_dark in Resources */ = {isa = PBXBuildFile; fileRef = F607C1841C032A8800B53A87 /* resources-hdpi_dark */; };
|
||||
F607C18A1C032A8800B53A87 /* resources-hdpi_dark in Resources */ = {isa = PBXBuildFile; fileRef = F607C1841C032A8800B53A87 /* resources-hdpi_dark */; };
|
||||
F607C18E1C047FDC00B53A87 /* MWMSegue.mm in Sources */ = {isa = PBXBuildFile; fileRef = F607C18D1C047FDC00B53A87 /* MWMSegue.mm */; };
|
||||
F60F02E11C904E08003A0AF6 /* MWMReportProblemController.mm in Sources */ = {isa = PBXBuildFile; fileRef = F60F02E01C904E08003A0AF6 /* MWMReportProblemController.mm */; };
|
||||
F60F02E41C904E3E003A0AF6 /* MWMReportProblemExtendedController.mm in Sources */ = {isa = PBXBuildFile; fileRef = F60F02E31C904E3E003A0AF6 /* MWMReportProblemExtendedController.mm */; };
|
||||
F60F02E51C904E3E003A0AF6 /* MWMReportProblemExtendedController.mm in Sources */ = {isa = PBXBuildFile; fileRef = F60F02E31C904E3E003A0AF6 /* MWMReportProblemExtendedController.mm */; };
|
||||
F60F02E61C904E86003A0AF6 /* MWMReportProblemController.mm in Sources */ = {isa = PBXBuildFile; fileRef = F60F02E01C904E08003A0AF6 /* MWMReportProblemController.mm */; };
|
||||
F60F02E91C904F40003A0AF6 /* MWMReportBaseController.mm in Sources */ = {isa = PBXBuildFile; fileRef = F60F02E81C904F40003A0AF6 /* MWMReportBaseController.mm */; };
|
||||
F60F02EA1C904F40003A0AF6 /* MWMReportBaseController.mm in Sources */ = {isa = PBXBuildFile; fileRef = F60F02E81C904F40003A0AF6 /* MWMReportBaseController.mm */; };
|
||||
F61579341AC2CE9A0032D8E9 /* MWMRateAlert.mm in Sources */ = {isa = PBXBuildFile; fileRef = F61579331AC2CE9A0032D8E9 /* MWMRateAlert.mm */; };
|
||||
F61579361AC2CEB60032D8E9 /* MWMRateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = F61579351AC2CEB60032D8E9 /* MWMRateAlert.xib */; };
|
||||
F6172FA51BBD5A3E0081D325 /* MWMiPadRoutePreview.xib in Resources */ = {isa = PBXBuildFile; fileRef = F6172FA41BBD5A3E0081D325 /* MWMiPadRoutePreview.xib */; };
|
||||
|
@ -1325,12 +1319,6 @@
|
|||
F607C1841C032A8800B53A87 /* resources-hdpi_dark */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "resources-hdpi_dark"; path = "../../data/resources-hdpi_dark"; sourceTree = "<group>"; };
|
||||
F607C18C1C047FDC00B53A87 /* MWMSegue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMSegue.h; sourceTree = "<group>"; };
|
||||
F607C18D1C047FDC00B53A87 /* MWMSegue.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMSegue.mm; sourceTree = "<group>"; };
|
||||
F60F02DF1C904E08003A0AF6 /* MWMReportProblemController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMReportProblemController.h; sourceTree = "<group>"; };
|
||||
F60F02E01C904E08003A0AF6 /* MWMReportProblemController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMReportProblemController.mm; sourceTree = "<group>"; };
|
||||
F60F02E21C904E3E003A0AF6 /* MWMReportProblemExtendedController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMReportProblemExtendedController.h; sourceTree = "<group>"; };
|
||||
F60F02E31C904E3E003A0AF6 /* MWMReportProblemExtendedController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMReportProblemExtendedController.mm; sourceTree = "<group>"; };
|
||||
F60F02E71C904F40003A0AF6 /* MWMReportBaseController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMReportBaseController.h; sourceTree = "<group>"; };
|
||||
F60F02E81C904F40003A0AF6 /* MWMReportBaseController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMReportBaseController.mm; sourceTree = "<group>"; };
|
||||
F61579321AC2CE9A0032D8E9 /* MWMRateAlert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMRateAlert.h; sourceTree = "<group>"; };
|
||||
F61579331AC2CE9A0032D8E9 /* MWMRateAlert.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMRateAlert.mm; sourceTree = "<group>"; };
|
||||
F61579351AC2CEB60032D8E9 /* MWMRateAlert.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MWMRateAlert.xib; sourceTree = "<group>"; };
|
||||
|
@ -1683,7 +1671,6 @@
|
|||
080E96DDFE201D6D7F000001 /* Classes */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F60F02DE1C904DE8003A0AF6 /* ReportProblem */,
|
||||
34479C741C60C6130065D261 /* Framework */,
|
||||
34CE8A641C7740CF00F4351A /* Storage */,
|
||||
34ABA61D1C2D514A00FE1BEC /* Input Validators */,
|
||||
|
@ -2540,19 +2527,6 @@
|
|||
name = Segue;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F60F02DE1C904DE8003A0AF6 /* ReportProblem */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F60F02E71C904F40003A0AF6 /* MWMReportBaseController.h */,
|
||||
F60F02E81C904F40003A0AF6 /* MWMReportBaseController.mm */,
|
||||
F60F02DF1C904E08003A0AF6 /* MWMReportProblemController.h */,
|
||||
F60F02E01C904E08003A0AF6 /* MWMReportProblemController.mm */,
|
||||
F60F02E21C904E3E003A0AF6 /* MWMReportProblemExtendedController.h */,
|
||||
F60F02E31C904E3E003A0AF6 /* MWMReportProblemExtendedController.mm */,
|
||||
);
|
||||
name = ReportProblem;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F613FA741AB330AF002394D4 /* MapViewController */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
|
@ -3577,7 +3551,6 @@
|
|||
34F9FB8B1C438ADB00F71201 /* MWMStreetEditorViewController.mm in Sources */,
|
||||
EED10A4511F78D120095FAD4 /* MapViewController.mm in Sources */,
|
||||
34CCFDD11C21945500F28959 /* MWMPlacePageOpeningHoursDayView.mm in Sources */,
|
||||
F60F02E41C904E3E003A0AF6 /* MWMReportProblemExtendedController.mm in Sources */,
|
||||
F61579341AC2CE9A0032D8E9 /* MWMRateAlert.mm in Sources */,
|
||||
F6BB6CC61BB18C0900DF1DF2 /* MWMRoutePointCell.m in Sources */,
|
||||
A3CC2CD41A1C723900B832E1 /* LocationPredictor.mm in Sources */,
|
||||
|
@ -3701,7 +3674,6 @@
|
|||
34BC72241B0DECAE0012A34B /* MWMMapViewControlsManager.mm in Sources */,
|
||||
F6B2E61F1C3D5F31005562DF /* MWMNightModeController.mm in Sources */,
|
||||
F6BD33791B62400E00F2CE18 /* MWMNavigationDashboard.mm in Sources */,
|
||||
F60F02E91C904F40003A0AF6 /* MWMReportBaseController.mm in Sources */,
|
||||
F6BD1D201CA412920047B8E8 /* MWMOsmAuthAlert.mm in Sources */,
|
||||
347FD8891C60B2CE002FB65E /* MWMOpeningHoursTimeSpanTableViewCell.mm in Sources */,
|
||||
34CD81C31C91C281007D2A60 /* MWMWhatsNewNightModeController.mm in Sources */,
|
||||
|
@ -3729,7 +3701,6 @@
|
|||
F64F4B6D1B46A51F0081A24A /* MWMDownloaderDialogCell.mm in Sources */,
|
||||
3491E7CB1C06F1F10042FE24 /* MWMPlacePageButtonCell.mm in Sources */,
|
||||
97508423199522D300A7457D /* SettingsAndMoreVC.mm in Sources */,
|
||||
F60F02E11C904E08003A0AF6 /* MWMReportProblemController.mm in Sources */,
|
||||
341F99D91C6B1165001C67B8 /* MWMMapDownloaderPlaceTableViewCell.mm in Sources */,
|
||||
341F99D51C6B1165001C67B8 /* MWMMapDownloaderLargeCountryTableViewCell.mm in Sources */,
|
||||
347FD86F1C60B2CE002FB65E /* MWMOpeningHoursAllDayTableViewCell.mm in Sources */,
|
||||
|
@ -3829,7 +3800,6 @@
|
|||
6741A9D01BF340DE002C974C /* MWMPlacePage.mm in Sources */,
|
||||
3492CC131C6DF00F0057D8E8 /* (null) in Sources */,
|
||||
6741A9D21BF340DE002C974C /* MWMBookmarkDescriptionViewController.mm in Sources */,
|
||||
F60F02E61C904E86003A0AF6 /* MWMReportProblemController.mm in Sources */,
|
||||
3476B8CC1BFDCB6700874594 /* MWMTTSSettingsViewController.mm in Sources */,
|
||||
6741A9D41BF340DE002C974C /* MWMAlertViewController.mm in Sources */,
|
||||
F6FE3C391CC50FFD00A73196 /* MWMPlaceDoesntExistAlert.mm in Sources */,
|
||||
|
@ -3917,8 +3887,6 @@
|
|||
34CCFDE11C22A2EF00F28959 /* MWMPlacePageOpeningHoursCell.mm in Sources */,
|
||||
6741AA0D1BF340DE002C974C /* LocalNotificationManager.mm in Sources */,
|
||||
347FD88A1C60B2CE002FB65E /* MWMOpeningHoursTimeSpanTableViewCell.mm in Sources */,
|
||||
F60F02E51C904E3E003A0AF6 /* MWMReportProblemExtendedController.mm in Sources */,
|
||||
F60F02EA1C904F40003A0AF6 /* MWMReportBaseController.mm in Sources */,
|
||||
6741AA0E1BF340DE002C974C /* AppInfo.mm in Sources */,
|
||||
F6BD1D211CA412920047B8E8 /* MWMOsmAuthAlert.mm in Sources */,
|
||||
6741AA0F1BF340DE002C974C /* MWMSearchHistoryMyPositionCell.mm in Sources */,
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
<navigationItem key="navigationItem" id="8E8-0f-UV9"/>
|
||||
<connections>
|
||||
<segue destination="Lfa-Zp-orR" kind="custom" identifier="Map2EditorSegue" customClass="MWMSegue" id="OEF-kR-jKi"/>
|
||||
<segue destination="Lgr-ZK-lGB" kind="custom" identifier="Map2ReportSegue" customClass="MWMSegue" id="gCh-Ix-flI"/>
|
||||
<segue destination="QlF-CJ-cEG" kind="custom" identifier="MapToCategorySelectorSegue" customClass="MWMSegue" id="4Cc-99-mlN"/>
|
||||
<segue destination="4R7-Vk-fQr" kind="custom" identifier="Map2OsmLogin" customClass="MWMSegue" id="7YC-t5-0WN"/>
|
||||
<segue destination="anB-7S-ebY" kind="custom" identifier="Map2FBLogin" customClass="MWMSegue" id="nCr-QR-kY7"/>
|
||||
|
@ -1008,156 +1007,6 @@
|
|||
</objects>
|
||||
<point key="canvasLocation" x="1134" y="2753"/>
|
||||
</scene>
|
||||
<!--Report Problem Controller-->
|
||||
<scene sceneID="RAz-lh-lom">
|
||||
<objects>
|
||||
<tableViewController id="Lgr-ZK-lGB" customClass="MWMReportProblemController" sceneMemberID="viewController">
|
||||
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="default" showsSelectionImmediatelyOnTouchBegin="NO" rowHeight="44" sectionHeaderHeight="18" sectionFooterHeight="18" id="li8-xE-fzL">
|
||||
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<sections>
|
||||
<tableViewSection id="gnw-eJ-Ieg">
|
||||
<cells>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="checkmark" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="g66-LD-sto" customClass="SelectableCell">
|
||||
<rect key="frame" x="0.0" y="35" width="600" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="g66-LD-sto" id="5kM-d9-YTL">
|
||||
<rect key="frame" x="0.0" y="0.0" width="561" height="43"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Place doesn't exist" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="477" translatesAutoresizingMaskIntoConstraints="NO" id="9h0-27-Qdf">
|
||||
<rect key="frame" x="16" y="11" width="527" height="21"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="editor_report_problem_no_place_title"/>
|
||||
</userDefinedRuntimeAttributes>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="9h0-27-Qdf" secondAttribute="bottom" constant="3.5" id="E6x-dZ-hhU"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="9h0-27-Qdf" secondAttribute="trailing" constant="10" id="aZV-kX-gEm"/>
|
||||
<constraint firstItem="9h0-27-Qdf" firstAttribute="leading" secondItem="5kM-d9-YTL" secondAttribute="leadingMargin" constant="8" id="e6j-E8-7Sr"/>
|
||||
<constraint firstItem="9h0-27-Qdf" firstAttribute="top" secondItem="5kM-d9-YTL" secondAttribute="topMargin" constant="3" id="fdM-4J-HXY"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/>
|
||||
</userDefinedRuntimeAttributes>
|
||||
<connections>
|
||||
<outlet property="titleLabel" destination="9h0-27-Qdf" id="H0n-Kf-h4a"/>
|
||||
</connections>
|
||||
</tableViewCell>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="LinkCell" id="EX5-r9-xqT" customClass="LinkCell">
|
||||
<rect key="frame" x="0.0" y="79" width="600" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="EX5-r9-xqT" id="nQT-aY-P4o">
|
||||
<rect key="frame" x="0.0" y="0.0" width="567" height="43"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Other" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="483" translatesAutoresizingMaskIntoConstraints="NO" id="Tyx-T5-jhZ">
|
||||
<rect key="frame" x="16" y="11" width="533" height="21"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="editor_report_problem_other_title"/>
|
||||
</userDefinedRuntimeAttributes>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="Tyx-T5-jhZ" firstAttribute="leading" secondItem="nQT-aY-P4o" secondAttribute="leadingMargin" constant="8" id="NBC-ht-mZv"/>
|
||||
<constraint firstItem="Tyx-T5-jhZ" firstAttribute="top" secondItem="nQT-aY-P4o" secondAttribute="topMargin" constant="3" id="Zup-2W-vrv"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="Tyx-T5-jhZ" secondAttribute="trailing" constant="10" id="lbh-4g-faW"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="Tyx-T5-jhZ" secondAttribute="bottom" constant="3.5" id="ynn-p5-DoB"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/>
|
||||
</userDefinedRuntimeAttributes>
|
||||
<connections>
|
||||
<outlet property="titleLabel" destination="Tyx-T5-jhZ" id="ybn-sU-9Cm"/>
|
||||
<segue destination="Ajb-eT-8P5" kind="custom" identifier="2ExtendedReportSegue" customClass="MWMSegue" id="Gb3-ux-wqf"/>
|
||||
</connections>
|
||||
</tableViewCell>
|
||||
</cells>
|
||||
</tableViewSection>
|
||||
</sections>
|
||||
<connections>
|
||||
<outlet property="dataSource" destination="Lgr-ZK-lGB" id="thy-3c-4iP"/>
|
||||
<outlet property="delegate" destination="Lgr-ZK-lGB" id="kA1-Uj-n5M"/>
|
||||
</connections>
|
||||
</tableView>
|
||||
<connections>
|
||||
<outlet property="placeDoesntExistCell" destination="g66-LD-sto" id="8A7-uC-72C"/>
|
||||
</connections>
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="HsP-Mh-TdZ" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="1866" y="1978"/>
|
||||
</scene>
|
||||
<!--Report Problem Extended Controller-->
|
||||
<scene sceneID="MQs-9R-SZd">
|
||||
<objects>
|
||||
<tableViewController id="Ajb-eT-8P5" customClass="MWMReportProblemExtendedController" sceneMemberID="viewController">
|
||||
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" keyboardDismissMode="interactive" dataMode="static" style="grouped" separatorStyle="default" showsSelectionImmediatelyOnTouchBegin="NO" rowHeight="44" sectionHeaderHeight="18" sectionFooterHeight="18" id="Urf-xt-sj3">
|
||||
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<sections>
|
||||
<tableViewSection id="M33-4h-2SR">
|
||||
<cells>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="128" id="Wg5-bm-vvK">
|
||||
<rect key="frame" x="0.0" y="35" width="600" height="128"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Wg5-bm-vvK" id="2nm-b7-p6S">
|
||||
<rect key="frame" x="0.0" y="0.0" width="600" height="127"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="6cE-dD-8Es" customClass="MWMTextView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="600" height="127"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<inset key="scrollIndicatorInsets" minX="16" minY="12" maxX="16" maxY="12"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="localizedPlaceholder" value="detailed_problem_description"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/>
|
||||
</userDefinedRuntimeAttributes>
|
||||
</textView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="6cE-dD-8Es" secondAttribute="trailing" id="46N-cT-757"/>
|
||||
<constraint firstItem="6cE-dD-8Es" firstAttribute="leading" secondItem="2nm-b7-p6S" secondAttribute="leading" id="EcU-2x-yiV"/>
|
||||
<constraint firstAttribute="bottom" secondItem="6cE-dD-8Es" secondAttribute="bottom" id="ijn-qI-Zcj"/>
|
||||
<constraint firstItem="6cE-dD-8Es" firstAttribute="top" secondItem="2nm-b7-p6S" secondAttribute="top" id="mS6-LW-Exq"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
</cells>
|
||||
</tableViewSection>
|
||||
</sections>
|
||||
<connections>
|
||||
<outlet property="dataSource" destination="Ajb-eT-8P5" id="tKq-fG-sly"/>
|
||||
<outlet property="delegate" destination="Ajb-eT-8P5" id="x6s-Q1-1pZ"/>
|
||||
</connections>
|
||||
</tableView>
|
||||
<connections>
|
||||
<outlet property="textView" destination="6cE-dD-8Es" id="j33-dl-6So"/>
|
||||
</connections>
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="vnV-2b-u0g" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="2584" y="1978"/>
|
||||
</scene>
|
||||
<!--AuthorizationOSM Login View Controller-->
|
||||
<scene sceneID="14Y-XP-wqe">
|
||||
<objects>
|
||||
|
|
Loading…
Add table
Reference in a new issue