Silver challenge


#1

hi

i’ve problem in chapter2 silver challenge , i’ve done all cods i read but still have error "unused var"
or “No known instance method for selector ‘initWithItem Name:serial Number:value In Dollar:’”

i’m using xcode 4.6


#2

Do you have spaces in the labels in the method name? No spaces are allowed.

initWithItem Name:serial Number:value In Dollar: should be initWithItemName:serialNumber:valueInDollar:

(The method name has three labels: initWithItemName:, serialNumber:, and valueInDollar:)


#3

hello

i rewrote the program & still have the problem :open_mouth:

i think i’ll rewrite it again


#4

If you post your code - it would he;p us identify the problem you’re having.

Right now - it’s a guessing game.