ios - Including Swift files in Objective-C -


I am trying to include a fast section in the objective project. The bright square gets from UIView and looks like:

  class BVDTestView: UIView {...}   

Note that I do not include the @objc because the faster class gets from UIView . Object-In the implementation file, I import the umbrella swift headers:

  #import "TestApp-Swift.h"   

I think it When I create the file, but I do not see any reference to BVDTestView (I think I want to). When I try to create an example of fast footage, I get an error:

  BVDTestView * view = [BVDTestView new];   

Use of undisclosed identifier 'view'

Any thoughts? I'm on Xcode 6 Beta 4.

I recently went on to beta 4, in Swift, and

By default, all organizations have internal access.

You must explicitly mark

header public class BVDTestView ... .

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -