Go inside the folder click on the file: "Tweak.xm" and open it with Text Editor.
Now, paste the following code, inside the file, save and exit!
Code here: https://ghostbin.com/paste/nyww2
Now, open the file: "Makefile" using Text editor and add this line under "helloCydia_FILES line:
helloCydia_FRAMEWORKS = UIKit
You need this so that your tweak will load the UIKit framework in order to use the class: "UIAlertview" that your tweak calls!
If you have followed my guide and successfully installed theos to your device, then you are ready to create you first tweak!
Open MTerminal app, and type:
cd ~
And then:
cd Development (this directory should exist if you followed my guide).
Now type:
theos (again this command should and will work if you followed my guide).
Type: 11 as the template (which represents: "iphone/tweak", give your tweak a name: e.g. "helloCydia", give the name com.yournickname.tweakname e.g. com.midkin.hellocydia as product name, next provide your nickname e.g. midkin, and then press enter (return) twice.
What your first tweak should look like after respring:
Now, open Filza app and navigate to: /var/mobile/Development/, you should find a folder with your tweak name, e.g. "helloCydia".
Now open MTerminal app again and type:
cd hellocydia (or your tweak name)
And then:
make package install
You should be asked twice for your passsword which is "alpine" by default and your device will respring. You can now see what your first tweak does!
Read some more objective-c, watch objective-c tutorials, read some e-books, and always take a look at: http://iphonedevwiki.net/index.php/Main_Page
Good luck!