Convertet to Xcode and added simplicity to initialize in textures
mm.