Jump to content

52 posts in this topic

Recommended Posts

Hey future app dev! You want to make an app so follow this. This TuT will cover the very basics of app development, so we will be doing an app which has 3 buttons: Respring, Reboot and uicache and they'll do the actions stated by their names. We will also take the harder route, because it's more fun :p so we will do this 100% programmatically and in Obj-C. Also note that I heavily explain every little thing in this TuT so it's long.

 

REQUIREMENTS:

Theos

iOS 8 SDK

Power of reading

Ability to type in characters

This ancient template for Theos: https://iosddl.net/1b23c7c63c6e907f/application.nic.tar

Terminal

 

SETUP:

So now that you have your iOS 8 SDK downloaded, you want to make sure it'll be used. So move that fresh SDK into theos/sdks but it won't be used yet. To make it work, make a folder named Unused (or whatever you want) and put all the other SDKs in that folder. Then, move the new template to theos/templates. Now, we need to start the app. To do that open your terminal and type in "cd /path/where/you/want/the/app" and then type in theos. You'll see a bunch of templates so with those eyes of yours locate the new template (iphone/application). There should also be an iphone/application modern one but it doesn't work for me. After just follow the steps of the app. It should look like this:  IMG_6252.jpg

 

BACKGROUND:

Now you don't want that app to have a nasty background. Follow these steps to have a sexy one that'll be dynamic and resize to the screen. Results may be ugly or stuff if you use an image which is weirdly sized. I also suggest you to download images that are HD and free using this site: bla.bla.bla. Download the image file and move it to your/app/path/Resources. Basically, the ressources folder is where your app will get it's assets from. The assets could potentially be stores in other files but /Resources is the best one you can use. Rename the image to IamGay.jpg or anything you want (I'll use Background.png). Then, from the RootViewControlller.mm file delete the line where it says self.view.backgroundColor. That's basically a line in the template which will set the background of your app to nasty red. But now, the app doesn't have a background so you need to add one! Add these lines at the place where you deleted the other line:

Hidden Content

    UIGraphicsBeginImageContext(self.view.frame.size);

    [[UIImage imageNamed:@"Background.png"] drawInRect:self.view.bounds];

    UIImage *image = UIGraphicsGetImageFromCurrentImageContext();

    UIGraphicsEndImageContext();

     

    self.view.backgroundColor = [UIColor colorWithPatternImage:image];

Huh, what does that mean? It's basically making the image and setting the background to the image you declared. Also, make sure to replace Background.png with the actual name of the image. So now that everything is dandy and ready for action, we'll make a test build! So from the terminal, cd to the path of the project and type in make package. After that, look in the app's folder in packages and install the .deb and respring.

 

I also want to state, on iPad it will have the "stupid dev look" as I say. It basically will look like this but now worries, we'll fix that.

IMG_6254.png

CREATING BUTTONS:

So now we will start creating the actual action in the app rather than a plain background. We want to start in a text editor for the file RootViewController.mm, then slide your cursor to before the load view function ends (so basically where this "}" is). Return a lot of returns to make space for adding stuff and were all set. To declare the button we'll type this:

Hidden Content

    UIButton*springButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];

Just for your knowledge, I'm making a respring button so that's why it's named springButton. You can obviously change the name to whatever you want so in the next steps be sure to change it if you changed it. This TuT is also 100% Obj-C and 0% XCode so why not explain what that does? Basically you're declaring springButton of type UIButton. Another example of declaration could be NSString *playerName = @"GayKid";. So we're declaring a string named playerName which contains GayKid. All good, next step. 

Hidden Content

    springButton.frame = CGRectMake(CGRectGetWidth(self.view.bounds)/4, 348.5, self.view.frame.size.width - 385, 65);

Eesh, that's a complex one, but I'll explain. What you see springButton.frame is basically telling the compiler we're using the frame from our button, which I named springButton. The rest is basically up to you but I'll explain how I made it work. So what I'm doing is using CGRectGetWidth(self.view.bounds) so it gets the width of the screen and I divide it in 4. That's my way of making an app dynamic as it will always get the screen width no matter what device and divide it by 4 to set our button there. The rest (so 348.5) is found by using FLEXible so that's why you need to compile a bunch of times and find the position you want to set your button to. Then, we have the sizing, so I'm using another way of calling the screen width and setting the height at 65. Here's a reference:

Hidden Content

    springButton.frame = CGRectMake(X axis position, Y axis position, X size, Y size);

Note that the button is not complete so it will probably give errors while compiling and not display the button. We're getting there though. Next step, set title, color and font size.

Hidden Content

    [springButton setTitle:@"Respring" forState:UIControlStateNormal];

    [springButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];

    springButton.titleLabel.font = [UIFont systemFontOfSize:46.0];

I won't explain these as much as the other steps because if you can read this text then you can probably figure out what it means. We're also using different methods to call things, but that's just for making you understand Obj-C can use different methods for calling stuff. Next step is making it do an action.

Hidden Content

    [springButton addTarget:self action:@selector(springUp)     forControlEvents:UIControlEventTouchUpInside];

    [self.view addSubview:springButton];

This also terminates the making of our button. The second line doesn't need to be explained but the first yes. What we're doing is basically making the button call a function which I named springUp when the button is touched/tapped. Now if you compile it'll be successful but you can open the app and see a nice crash when you tap the button, that's because we didn't make our function yet so it's calling absolutely nothing. After the first ending bracket "}" Which I told you to write all the steps before before the bracket, we'll go after it now. We want to make a new function so type this in:

Hidden Content

    - (void)springUp {

That's just making a void named springUp. I wanted the button to respring so I type this

Hidden Content

    system("killall -9 SpringBoard");

system runs a command and the command is killall -9 SpringBoard. Pretty self explanatory. The function isn't done yet! After that enter "}" so we'll end springUp. Compile,  install, open the app and hit the button and a respring occurs. Hooray! This is how we make a button. I'll be making three so just repeat the steps, change the title of the button, change the action of the button and it's position. I won't cover the other buttons because they're basically the same thing.

 

TEXT:

Nice app, but no one knows who did it! We'll make two text boxes saying "Made by a wandling tiger" and "For iOSGods.com". So start by regoing in your loadview function and add this 

Hidden Content

    UILabel *credLabel = [[UILabel alloc] initWithFrame:CGRectMake(21, CGRectGetHeight(self.view.bounds) - 60, self.view.frame.size.width - 42, 44)];

That makes a UILabel named credLabel and sets it's position to 21(X) and Screen's Height - 60 for Y. Now we'll add text to the label so to do this step you need to add this:

Hidden Content

    credLabel.text = @"Made by wandling tiger";

We're the text from credLabel to Made by a wandling tiger. Now we're going to color our stylish and ergonomic designed label so add this:

Hidden Content

    credLabel.backgroundColor = [UIColor clearColor];

    credLabel.textColor = [UIColor whiteColor];

The background color is set to clear so that makes no ugly background on the label and we're also setting our text color to white. Noice so now we just need to make it visible:

Hidden Content

    credLabel.textAlignment = UITextAlignmentCenter;

    [self.view addSubview:credLabel];

     

    [credLabel release]; 

This snippet also sets the text to a centered position rather than being on the left. After that we just make it visible.

 

 

CONCLUSION:

This TuT covered the very basics of app development. If you want to progress more in this domain I suggest you to search online, ask questions and learn Obj-C and Swift. I also open sourced all this project so if you want to see the whole code just download it from

Hidden Content

The final package will also be released in the tools section so if you want to try it you can. :) Here's a screenshot of my final product:

IMG_6253.pnG

 

Updated by ggAyMe
  • Like 55
  • Winner 7
  • Thanks 6
  • Agree 3
  • Informative 2
Link to comment
https://iosgods.com/topic/67772-how-to-make-a-simple-ios-app/
Share on other sites

  • Our picks

    • Hunt Royale: Action RPG Battle v3.3.1 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       
       

      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier


      🍏 Jailbreak iOS hacks: [Mod Menu Hack] Hunt Royale: Action RPG Battle v3.2.7 +3 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Agree
        • Winner
        • Like
      • 28 replies
    • Hunt Royale: Action RPG Battle v3.3.1 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       
       

      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier


      🍏 For Non-Jailbroken & No Jailbreak required hacks: [IPA Mod Menu] Hunt Royale: Action RPG Battle v3.2.7 +3 Jailed Cheats [ Damage & Defence ] - Free Non-Jailbroken IPA Cheats - iOSGods
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 24 replies
    • Loot Heroes v1.3.4 +8 Jailed Cheats [ Unlimited Currencies + More ]
      Modded/Hacked App: Loot Heroes: Fantasy RPG Games By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes-fantasy-rpg-games/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - Unlimited Currencies [ VIP ]
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - Auto Win [ VIP ]
      - Battle Pass Unlocked [ VIP ]


      Jailbreak required hack(s): [Mod Menu Hack] Loot Heroes v1.1.5 +8 Cheats [ Unlimited Currencies + More ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 39 replies
    • Loot Heroes v1.3.4 +8 Cheats [ Unlimited Currencies + More ]
      Modded/Hacked App: Loot Heroes By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - Unlimited Currencies [ VIP ]
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - Auto Win [ VIP ]
      - Battle Pass Unlocked [ VIP ]


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 158 replies
    • Good Coffee, Great Coffee v1.0.1 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Coffee, Great Coffee By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.coffeebusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-coffee-great-coffee/id1603584945?uo=4
       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gems
        • Haha
        • Like
      • 3 replies
    • Good Coffee, Great Coffee v1.0.1 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Coffee, Great Coffee By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.coffeebusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-coffee-great-coffee/id1603584945?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gems
        • Agree
        • Haha
        • Like
      • 11 replies
    • Smashero.io - Hack N Slash RPG v1.13.0 +2 Jailed Cheats [ God / O-HK ]
      Modded/Hacked App: Smashero.io - Hack N Slash RPG By CANNON CRACKER, Inc.
      Bundle ID: com.cc.Smashero
      iTunes Store Link: https://apps.apple.com/us/app/smashero-io-hack-n-slash-rpg/id6505129091?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill


      Jailbreak required hack(s): [Mod Menu Hack] Smashero.io - Hack N Slash RPG v3.3 +2 Cheats [ God / O-HK ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Thanks
        • Winner
        • Like
      • 19 replies
    • Smashero.io - Hack N Slash RPG v1.13.0 +2 Cheats [ God / O-HK ]
      Modded/Hacked App: Smashero.io - Hack N Slash RPG By CANNON CRACKER, Inc.
      Bundle ID: com.cc.Smashero
      iTunes Store Link: https://apps.apple.com/us/app/smashero-io-hack-n-slash-rpg/id6505129091?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill


      Non-Jailbroken & No Jailbreak required hack(s): [No Jailbreak Required] Smashero.io - Hack N Slash RPG v3.3 +2 Jailed Cheats [ God / O-HK ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Thanks
        • Winner
        • Like
      • 49 replies
    • Modded/Hacked App: Hexapolis - Civilization game By NOXGAMES s.r.o.
      Bundle ID: com.noxgames.hex.polis.civilization.empire
      iTunes Store Link: https://apps.apple.com/us/app/hexapolis-civilization-game/id1559236448?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - IAP FREE [ Buy Anything Gems Gold ]

      - Max DMG [ Upgrade Trop ]

      - Max HP [ Upgrade Trop ]

      - Max DEF [ Upgrade Trop ]

      - ATK Range

      - Max Population

      - Silver Coins [ End Turn ]

      - No Fogg Map [ Just Move Trop ]

      - XP Reward + NO LVL POPUP [ Win Battle ]


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 31 replies
    • Hexapolis - Civilization game V2.3.0 [ +9 Jailed ] DMG
      Modded/Hacked App: Hexapolis - Civilization game By NOXGAMES s.r.o.
      Bundle ID: com.noxgames.hex.polis.civilization.empire
      iTunes Store Link: https://apps.apple.com/us/app/hexapolis-civilization-game/id1559236448?uo=4

       

       

      🔧 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🚀 Hack Features

      - IAP FREE [ Buy Anything Gems Gold ]

      - Max DMG [ Upgrade Trop ]

      - Max HP [ Upgrade Trop ]

      - Max DEF [ Upgrade Trop ]

      - ATK Range

      - Max Population

      - Silver Coins [ End Turn ]

      - No Fogg Map [ Just Move Trop ]

      - XP Reward + NO LVL POPUP [ Win Battle ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Like
      • 8 replies
    • Modded/Hacked App: Lollipop 3: Match 3 Puzzles By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.lollipopsweetheroesmatch3
      iTunes Store Link: https://apps.apple.com/us/app/lollipop-3-match-3-puzzles/id1634326372?uo=4

       

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Coins

      - Lives

      - Booster

      - Moves

      - Auto Win 

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack
      • 0 replies
    • Lollipop 3: Match 3 Puzzles v25.0226.00 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Lollipop 3: Match 3 Puzzles By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.lollipopsweetheroesmatch3
      iTunes Store Link: https://apps.apple.com/us/app/lollipop-3-match-3-puzzles/id1634326372?uo=4

       

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Coins

      - Lives

      - Booster

      - Moves

      - Auto Win 

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 0 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines