Проверка шаблона шины для iOS
You can not select more than 25 topics
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
|