Giter VIP home page Giter VIP logo

awesome_swift's Introduction

新项目模板


功能介绍

模板项目,下载下来,修改Target名字,可以直接当做新项目的脚手架,开启新项目时,直接开始写业务页面

具体用法如下, 描述看不懂的地方 参见 OC版的AwesomTemplate 的截图, 和OC版不同的步骤已加粗

  1. 下载zip 解压之后 删除Awesome_Swift.xcworkspace Podfile.lock README.md 3个文件
  2. 打开Awesome_Swift.xcodeproj,进入项目, 单击项目名 修改为MyProject, 弹框选择 Rename
  3. 点击Target处Manage Schemes, 单击scheme, 修改名称为 MyProject
  4. 单击项目名下面的黄色文件夹Awesome_Swift, 右键 Show in Finder , 将文件夹Awesome_Swift名称改为 MyProject ,改完之后 进入项目 看到该文件夹下面 所有文件为 浅色
  5. 将Xcode Inspectors(即编辑器右边窗口)下 Name的值改为MyProject, 然后单击文件夹图标,选中刚才改名后的文件夹MyProject
  6. 修改Build Settings配置,点击Build Settings,选中All
    1. 搜索 info, 双击Info.plist File的值,修改为 MyProject/Info.plist
    2. 搜索 brid, 双击Objective-C Bridging Header的值,修改为 MyProject/MyProject-Bridging-Header.h
  7. 重名名目录下的Awesome_Swift-Bridging-Header.h文件名 为 MyProject-Bridging-Header.h
  8. 编辑项目目录下的Podfile 修改target Awesome_Swift 为 MyProject
  9. 退出最外层将文件夹命名为 MyProject
  10. cd 到项目目录, 终端输入 pod install , 等待pod安装完成, 打开 MyProject.xcworkspace 编译通过

awesome_swift's People

Contributors

maltsugar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.