• 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: update preference problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: update preference problem


  • Subject: Re: update preference problem
  • From: Daniel Todd Currie <email@hidden>
  • Date: Thu, 12 Feb 2004 15:57:10 -0800

If I understand your problem correctly...

In the version check, you'll probably want to do something like this:

int applicationVersion = [[[[NSBundle bundleWithIdentifier:@"your application's bundle id"] infoDictionary] objectForKey:@"CFBundleVersion"] intValue];

// Daniel Currie


On 2004 Feb 12, at 15:27, email@hidden wrote:

Well I just discovered a small faux-pas in my update preference and I'm not
sure how to overcome it.

The update preference is a preferencePane bundle and when checking version
against the NSURL versionlist.xml file it's using the version string from the
preferencePane and not the application version, anyone have a solution for this?
_______________________________________________

Dale
_______________________________________________
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.
_______________________________________________
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: 
 >update preference problem (From: email@hidden)

  • Prev by Date: Re: performSelectorOnMainThread and other thread notifications
  • Next by Date: Problems with DataSource Class & Controller Class
  • Previous by thread: update preference problem
  • Next by thread: Problems with DataSource Class & Controller Class
  • Index(es):
    • Date
    • Thread