In today’s fast-paced world, finding what you need — exactly when you need it — should be effortless. That’s where Around2Me comes in. Whether you're navigating a new city, running errands, or just looking for a bite nearby, Around2Me helps you instantly find nearby essentials like ATMs, restaurants, hospitals, gas stations , and much more. Around2Me ๐ What Makes Around2Me Different? Unlike many location-based apps that are bloated with unnecessary features or force users to sign up, Around2Me is lightweight, private, and instant . Here's how: ๐ Location-Based Discovery The app instantly detects your current location and shows you relevant nearby places — from pharmacies to petrol pumps, cafes to banks. ๐บ️ Map Integration Tap any place to view it on the map and get turn-by-turn directions in seconds. ๐งฉ Clean Categories Looking for something specific? Use quick-access filters like Hospitals , ATMs , Coffee Shops , or Parking . ๐ No Signups, No Data Collection ...
Charts 3.6.0
1. CocoaPods Install
Add pod 'Charts' in your podfile
pod 'Charts'
Then Pod Install With Terminal.
Then
1. if you want to used Bar Chart in your project then Start.
import Charts
import UIKit
class ViewController: UIViewController, ChartViewDelegate {
var barChart = BarChartView()
override func viewDidLoad(){
super.viewDidLoad()
barChart .delegate = self
}
override func viewDidLayoutSubviews(){
super.viewDidLayoutSubviews()
barChart.frame = CGRect(x: 0, y: 0, width: self.view,frame.size.width , hieght: self.view,frame.size.width)
barChart.center = view.center
view.addSubview(barChart)
var entries = [BarChartDataEntry]()
for x in 0..<10{
entries.append(BarChartDataEntry(x: Double(x), y: Double(x)))
}
let set = BarChartDataSet(entries)
set.colors = ChartColorTemplets.joyful()
let data = BarChartData(dataSet: set)
barChart.data = data
}
}
2. if you want to used Line Chart in your project then Start.
import Charts
import UIKit
class ViewController: UIViewController, ChartViewDelegate {
var lineChart = LineChartView()
override func viewDidLoad(){
super.viewDidLoad()
lineChart .delegate = self
}
override func viewDidLayoutSubviews(){
super.viewDidLayoutSubviews()
lineChart .frame = CGRect(x: 0, y: 0, width: self.view,frame.size.width , hieght: self.view,frame.size.width)
lineChart .center = view.center
view.addSubview(lineChart )
var entries = [LineChartDataEntry]()
for x in 0..<10{
entries.append(LineChartDataEntry(x: Double(x), y: Double(x)))
}
let set = LineChartDataSet(entries)
set.colors = ChartColorTemplets.material()
let data = LineChartData(dataSet: set)
lineChart.data = data
}
}
3. if you want to used Pie Chart in your project then Start.
import Charts
import UIKit
class ViewController: UIViewController, ChartViewDelegate {
var pieChart = PieChartView()
override func viewDidLoad(){
super.viewDidLoad()
pieChart .delegate = self
}
override func viewDidLayoutSubviews(){
super.viewDidLayoutSubviews()
pieChart .frame = CGRect(x: 0, y: 0, width: self.view,frame.size.width , hieght: self.view,frame.size.width)
pieChart .center = view.center
view.addSubview(pieChart )
var entries = [PieChartDataEntry]()
for x in 0..<10{
entries.append(PieChartDataEntry(x: Double(x), y: Double(x)))
}
let set = PieChartDataSet(entries)
set.colors = ChartColorTemplets.colorful()
let data = PieChartData(dataSet: set)
pieChart .data = data
}
}
Create Graphs & Charts in App with Swift With Charts cocoapods
ReplyDeleteGreat post...!
Well, read our blog - 5 Benefits of Hiring skilled iOS developers for your Enterprise
hire iOS developers