Skip to content
This repository has been archived by the owner on Mar 2, 2019. It is now read-only.

plainButtonWithNormalImageName method not found #10

Open
edison0951 opened this issue Jul 16, 2014 · 5 comments
Open

plainButtonWithNormalImageName method not found #10

edison0951 opened this issue Jul 16, 2014 · 5 comments

Comments

@edison0951
Copy link

First, I download the code, and then I run the code, the error say the EasyLayout.h not found. so I download the EasyLayout Code, and add it to the Xcode project. And I run again, the error say plainButtonWithNormalImageName not found.I have to annotate the code in order to run successfully. where is the method?

@bentford
Copy link
Contributor

Sounds like the submodules are missing. Use git clone --recursive or git submodule init; git submodule init;

@wcchh
Copy link

wcchh commented Nov 25, 2015

So, any update about "plainButtonWithNormalImageName"? since there's no where to find it~

@bentford
Copy link
Contributor

The plainButtonWithNormalImageName is in the EasyLayout project.
https://github.com/bentford/EasyLayout/blob/master/EasyLayoutLibrary/ButtonMaker.h

Make sure to checkout submodules using command listed above.

@wcchh
Copy link

wcchh commented Nov 27, 2015

Yes, but I only saw "plainButtonWithNormalImage", not "plainButtonWithNormalImageName"; Is that right?
Sorry for I'm new in iOS, please let me know if I'm wrong, thanks.

@jkroeckel
Copy link

To fix, in FindDeviceViewController.m, change to this line:

modeButton = [ButtonMaker plainButtonWithNormalImage: 
                                [UIImage imageNamed:@"mode_button_detecting.png"]
                                selectedImage:[UIImage imageNamed:@"mode_button_broadcasting.png"]];

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

No branches or pull requests

4 participants