Проверка шаблона шины для iOS
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

sectionFunctions.py 461B

11 个月前
1234567891011121314
  1. def sectionFunctions(name, c):
  2. path = f"{c.src}/{c.module}.Section{name}.swift"
  3. lines = c.readFile(path)
  4. items = []
  5. for ln in lines:
  6. if ln.startswith(" static func destroyCore"):
  7. items.append("destroyCore")
  8. elif ln.startswith(" static func setupCore"):
  9. items.append("setupCore")
  10. elif ln.startswith(" static func setupService"):
  11. items.append("setupService")
  12. return items