MDSoftCalendar 1.0.3

MDSoftCalendar 1.0.3

Maintained by Maedi Laziman.



  • By
  • Maedi Laziman

About

innosoft-mdcalendar aims to help produce an easily usable implementation of create beauty calendar.


           

Requirements

  • iOS 11.6
  • XCode 13.6
  • Swift 4.0+

Installation

CocoaPods

pod 'MDSoftCalendar', '~> 1.0' or

pod 'MDSoftCalendar', :git => 'https://github.com/maedilaziman/innosoft-mdcalendar.git'

Manual

Just the files from the MDSoftCalendar subfolder to your project.

Setup

It needs a extension:

extension ViewController: CalendarCst_Communicate{     func getCalendarValue(value: [String]) {         print("Value Calendar = \(value)")     } }

Usage

Declare CalendarCst() and call showMDSoftCalendar function like this example.

import UIKit import MDSoftCalendar

extension ViewController: CalendarCst_Communicate{     func getCalendarValue(value: [String]) {         print("Value Calendar = \(value)")     } }

class ViewController: UIViewController {

    override func viewDidLoad() {         super.viewDidLoad()         // Do any additional setup after loading the view.     }

    @IBAction func actShowCalendar(_ sender: Any) {         let calendarCst = CalendarCst()         calendarCst.showMDSoftCalendar(comm: self, background: UIColor.black, backgroundWithSemiTransparent: true, closeCalendarWhenItemChoosed: true)     }

}


That's it!

License

Copyright 2020 Maedi Laziman

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.