コードベース開発を促進するXcode Source Editor Extensionを作った話

コードベース開発を促進するXcode Source Editor Extensionを作った話

C83cec00075f7bacf0e990fbd3bd9412?s=128

fumito nakazawa

September 26, 2019
Tweet

Transcript

  1. Xcode Source Editor Extension / / CA.swift # 
 @funzin

  2. None
  3. Fumito Nakazawa(id: funzin) AbemaTV iOS Engineer funzin _funzin

  4. AbemaTV View

  5. AbemaTV View Code or IB(Interface Builder) View Code

  6. e.g Code Layout Sample Code

  7. None
  8. 
 initialization closure View 
 View translatesAutoresizingMaskIntoConstraints = false initialization

    closure View CollectionView TableView 

  9. View

  10. None
  11. . . View .

  12. None
  13. None
  14. 1. (hogeView)

  15. 1. (hogeView) 2. (UIView)

  16. 1. (hogeView) 2. (UIView) 3. (View)

  17. 1. (hogeButton) 4

  18. 1. (hogeButton) 4 2. (UIButton)

  19. 1. (hogeButton) 4 2. (UIButton) 3. (Button)

  20. None
  21. None
  22. Xcode Source Editor Extension

  23. Xcode Source Editor Extension Xcode 
 Xcode Source Editor Extension

    awesome 
 
 https://github.com/theswiftdev/awesome-xcode-extensions
  24. GitHub: https://github.com/funzin/ViewGenerator Mac App Store: https://apple.co/ klPirP

  25. single variable Please check gif in README

  26. multiple variables Please check gif in README

  27. None
  28. . class init(frame) class 
 (UILabel, UIButton ) enum

  29. 2. class e.g. hogeView 
 
 case .view
 class UIView


    
 
 class 
 view code
  30. iOS 


  31. . Travis Test iOS simulator 
 Signing SwiftFormat framework travis

    test 
 (Signing ) framework framework test 
 (https://github.com/funzin/ViewGenerator/tree/master/ViewGeneratorCore)
  32. . Mac Application iOS Mac Application 
 
 
 https://github.com/onmyway

    /IconGenerator
  33. None
  34. Xcode Source Editor Extension 
 UIKit View 
 Mac Application

    Class 
 className: HogeView

  35. Thank you