How would a put a image in swift code then have the image disappear after a second

I would like to position a image then have it disappear after 1 second has passed what would be the code to do this? Thanks.

func imageVanish() {
    let image = SKSpriteNode(imageNamed: "whatever")
    image.position = CGPointMake(self.frame.midX, self.frame.midY)
    
    let appear = SKAction.fadeInWithDuration(0) // appear immediately 
    let waitAsecond = SKAction.waitForDuration(1)
    let vanish = SKAction.removeFromParent()
    
    let sequence = SKAction.sequence([appear, waitAsecond, vanish])
    image.runAction(sequence)
    self.addChild(image)
}

this should do it !