mcconkiee/EMHint

Example doesn't work

Closed this issue · 7 comments

It bombs out with an exception:

2012-03-23 19:43:23.078 HintMakerExample[34148:f803] *** Terminating app due to uncaught exception 'No ModalView protocols', reason: 'you must at least implement a view or point '

Hi Aaron- you have to implement one of the two protocols
(CGRect)hintStateRectToHint:(id)hintState OR-(UIView*)hintStateViewToHint:(id)hintState

Try that

On Friday, March 23, 2012 at 10:43 PM, Aaron Brethorst wrote:

It bombs out with an exception:

2012-03-23 19:43:23.078 HintMakerExample[34148:f803] *** Terminating app due to uncaught exception 'No ModalView protocols', reason: 'you must at least implement a view or point '


Reply to this email directly or view it on GitHub:
#1

Aaron...i just cloned / compiled and ran without a problem.

Anymore details?

Yep, runs fine for me too. Maybe update Xcode? Useful code by the way, Mcconklee.

@mcconkiee Doesn't work for me either

2012-03-25 03:54:07.083 HintMakerExample[2701:f803] *** Terminating app due to uncaught exception 'No ModalView protocols', reason: 'you must at least implement a view or point '

I'm using Xcode 4.3.1 with the iOS 5.1 SDK and simulator fwiw.

Sent from my iPhone

On Mar 24, 2012, at 11:54 PM, Thiago Peresreply@reply.github.com wrote:

@mcconkiee Doesn't work for me either

2012-03-25 03:54:07.083 HintMakerExample[2701:f803] *** Terminating app due to uncaught exception 'No ModalView protocols', reason: 'you must at least implement a view or point '


Reply to this email directly or view it on GitHub:
#1 (comment)

thanks aaron - that was the helper i needed (5.1)...i've made the update, and hope it works for everyone now

this commit did it. thanks! e540818