Photo stuff with swift.