All Projects → mmin18 → Waxpatch

mmin18 / Waxpatch

Licence: mit
Dynamically load a lua script to change the behavior of your iOS application.

Programming Languages

c
50402 projects - #5 most used programming language
lua
6591 projects

Labels

Projects that are alternatives of or similar to Waxpatch

MPPatch
Patch for Civilization V to allow modded multiplayer. Currently under development.
Stars: ✭ 31 (-96.22%)
Mutual labels:  patch
Jsondiffpatch
Diff & patch JavaScript objects
Stars: ✭ 3,951 (+381.24%)
Mutual labels:  patch
Hdiffpatch
a C\C++ library and command-line tools for Diff & Patch between binary files or directories(folder); cross-platform; run fast; create small delta/differential; support large files and limit memory requires when diff & patch.
Stars: ✭ 459 (-44.09%)
Mutual labels:  patch
Ddetours
Delphi Detours Library
Stars: ✭ 256 (-68.82%)
Mutual labels:  patch
Gsync
gSync is an rsync based library for sending delta updates of files to a remote server.
Stars: ✭ 344 (-58.1%)
Mutual labels:  patch
Upmetroskin
This non-official addon for Metro for Steam fixes bugs with the current version and adds optional content for you to choose from.
Stars: ✭ 377 (-54.08%)
Mutual labels:  patch
patch-ruby
Patch's Ruby client library - https://www.patch.io
Stars: ✭ 50 (-93.91%)
Mutual labels:  patch
Patch Package
Fix broken node modules instantly 🏃🏽‍♀️💨
Stars: ✭ 6,062 (+638.37%)
Mutual labels:  patch
Stark
Stark is a hot-fix framework for Android. It supports swapping new implementations of classes without restarting a running Android application, and updated Android resources (icons, layout, etc) while only restarting the Android Activity. Most importantly, there is no private API invoked in Stark.
Stars: ✭ 360 (-56.15%)
Mutual labels:  patch
Diff Match Patch
Diff Match Patch is a high-performance library in multiple languages that manipulates plain text.
Stars: ✭ 4,910 (+498.05%)
Mutual labels:  patch
Diffson
A scala diff/patch library for Json
Stars: ✭ 258 (-68.57%)
Mutual labels:  patch
Unityandroidil2cpppatchdemo
这是Unity Android APP il2cpp热更完美解决方案的Demo。更新build_demo_apk里的Unity路径,执行即可一键重build Patch和apk。因为文件libunity是没有热更的,如unity版本有变化则热更不适用。
Stars: ✭ 312 (-62%)
Mutual labels:  patch
Similar
A high level diffing library for rust based on diffs
Stars: ✭ 386 (-52.98%)
Mutual labels:  patch
R11-psp-english
Localization of the mystery novel Remember11 on PSP
Stars: ✭ 28 (-96.59%)
Mutual labels:  patch
Unitydarkskin
Switcher of UI theme in Unity Editor (light -> dark) (.NET, WPF)
Stars: ✭ 466 (-43.24%)
Mutual labels:  patch
dotnet-version-cli
dotnet version cli (similar to npm version cli)
Stars: ✭ 30 (-96.35%)
Mutual labels:  patch
Gojsondiff
Go JSON Diff
Stars: ✭ 371 (-54.81%)
Mutual labels:  patch
Play Button Itunes Patch
Play Button iTunes Patch
Stars: ✭ 661 (-19.49%)
Mutual labels:  patch
Gomonkey
gomonkey is a library to make monkey patching in unit tests easy
Stars: ✭ 473 (-42.39%)
Mutual labels:  patch
Nupdate
A comfortable update solution for .NET-applications.
Stars: ✭ 394 (-52.01%)
Mutual labels:  patch

Wax Loader

Mutated version of Wax (https://github.com/probablycorey/wax/)

Support method override and direct method call from Obj-C code, which gives you the ability to dynamically change the behavior of a running iOS application.

It has been proved stable on more than 5,000,000 devices.

Tutorial

The patch is a zip file contains patch.lua and other lua codes. The sample code can be found at /patch folder.

The sample iOS project loads the patch from a url (which you probably want to change in AppDelegate.m) before launch.

The original version in obj-c:

Original

@implementation MainViewController

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 10;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:@"Cell"];
    cell.textLabel.text = [NSString stringWithFormat:@"%d", indexPath.row + 1];
    return cell;
}

@end
The pacthed version with lua:

Patched

waxClass{"MainViewController", UITableViewController}

function tableView_cellForRowAtIndexPath(self, tableView, indexPath)
	local cell = self:ORIGtableView_cellForRowAtIndexPath(tableView, indexPath) -- The original method is retained with 'ORIG' prefix
	cell:textLabel():setText("" .. (10 - indexPath:row()))
	cell:detailTextLabel():setText("http://github.com/mmin18")
	cell:textLabel():setTextColor(UIColor:redColor())
	return cell
end
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].