• 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: setFrameUsingName , setFrameAutosaveName
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setFrameUsingName , setFrameAutosaveName


  • Subject: Re: setFrameUsingName , setFrameAutosaveName
  • From: "Tony S. Wu" <email@hidden>
  • Date: Fri, 13 Sep 2002 11:14:29 -0700

> That might not be such a great idea. If these methods aren't working,
> there's probably some root problem which could cause trouble elsewhere.
> Here are my suggestions (sorry if they seem insulting, but these
> problems nearly always turn out to be caused by something incredibly
> simple).
>
> - Have you accidentally deleted your bundle identifier in the targets
> window? This would cause your app to start saving defaults into a file
> called (YourApplicationName).plist.

No I didn't.
Just checked.
Still there, and there are only one plist file in the preference folder that
contains my application's name.

> - Are you using PLE to look at your prefs file? If so, are you properly
> quitting the app and re-opening the plist file before checking whether
> the new value is there?

Sorry I don't know what PLE is.
I simply open the plist file with BBEdit and found the frame of my document
window didn't get stored.
Otherwise I would've seen a key with this name "NSWindow Frame
MyDocumentWindow"...

> - Are you sure you're entering this code into a file that gets included
> in your built app? I know it sounds stupid, but moving files around can
> result in more than one version of a source file being entered in that
> popup menu above PB's editor. I've caught myself typing code into a
> defunct source file as a result of relying exclusively on that popup for
> navigation.

I type everything into my app.
I hardly move files around.
And I don't have many files to move around...

>
> -Jeremy
>
> ========================================
> email@hidden // email@hidden
> The Alchemy Pages:
> - fractious fiction at http://freespace.virgin.net/jeremy.dronfield
> ========================================
>

Tony S. Wu
email@hidden

"Nope, this world ain't perfect. But at least I know it's not because of
me."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: setFrameUsingName , setFrameAutosaveName (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: Re: setFrameUsingName , setFrameAutosaveName
  • Next by Date: Bilingual shenanigans
  • Previous by thread: Re: setFrameUsingName , setFrameAutosaveName
  • Next by thread: Re: setFrameUsingName , setFrameAutosaveName
  • Index(es):
    • Date
    • Thread