new object with class method

how i can use cocos2d-x object like this
`myclass *myobject = [[myclass alloc] initxxxx:value]

// …

[myobject release];`