• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems with UIButton still calling renamed method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 09:29:30 +0200

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

  • Follow-Ups:
    • Re: Problems with UIButton still calling renamed method
      • From: Laurent Daudelin <email@hidden>
    • Re: Problems with UIButton still calling renamed method
      • From: Laurent Daudelin <email@hidden>
References: 
 >Problems with UIButton still calling renamed method (From: Laurent Daudelin <email@hidden>)
 >Re: Problems with UIButton still calling renamed method (From: Alexander Spohr <email@hidden>)
 >Re: Problems with UIButton still calling renamed method (From: Laurent Daudelin <email@hidden>)
 >Re: Problems with UIButton still calling renamed method (From: Alexander Spohr <email@hidden>)
 >Re: Problems with UIButton still calling renamed method (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: Problems with UIButton still calling renamed method
  • Next by Date: Re: Problems with UIButton still calling renamed method
  • Previous by thread: Re: Problems with UIButton still calling renamed method
  • Next by thread: Re: Problems with UIButton still calling renamed method
  • Index(es):
    • Date
    • Thread