Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
September 25, 2017, 04:42:20 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register Chat  
Pages: [1]   Go Down
  Print  
Author Topic: p. 480, 481 - Program 21.2  (Read 2514 times)
jefflebl
Newbie
*
Posts: 8


« on: April 22, 2009, 08:11:34 AM »

Hi Steve,

I noticed that the UILabel *display declaration within @interface should have IBOutlet in front of it and should not have that in front of it on the @property line on p. 481 as written.

I didn't find this, but my compiler did. Smiley

Thanks,
Jeff 
Logged
skochan
Administrator
Hero Member
*****
Posts: 3114



« Reply #1 on: April 22, 2009, 08:32:53 AM »

Odd, it works for me!

Steve
Logged
jefflebl
Newbie
*
Posts: 8


« Reply #2 on: April 22, 2009, 09:20:19 AM »

Does it matter where the IBOutlet appears, or just that it appears in one of the two places?


Logged
skochan
Administrator
Hero Member
*****
Posts: 3114



« Reply #3 on: April 22, 2009, 09:27:38 AM »

I don't think it matters, it's just picked up by the preprocessor and removed from the input (that is, replaced by nothing).

Cheers,

Steve
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents ゥ 2009 classroomM.com. All rights reserved.