Rebranded the app for iOS

This commit is contained in:
Matheus Gomes
2025-06-09 19:26:12 +02:00
committed by Konstantin Pastbin
parent 51b669cfd1
commit d4e1d53c40
85 changed files with 506 additions and 1309 deletions

View File

@@ -12,7 +12,7 @@ public:
/*!
* \warning The order of values below shall not be changed.
* \warning The values of Units shall be synchronized with values of Distance.Units enum in
* java (see app.organicmaps.util.Distance for details).
* java (see app.comaps.util.Distance for details).
* \warning The values of Units shall be synchronized with values of unitLength func in
* swift (see iphone/Maps/Classes/CarPlay/Templates Data/RouteInfo.swift for details).
*/

View File

@@ -26,9 +26,9 @@
Platform::Platform()
{
// OMaps.app/Content/Resources or omim-build-debug for tests.
// CoMaps.app/Content/Resources or omim-build-debug for tests.
std::string const resourcesPath = NSBundle.mainBundle.resourcePath.UTF8String;
// Omaps.app or omim-build-debug for tests.
// CoMaps.app or omim-build-debug for tests.
std::string const bundlePath = NSBundle.mainBundle.bundlePath.UTF8String;
// Current working directory, can be overrided for Xcode projects in the scheme's settings.
std::string const currentDir = [NSFileManager.defaultManager currentDirectoryPath].UTF8String;
@@ -109,9 +109,9 @@ Platform::Platform()
NSString * supportDir = [dirPaths objectAtIndex:0];
m_writableDir = supportDir.UTF8String;
#ifdef BUILD_DESIGNER
m_writableDir += "/OMapsData.Designer/";
m_writableDir += "/CoMapsData.Designer/";
#else // BUILD_DESIGNER
m_writableDir += "/OMapsData/";
m_writableDir += "/CoMapsData/";
#endif // BUILD_DESIGNER
::mkdir(m_writableDir.c_str(), 0755);
}