Jump to content

Basic's of Objective-C (for beginner Flex Hacks)


LifeElevated

12 posts in this topic

Recommended Posts

Basic's of Objective-C 

 

 

Object Creation

 

Object creation basically explains itself in it's name, it creates 'objects' that you can use in your app ( or in our case hack/edit )

 

A template would be as followed:

MyClass *objectName = [[MyClass alloc]init] ;
 
The "objectName" as seen in the example code above is the name of the code, and the MyClass is the name of your project and your basically creating a stem from it to thus create something amazing (or hack/edit in our case)
 
 
 

Methods-A method is a code block that contains a series of statements

Method is declared in Objective C as follows −

- (returnType)methodName:(typeName)variable1 argument1:(typeName)variable2;

An example is shown:

-(void)calculateAreaForRectangleWithLength CGfloat)length
andBreadth CGfloat)breadth;

  Instance Methods-When no static modifier is present, the method is said to be an instance method

 

Instance methods can be accessed only after creating an object for the class. Memory is allocated to the instance variables. An example instance method is shown below.

-(void)simpleInstanceMethod;

It can be accessed after creating an object for the class as follows −

MyClass *objectName = [[MyClass alloc]init] ;
[objectName simpleInstanceMethod];

Important Data Types in Objective C

 

 

Data Type

 

1 NSString

Used for representing a string.

2 CGfloat

Used for representing a floating point value (normal float is also allowed but it's better to use CGfloat).

3 NSInteger

Used for representing integer.

4 BOOL

Used for representing Boolean (YES or NO are BOOL types allowed).

You can further your knowledge with Objective-C and start making flex hacks (and maybe converting to .deb) here: https://iosgods.com/topic/904-tutorialvideo-hack-games-with-flex-and-convert-it-to-deb-tweak/

 

 

 

~MightySquad

  On 12/3/2016 at 6:21 AM, Basmal121 said:

Nice

 

I have to change forum theme..

Please use code because  appears as emoji

 

ok, im so tired right now   :wallbash:  :wallbash:

Change font man , not very readable makes you're tutorial look horrible , I don't even care what it's about as you're choice of font made me leave the thread , if you want people to stay and read I suggest you choose another font , prefebly just the default font.

Not understanding what your saying, seems you quoted the code from above.

 

  On 12/3/2016 at 6:37 AM, AnotherLurker said:

 

It's actually: 

- (returnType)methodName:(typeName)variable1 argument1:(typeName)variable2;

Your Example:

- (void)calculateAreaForRectangleWithLength:(CGfloat)length andBreadth:(CGfloat)breadth;
  On 12/3/2016 at 6:41 AM, MightySquad said:

Not understanding what your saying, seems you quoted the code from above.

 

Your Objective-C method format is wrong, the code-snippet I posted corrected it for you

Oh my bad thanks man

 

  On 12/3/2016 at 6:50 AM, AnotherLurker said:

Your Objective-C method format is wrong, the code-snippet I posted corrected it for you

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Clash of Destiny: Good vs Evil v1.5.11 +2 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Clash of Destiny: Good vs Evil By BoomBit, Inc.
      Bundle ID: com.clash.destiny
      iTunes Store Link: https://apps.apple.com/us/app/clash-of-destiny-good-vs-evil/id6473921912?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier


      Jailbreak required hack(s): [Mod Menu Hack] Clash of Destiny: Good vs Evil v1.1 +2 Cheats [ Damage & Defence ] - ViP 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
        • Haha
        • Thanks
        • Like
      • 25 replies
    • Clash of Destiny: Good vs Evil v1.5.11 +2 Cheats [ Damage & Defence ]
      Modded/Hacked App: Clash of Destiny: Good vs Evil By BoomBit, Inc.
      Bundle ID: com.clash.destiny
      iTunes Store Link: https://apps.apple.com/us/app/clash-of-destiny-good-vs-evil/id6473921912?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Clash of Destiny: Good vs Evil v1.1 +2 Jailed Cheats [ Damage & Defence ] - ViP Non-Jailbroken Hacks & 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
        • Haha
        • Thanks
        • Like
      • 53 replies
    • SpongeBob Adventures: In A Jam v2.20.0 +1++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: SpongeBob Adventures: In A Jam By Tilting Point LLC
      Bundle ID: com.tiltingpoint.sbadventures
      iTunes Store Link: https://apps.apple.com/us/app/spongebob-adventures-in-a-jam/id1641251535?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] SpongeBob Adventures: In A Jam +20++ Cheats [ Cheat Menu ] - 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
      • 114 replies
    • SpongeBob Adventures: In A Jam v2.20.0 +1++ Cheats [ Unlimited Everything ]
      Modded/Hacked App: SpongeBob Adventures: In A Jam By Tilting Point LLC
      Bundle ID: com.tiltingpoint.sbadventures
      iTunes Store Link: https://apps.apple.com/us/app/spongebob-adventures-in-a-jam/id1641251535?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [No Jailbreak Required] SpongeBob Adventures: In A Jam +20++ Jailed Cheats [ Cheat Menu ] - ViP Non-Jailbroken Hacks & 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
      • 151 replies
    • Gaming Cafe Internet Simulator v3.1.7 +3 Jailed Cheats [ Unlimited Cash ]
      Modded/Hacked App: Gaming Cafe Internet Simulator By Nadeem Munawar
      Bundle ID: gamdev.internetcafesimulator.jobsimulator
      iTunes Store Link: https://apps.apple.com/us/app/gaming-cafe-internet-simulator/id1638434682?uo=4

       


      🤩 Hack Features

      - Unlimited Cash -> Spend some.
      - Unlimited RP -> Earn some.
      - Free In-App Purchases
      • 0 replies
    • Gaming Cafe Internet Simulator v3.1.7 +3 Cheats [ Unlimited Cash ]
      Modded/Hacked App: Gaming Cafe Internet Simulator By Nadeem Munawar
      Bundle ID: gamdev.internetcafesimulator.jobsimulator
      iTunes Store Link: https://apps.apple.com/us/app/gaming-cafe-internet-simulator/id1638434682?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash -> Spend some.
      - Unlimited RP -> Earn some.
      - Free In-App Purchases
      • 1 reply
    • Dancing Line - Music Game Cheats v3.1.5 +1
      Modded/Hacked App: Dancing Line - Music Game By Forward Vision Corporation Limited
      Bundle ID: com.cmplay.dancingline
      iTunes Store Link: https://apps.apple.com/us/app/dancing-line-music-game/id1177953618?uo=4

       

      🔧 Mod Requirements

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

       

      🚀 Hack Features

      - Free iAP

      NOTE: Remove or turn off any iap hack tweak for the game first in order to use this cheat


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/87509-dancing-line-music-game-v313-jailed-cheats-1/

       

      📥 iOS Hack Download Link https://iosgods.com/topic/87433-dancing-line-music-game-cheats-v313-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 240 replies
    • Hunting Sniper: Showdown v2.08.0201 Cheats +1
      Modded/Hacked App: Hunting Sniper: Showdown By SPARKS INFORMATION PTE. LTD.
      Bundle ID: com.europe.huntingsniper
      iTunes Store Link: https://apps.apple.com/fr/app/hunting-sniper-showdown/id6472705058?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Stupid opponent
      - Auto win
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 60 replies
    • Hunting Sniper: Showdown v2.08.0201 Cheats +1
      Modded/Hacked App: Hunting Sniper: Showdown By SPARKS INFORMATION PTE. LTD.
      Bundle ID: com.europe.huntingsniper
      iTunes Store Link: https://apps.apple.com/fr/app/hunting-sniper-showdown/id6472705058?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:
      - Stupid opponent
      - Auto win
        • Informative
        • Agree
        • Thanks
        • Like
      • 42 replies
    • Hunting Sniper v2.08.0 Cheats +1
      Modded/Hacked App: Hunting Sniper By SPARKS INFORMATION PTE. LTD.
      Bundle ID: com.huntingfly.huntingsniper
      iTunes Store Link: https://apps.apple.com/us/app/hunting-sniper/id6446005634?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Stupid opponent
      - Auto win
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 69 replies
    • Hunting Sniper v2.08.0 Cheats +1
      Modded/Hacked App: Hunting Sniper By SPARKS INFORMATION PTE. LTD.
      Bundle ID: com.huntingfly.huntingsniper
      iTunes Store Link: https://apps.apple.com/us/app/hunting-sniper/id6446005634?uo=4

       

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


      Hack Features:
      - Stupid opponent
      - Auto win
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 58 replies
    • Godzilla x Kong: Titan Chasers v1.0.0 +2 Jailed Cheats
      Modded/Hacked App: Godzilla x Kong: Titan Chasers By Tilting Point LLC
      Bundle ID: com.tiltingpoint.monster
      iTunes Store Link: https://apps.apple.com/us/app/godzilla-x-kong-titan-chasers/id1670938027?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier


      Jailbreak required hack(s): 


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer, connect your iOS Device, and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login, press "Start" & then you will be asked to enter your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 8: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles/VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust email@iosgods.com'.
      STEP 9: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. Jailbroken iDevices can also use Sideloadly/Filza/IPA Installer to normally install the IPA with AppSync. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 24 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