through terminal you can make it with a command - \"SetFile -a B filename\"
programmatically i think i should set one of the attributes through [[NSFileManager defa
Thanks everybody for help. I used the solution with info.plist file. this is the part of the plist file.
CFBundleDocumentTypes CFBundleTypeName Project LSHandlerRank Default LSTypeIsPackage CFBundleTypeExtensions fbp CFBundleTypeIconFile document CFBundleTypeRole Editor