Hi, I'm new to XCode, but I have some "hobby" experience with AppleScript. I am trying to make an application, that, on the first time it is run (on an account or computer) it will ask the person to set a username and password (with the password repeating to verify it.) It will then save the information. The next time the person opens the application he/she will enter his/her set username and password to gain access. Is there anyway to do this?


Oh, and could you please include the code, if it is possible?