• 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: Why does the following refuse to compile?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why does the following refuse to compile?


  • Subject: Re: Why does the following refuse to compile?
  • From: David Dunham <email@hidden>
  • Date: Sun, 24 Sep 2006 11:24:50 -0700

On 24 Sep 2006, at 10:31, email@hidden wrote:

const NSStringEncoding* encoding = [NSString availableStringEncodings];

while (*encoding)
{
NSDictionary *encoding = [NSDictionary dictionaryWithObjectsAndKeys:[NSString localizedNameOfStringEncoding:*encoding],@"encodingName",[NSNumber numberWithInt:*encoding],@"encoding",nil];

Why do you name two variables the same thing? Your second version of "encoding" is causing confusion.


David Dunham       Development Manager
+1 206 926 5722      GameHouse Studios


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Why does the following refuse to compile? (From: email@hidden)

  • Prev by Date: Re: Why does the following refuse to compile?
  • Next by Date: Re: Why does the following refuse to compile?
  • Previous by thread: Re: Why does the following refuse to compile?
  • Next by thread: Xcode 2.4 and subversion 1.4 incompatibility fix
  • Index(es):
    • Date
    • Thread