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: Laurent Daudelin <email@hidden>
- Date: Tue, 29 Jun 2010 03:45:18 -0400
Nope, that doesn't work. I did follow your instructions very carefully. I did open my project, localized my xib files. Then, in the Finder, I did delete the build folder. I then went back to Xcode and opened from there the now localized xib in Interface Builder which was not running. I then did a visual change, saved my change and went back to Xcode to do a build and debug in the simulator. My change was not visible. If I remove the localization, then I can edit the xib files and my changes show in the build, but not if I do changes to the xib when they're localized.
I don't understand and the mystery is still complete.
BTW, when you localize files, Xcode moves them from the project folder into the localized folder (in my case English.lproj). It doesn't make a copy. Alternatively, if I remove the localization from my files, the English.lproj folder is empty.
Does anybody see this?
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
On Jun 29, 2010, at 03:29, Alexander Spohr wrote:
> Usually this happens when you localize an unlocalized version. Then you have the nib inside English.lproj and in the apps directory you still have the nib as a global resource because Xcode does not delete the now localized resources.
>
> You said you deleted the build-directory - obviously you did not ;)
>
> Delete your build-directory after you localized. Then build again. Will work.
>
> atze
>
>
>
> Am 29.06.2010 um 09:25 schrieb Laurent Daudelin:
>
>> On Jun 29, 2010, at 02:32, Alexander Spohr wrote:
>>
>>>>> - 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.
>>
>> OK, it seems to be related with the localization. If I remove the localization for my nib, then I see my changes. If I make the file localized again, then all the future changes I do in Interface Builder don't appear in the build. Of course, I close the document in IB each time I remove the localization or add one. This is really strange as I can't find any other copy of that xib file anywhere in my project. I just reproduced it. I did quit IB, made the files localizable again, then opened one in IB, made a visual change, saved, came back in Xcode, did a clean, build and run in the simulator in debug mode and my change is not visible.
>>
>> Can anybody explain that?
>>
>> -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