Проверка шаблона шины для iOS
25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- def sectionFunctions(name, c):
- path = f"{c.src}/{c.module}.Section{name}.swift"
- lines = c.readFile(path)
- items = []
-
- for ln in lines:
- if ln.startswith(" static func destroyCore"):
- items.append("destroyCore")
- elif ln.startswith(" static func setupCore"):
- items.append("setupCore")
- elif ln.startswith(" static func setupService"):
- items.append("setupService")
-
- return items
|