The Complete Project Source Code Platform

Kashipara.com is a community of ONE million programmers and students, Just like you, Helping each other.Join them. It only takes a minute: Sign Up

Job Resume Template

Map View project in Swift with Source Code [download].

Swift project   Last updated on - March 23, 2015
Saurabh Kalani
Saurabh Kalani
Java Android IOS Digital Marketing Graphic designing Animated Videos Website development 
0 Reviews
0
5248 View
156 Downloads
 5248
 0
 156

In this page Map View project is a mobile application which is developed in Swift platform. This Swift project with tutorial and guide for developing a code. Map View is a open source you can Download zip and edit as per you need. If you want more latest Swift projects here. This is simple and basic level small project for learning purpose. Also you can modified this system as per your requriments and develop a perfect advance level project. This project can edit using a Xcode IDE. Following Swift project contains all the important features which can be in use for the BE, BTech, MCA, BCA, Engineering, Bs.CS, IT, Software Engineering, Computer Science students and Devloper for their college projects. This script developed by Saurabh Kalani. This mobile application 100% working smooth without any bug. It is developed using Objective -C and Database Sqlite. This software code helpful in academic projects and research paper for final year computer science. To download Map View project in Swift with source code files, please scroll down to the bottom of this page for the Download Zip file of source code button.

Why a download Map View project from kashipara?

Becuase of kashipara is provide a best Map View project solution for beginners, intermdetate and skilled developers. This document file with project Synopsis, Reports, and various diagrams properly manage. Also Abstract in PDF, PPT file inside zip so that document link below the page. UML diagrams for Map View. Class diagrams, Use Case diagrams, Entity–relationship(ER) diagrams, Data flow diagram(DFD), Sequence diagram and software requirements specification (SRS) in report file. Download code of Map View project in Swift. You can find Top Downloaded Swift projects here.

About project

project Name

Map View

Project Complexityadvanced
Duration15 Days
project ID425
Developer NameSaurabh Kalani
Publish DateMarch 23, 2015
project PlatformSwift
Programming LanguageFor this particular Swift project, Objective -C is required
Front EndSwiftUI for macOS app, watchOS app, iPad App, Apps for iOS, UIKit to create apps for iOS.
Back EndSwiftData
IDE ToolXcode
Database IntegrationSqlite
project Typemobile Application
No of project Download156
project Total View5248
Today Trends2
Current Month Trends41
Last Month Trends63

You have any error or you don't understand project follow or any other problem.You can ask question. you know any answer or solution then give a answer and help other student.Complete they project perfectly.

Download Map View source code

Download Map View source code at free of cost. Download link provide below.

Download Code
File size 0.0406 MB

Project Share and Earning Policy

Download Map View document

Download Map View Document PDF link below

Download PDF
File size 0.0406 MB

Click Here For Project Document PDF Format.

Telegram channel

WhatsApp channel

Subscribe us on youtube

Features of the Map View project

We will implement the following feature in the Swift Map View Project:
In this project i have implement map integration to show the users location wise there place name.We can you google map for tracking locations and getting near by places areas by gps and seeing all places in an map

User modules and function of Map View

We will implement the following functionalities in the Swift Map View Project:

Software requirement to run this project

Xcode for Swift programming. Mac Requires macOS 14.0 or later.

Hardware requirement to run this project

PROCESSOR : i386, x86_64, armv7k, arm64, arm64e, arm64_32 RAM : 8GB HARD DISK : 256GB SSD FOR FAST PERFOMANCE

How to install the project?

After you finish downloading the project, unzip the project file.

1. Download the Google Maps SDK for iOS:

https://developers.google.com/maps/documentation/ios/start#getting_the_google_maps_sdk_for_ios

The current version is 1.8.1

2. Obtain an API key from the Google Developers console. Do the easy to follow instructions here:

https://developers.google.com/maps/documentation/ios/start#the_google_maps_api_key

3. Setup Xcode Environment to work with Google Maps SDK

a) Open Xcode and Create a new project.

b) Create a new ‘Single View Application’ template.

Create Single View Application in Xcode

Create Single View Application in Xcode

c) Enter Product, Organization & Company names. Enter a class prefix and choose iPhone from the devices drop down menu.

Add product name, company etc

Add product name, company etc

d) Save your project to disk.

e) Unzip and open the Google Maps iOS SDK that you downloaded in Step 1.

Google Maps SDK iOS folder on desktop

Google Maps SDK iOS folder on desktop

f) Add the “GoogleMaps.framework” bundle to the “Frameworks” Folder in Xcode by dragging it there. When prompted, select “Copy items into destination group’s folder”.

Drag the GoogleMaps.framework bundle to the Frameworks folder in Xcode

Drag the GoogleMaps.framework bundle to the Frameworks folder in Xcode

Select Copy items into destination group's folder

Select Copy items into destination group’s folder

g) Similarly, drag the “GoogleMaps.bundle” from the GoogleMaps.framework -> Resources folder to the “Frameworks” folder in Xcode. When prompted DO NOT select “Copy items into destination group’s folder”.

f) Then, select your project from the Project Navigator and select your applications “Target” (not the “Project”).

Select applications Target in project navigator

Select applications Target in project navigator

g) Then go to the “Build Phases” tab and then open “Link Binary With Libraries”. Then click on the “+” button at the bottom left and add the following libraries to be compiled along with your app binaries:

AVFoundation.framework

CoreData.framework

CoreLocation.framework

CoreText.framework

GLKit.framework

ImageIO.framework

libc++.dylib

libicucore.dylib

libz.dylib

OpenGLES.framework

QuartzCore.framework

SystemConfiguration.framework

Go To Build Phases -> Link Binary With Libraries

Go To Build Phases -> Link Binary With Libraries

Add the frameworks

Add the frameworks

This is what your Xcode environment should look like:

XCode environment after adding the frameworks

XCode environment after adding the frameworks

h) Now choose your “Project” rather than a “Target” and open the “Build Settings” tab. Scroll down till you find the “Linking” section and under that find “Other Linker Flags”. Now open the section and click the “+” next to “Debug” and add “-ObjC” in the text field. If these settings are not visible, change the filter in the “Build Settings” to “All” instead of “Basic”.

Choose the "Project" in project navigator

Choose the “Project” in project navigator

Add the '-ObjC' flag in Other Linker Flags under Build Settings tab

Add the ‘-ObjC’ flag in Other Linker Flags under Build Settings tab

4. Begin Coding

a) Open your AppDelegate.m file and add the following import statement:

#import <GoogleMaps/GoogleMaps.h>;

Copy the API Key you created in Step 2 and enter the following code in the method

application: didFinishLaunchingWithOptions:

[GMSServices provideAPIKey:@"API_KEY"];

Replace API_KEY with your API key.

Add Google Maps API Key to the AppDelegate.m application:didFinishLaunchingWithOptions: method

Add Google Maps API Key to the AppDelegate.m application:didFinishLaunchingWithOptions: method

b) Open “Main.Storyboard” and drag a UIView object from the Object Library. Now open the Identity Inspector and under Custom Class add “GMSMapView”.

Drag a UIView from object library to the main storyboard

Drag a UIView from object library to the main storyboard

Assign Custom class 'GMSMapView' to the UIView object in the Identity Inspector

Assign Custom class ‘GMSMapView’ to the UIView object in the Identity Inspector

c) Control drag from the UIView (GMSMapView) object to your ViewController.h file to create an outlet with the name “mapView”. Don’t forget to add the GoogleMaps import statement in your ViewController.h file.

Create an outlet for the GMSMapView object in the ViewController.h file

Create an outlet for the GMSMapView object in the ViewController.h file

d) Make the ViewController conform to the “GMSMapViewDelegate” protocol.

Make the ViewController conform to the "GMSMapViewDelegate" protocol

Make the ViewController conform to the “GMSMapViewDelegate” protocol

e) Finally, add the following code to your ViewController.m file in the viewDidLoad: method

//Controls whether the My Location dot and accuracy circle is enabled.

self.mapView.myLocationEnabled = YES;

//Controls the type of map tiles that should be displayed.

self.mapView.mapType = kGMSTypeNormal;

//Shows the compass button on the map

self.mapView.settings.compassButton = YES;

//Shows the my location button on the map

self.mapView.settings.myLocationButton = YES;

//Sets the view controller to be the GMSMapView delegate

self.mapView.delegate = self;

viewDidLoad: method in ViewController.m

viewDidLoad: method in ViewController.m

f) Now run the app in the simulator. Choose a location from the Debug -> Location menu option. Click on the my location button the app to move to your current location. And done!

iOS Simulator choose location from Debug -> Location

iOS Simulator choose location from Debug -> Location

Successfully added a google map to Xcode storyboard

Successfully added a google map to Xcode storyboard

g) Almost done. Finally some cosmetic changes. Go to your main storyboard and click on the view controller. Now go to the menu add a navigation controller by choosing “Editor -> Embed In -> Navigation Controller”.

This will add a navigator controller to your main storyboard.

Next give the navigation bar a title by adding the following code in your ViewController.m file:

self.title = @"Google Maps in iOS";

Feel free to add any other UIView objects. I have added a dummy button and a UITextView object.

Embed a Navigation Controller

Embed a Navigation Controller

How to import database?

Key benifits of Map View

Here list of key benifits to download a Map View from kashipara.com.

  • Easy to run a source code.
  • Easy to configuration a source code file.
  • Our expertes help development a projects.
  • We give full step for config Map View project.
  • We give full step for config database.
  • We provide a screenshot of this projects.
  • We also provide project diagrams.
  • You can easily download a Map View project documents PDF.

How to create diagram?

Here proper guide to making a various diagrams like Class diagrams, Use Case diagrams, Entity–relationship(ER) diagrams, Data flow diagram(DFD), Sequence diagram.

Map View project output screen

Rate and Review

0
0
 0 Total Reviews

programmer reviews

What our programmer says about project