shabake / GHDropMenuDemo

:sunny::sunny: 仿京东/美团电商筛选菜单 电商筛选菜单 电商通用筛选菜单:tennis::tennis: Imitation Jingdong / Meituan e-commerce screening menu E-commerce screening menu E-commerce general screening menu
https://github.com/shabake/GHDropMenuDemo
MIT License
656 stars 90 forks source link

Swift 中不能调用create方法啊 #16

Open 429329513wanting opened 5 years ago

429329513wanting commented 5 years ago

Swift 中不能调用create方法啊!swift中没有提示 create方法

shabake commented 5 years ago

不支持swift

liyongjie1002 commented 4 years ago

按理说混编是可以的,两种方式,亲测有效 问题出在swift找不到GHDropMenuModel这个类

1.把GHDropMenuModel.h暴漏在GHDropMenu.h 2.在桥接头文件引入

import "GHDropMenuModel.h"

import "GHDropMenu.h"