• 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
Incompatible types in Currency Converter tutorial
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Incompatible types in Currency Converter tutorial


  • Subject: Incompatible types in Currency Converter tutorial
  • From: Greg Norz <email@hidden>
  • Date: Fri, 18 Nov 2005 10:29:58 -0800 (PST)

 I'm starting my first forray into  Objective-C, and I'm stumped on what is probably a really basic error.  In the Currency Converter tutorial, I am getting the following error :

  "error: incompatible types in assignment" on the following line :

  rate = [rateField floatValue];

  What puzzles me is the line above it is identical (save the variable  names) and causes no problems. What am I missing here? I've poured over  the code several times to make sure I got everything correct, and I'm  just not seeing it. I can post my entire source files if that would  help anyone, but I basically copied in verbatim from the PDF.

  Thanks,
  greg



---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Incompatible types in Currency Converter tutorial
      • From: Phil Frost <email@hidden>
  • Prev by Date: Re: [SOLVED] Re: How to make sure that end of string is visible in NSTextField
  • Next by Date: Re: Parsing cString - Silly question
  • Previous by thread: Announcement .Mac SDK 2.0 (Developer Preview 2)
  • Next by thread: Re: Incompatible types in Currency Converter tutorial
  • Index(es):
    • Date
    • Thread