Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

having hard time to put working on version iOS 7.1 #270

Closed
tnmendex opened this issue Aug 4, 2015 · 3 comments
Closed

having hard time to put working on version iOS 7.1 #270

tnmendex opened this issue Aug 4, 2015 · 3 comments

Comments

@tnmendex
Copy link

tnmendex commented Aug 4, 2015

Hi everyone, i am trying to put working this chart on iOS 7.1 but i am failing.
I know that its something that i am missing but i can't find what. For the version iOS 8 i had no difficult to have put it work.

Already try a lot o things, include almost all the files, i had read the issues of this page and from stackoverflow and noting.

I had create again a new empty project and start from the begin just for testing without garbage of the old project.

So i have this in the file viewController

import <UIKit/UIKit.h>

import "Charts.h"

@interface ViewController : UIViewController
@EnD

And this on .m

import "ViewController.h"

@interface ViewController ()
@EnD

@implementation ViewController

  • (void)viewDidLoad {
    [super viewDidLoad];
    }
    @EnD

And even just starting is giving me a problem in giving the error: Cannot find protocol declaration for ‘ChartViewDelegate' i had drag all the swift file and they are in the target.

Here it is the project http://we.tl/NwPueCqfBi

@liuxuan30
Copy link
Member

take a look at #57

Quote:
If it's Objective-C based project + iOS 7, set embedded content contains swift code to YES, define modules to YES, and the module name is correct, also make sure Objective-C generated interface header name is correct.

BTW, I cannot download it. The website downloading is too fancy and downloaded nothing in my firefox.

@pmairoldi
Copy link
Collaborator

You dont actually need to do those things. You only need to import your applications swift header. Use #import "testeIOS7graficos-Swift.h" instead of #import "Charts.h"

Info can be found here
screen shot 2015-08-04 at 8 09 03 am

@tnmendex
Copy link
Author

tnmendex commented Aug 5, 2015

thank you @liuxuan30 and @petester42 for answers...i was trying to write the full bundle "com.training.testeIOS7graficos-Swift.h" that why was not working.

Once again thanks!!! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants