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

latest commit (cf530eb039) iPad demo does not compile #27

Open
ajesler opened this issue Nov 26, 2012 · 3 comments
Open

latest commit (cf530eb039) iPad demo does not compile #27

ajesler opened this issue Nov 26, 2012 · 3 comments

Comments

@ajesler
Copy link

ajesler commented Nov 26, 2012

When running the iPad project, I get the following errors:

- (IBAction)showNotice:(id)sender
{
    WBNoticeView *nm = [WBNoticeView defaultManager]; // <- no known class method for selector defaultManager
    [nm showErrorNoticeInView:self.view title:@"Network Error" message:@"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."]; // <- No visible @Interface for WBNoticeView declares the selector showErrorNoticeInView:title:message
}

Are there some changes that were missed from the commit?

@tciuro
Copy link
Owner

tciuro commented Nov 26, 2012

These methods no longer exist: showNotice: and [WBNoticeView defaultManager]. Looks like you have an old version.

@ajesler
Copy link
Author

ajesler commented Nov 26, 2012

Looks like the iPad demo project needs to be updated to the latest API then. The code is in the current head: https://github.com/tciuro/NoticeView/blob/master/NoticeViewiPad/NoticeViewiPad/WBDetailViewController.m#L85

@tciuro
Copy link
Owner

tciuro commented Nov 26, 2012

I totally forgot about the iPad example. I'm going to remove it since the NoticeView project already contains a complete example.

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

2 participants