Skip to content
Guest Big Announcement

How To %hook 2 Swift Classes

Featured Replies

Hello everyone 

If I want to hook a Swift class for example this class , iLove.iosgods

 

%hook CrazyMind

-(bool) AmIinLove {

return true;

}

%end

%ctor {

%init(CrazyMind = objc_getClass("iLove.iosgods"));

}

/////////////////////////////////////////////////////////////////////////////////

But if I want to hook this class too , iosgods.MyLove 

 

What should i do ?

Archived

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

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.