Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
December 17, 2018, 12:45:20 PM *
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
Author Topic: Appendix B - AddressCard.m copyWithZone code missing the opening curly brac  (Read 976354 times)
Posts: 1

« on: August 17, 2012, 09:00:58 AM »

This is how the code is in the example (line 38).  It's missing the opening curly brace.

-(id) copyWithZone: (NSZone *) zone
    id newCard = [[[self class] allocWithZone: zone] init];

    [newCard assignName: name andEmail: email];
    return newCard;
Pages: [1]   Go Up
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 All rights reserved.