logos icon indicating copy to clipboard operation
logos copied to clipboard

Preprocessor that simplifies Objective-C hooking.

Results 35 logos issues
Sort by recently updated
recently updated
newest added

What does this implement/fix? Explain your changes. --------------------------------------------------- - Adds a check for $1 before its use Does this close any currently open issues? ------------------------------------------ Should resolve #69 Any relevant...

**DISCLAIMER: This is not in any way finished, I don't even know perl. It is my hopes this can be a good starting point that other, smarter people can use...

## Problem When dealing with ivars or private properties of foreign classes, we often find ourselves writing code like this: ```objc if ([[[self valueForKey:@"_layerView"] valueForKey:@"_actionButtons"] containsObject:@2]) { ... } NSString...

### What are the steps to reproduce this issue? Tested in an empty project using the tweak template This example code compiles fine ``` %hook ViewController %end %ctor{ %init(ViewController =...

When I recently update theos and all submodules to latest commit, some my project will display logos preprocessing error. What are the steps to reproduce this issue? ------------------------------------------- 1. put...

# TLDR [Specifying the class](http://iphonedevwiki.net/index.php/Logos#.25init) like `%init([=, …]);`, results in the hooked object (`self`) being left without type to the compiler. I understand that not assuming any class is the...

Sample `Tweak.xm`: ```logos %config(generator=Internal); %hook Foo - (void)bar { [super bar]; } %end ``` Running `logos.pl Tweak.xm > Tweak.m` yields: ``` Goto undefined subroutine &main:: at /opt/theos/vendor/logos/bin/lib/Logos/Generator/Thunk.pm line 33. ```...

In current `master` version (a733c99) there is a bug. Here is the minimal `.xm` file reproducing it: ``` %ctor { // ... } /* Multiline comment including a // line...

The exception is: `*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_UITextSizeCache setObject:forKeyedSubscript:]: unrecognized selector sent to instance 0x280aa2fa0'` I am unable to ever modify NSMutableDictionary or NSMutableArray as...

- [ ] Add several improvements from [Logos Improvements](https://github.com/theos/theos/issues/60). - [ ] Rewrite logos.pl as proper parser instead of regex. - Would fix [Logos errors out on calling %orig with...