Giter Site home page Giter Site logo

bb9z / ios-project-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chinamobo/ios-project-template

65.0 65.0 11.0 7.06 MB

iOS 项目模版,MVC iOS project done right.

Home Page: https://github.com/BB9z/iOS-Project-Template/wiki

Objective-C 24.28% Shell 1.29% Perl 0.37% Ruby 0.40% Swift 73.67%
automation ci demo design-patterns ios ios-app ios-swift maccatalyst mvc sample sample-code swift template-project

ios-project-template's Issues

脚本工具改进

  • 引入 Swift Script
  • pre-commit hook
  • 版本增加用 agvtool 命令: new-version [-all]
  • Storyboard 排序脚本
  • pre-commit hook 修改自动提交
  • 配置 app

恢复模块

  • MBPublishSession
  • MBPublishImagePicker
  • MBDatePickerViewController
  • MBValueMapPickerViewController
  • MBNavigationController+MBDebugReleaseChecking

导航样式方案升级,对齐 iOS 15+ 行为

默认全透明,iOS 13-14 应用:

bar.tintColor = .red
// 标题
// os: 14-17 ok

let bg = UIImage(systemName: "square.fill")!
    .withTintColor(.gray)
    .withRenderingMode(.alwaysOriginal)
    .resizableImage(withCapInsets: .zero, resizingMode: .tile)
bar.setBackgroundImage(bg, for: .default)
bar.backgroundColor = .clear
bar.shadowImage = UIImage()

let appear = UINavigationBarAppearance()
appear.backgroundColor = .clear
appear.backgroundEffect = nil
appear.backgroundImage = bg
appear.titleTextAttributes = [
    .font: UIFont.italicSystemFont(ofSize: 24),
    .backgroundColor: UIColor.orange,
    .foregroundColor: UIColor.blue,
]

bar.standardAppearance = appear
bar.scrollEdgeAppearance = appear

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.