MDSoftCalendar 1.0.3

MDSoftCalendar 1.0.3

Maedi Laziman 维护。



  • 作者:
  • Maedi Laziman

关于

innosoft-mdcalendar 致力于帮助实现一个易于使用的美丽日历创建功能。


           

需求

  • iOS 11.6
  • XCode 13.6
  • Swift 4.0+

安装

CocoaPods

pod 'MDSoftCalendar', '~> 1.0' or

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

手册

只需将<백>MDSoftCalendar子文件夹中的文件添加到您的项目中。

安装

它需要一个扩展

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

用法

声明 CalendarCst() 并像这样调用 showMDSoftCalendar 函数。

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)     }

}


就是这样!

许可

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
https://apache.ac.cn/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.