GithubHelp home page GithubHelp logo

bill666500 / skfswiftcammer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wubianxiaoxian/skfswiftcammer

0.0 1.0 0.0 10.76 MB

这是一个相机demo,在oc里面调用了swift

Swift 39.28% Objective-C 60.72%

skfswiftcammer's Introduction

微博 敲代码的手艺人

###这是一个自定义相机的demo,在github上面看到的demo是用swift写的,我写了一下用oc怎么调用

xcode版本要求 7.3

###在oc中调用swift文件方法

  1. 在工程中导入swift的类
  2. 创建全局预编译文件 PrefixHeader.pch
  3. 在预编译文件PrefixHeader.pch中 添加 #import ‘项目名-Swift.h")
  4. 然后就可以在oc中使用swift的类了

###截图

skfswiftcammer's People

Contributors

wubianxiaoxian avatar

Watchers

 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.