Re: Problems with UIButton still calling renamed method
Re: Problems with UIButton still calling renamed method
- Subject: Re: Problems with UIButton still calling renamed method
- From: Alexander Spohr <email@hidden>
- Date: Tue, 29 Jun 2010 08:32:58 +0200
>> - Change the layout. Does it reflect in the simulator?
> The new button I put in my view didn't have any title. When I built and ran my app, the button automagically had "Sign in" as its title!
Did you actually move the button to some different location? Try that and report if it is at the new position in the simulator.
If not, you still have some old nib or even an old app around somewhere.
atze
Am 29.06.2010 um 07:51 schrieb Laurent Daudelin:
> Already checked that. I did delete the entire build folder the last time before building again. I tried to post a follow-up with screen shots but my message is on hold because it's 55KB and is above the 25KB limit.
>
> The new button I put in my view didn't have any title. When I built and ran my app, the button automagically had "Sign in" as its title!
>
> I'm pulling my hair now on that stupid problem.
>
> -Laurent.
> --
> Laurent Daudelin
> AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
> Logiciels Nemesys Software email@hidden
>
> On Jun 29, 2010, at 01:41, Alexander Spohr wrote:
>
>> - Change the layout. Does it reflect in the simulator?
>> - Check the .app for any old nibs.
>>
>> atze
>>
>>
>> Am 29.06.2010 um 07:15 schrieb Laurent Daudelin:
>>
>>> I'm not sure what's going on but I must be missing something big. I initially had a round rect button sending a 'signIn:' message to my view delegate. I decided to rename the 'signIn:' method to 'retailerSignIn:'. Changed the action in IB and ran the program. Got an exception that 'signIn:' was sent to an object that doesn't respond to that method. Double-checked everything and all seem fine. Tried again with same result. Did a complete clean up then recompiled. Ran in the simulator and again the same 'signIn:' message is sent to my controller!
>>>
>>> I removed the button and put a new one. Wired it to send 'retailerSignIn:'. Ran in the simulator again and the button still sends a 'signIn:' message to my controller!
>>>
>>> What am I missing?
>>>
>>> -Laurent.
>>> --
>>> Laurent Daudelin
>>> AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
>>> Logiciels Nemesys Software email@hidden
>>>
>>> _______________________________________________
>>>
>>> Cocoa-dev mailing list (email@hidden)
>>>
>>> Please do not post admin requests or moderator comments to the list.
>>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>>
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden