Jump to content

Can I disable a class without hooking all methods ?


CrazyMind

2 posts in this topic

Recommended Posts

Posted

 

For example : iLoveIOSGodsAds

This class it has a hundred of methods and it's gonna take a long time to write it one by one 

 

So is there any way to remove or disable this class ?

 like cutting the tree from its roots

 

Posted

Not a good idea since other classes could inherit from your class and all references to the class will not work too. There is no need to disable the whole iLoveIOSGodsAds class when only 1 or 2 methods are responsible for handling the ads

Archived

This topic is now archived and is closed to further 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