Instrument / Vicinity

Replicates detecting and broadcasting iBeacons in the background
MIT License
376 stars 64 forks source link

plainButtonWithNormalImageName method not found #10

Open edison0951 opened 10 years ago

edison0951 commented 10 years ago

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 commented 10 years ago

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

wcchh commented 9 years ago

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

bentford commented 9 years ago

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 commented 9 years ago

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 commented 8 years ago

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"]];