Samuel Defago defagos
-
RTS Radio Télévision Suisse / SRG SSR
- Geneva (Switzerland)
- Sign in to view email
- http://subjective-objective-c.blogspot.com
View example_block_swizzling.m
@implementation UILabel (SwizzlingExamples) | |
+ (void)load | |
{ | |
SwizzleSelectorWithBlock_Begin(self, @selector(initWithFrame:)) | |
^(UILabel *self, CGRect frame) { | |
if ((self = ((id (*)(id, SEL, CGRect))_imp)(self, _cmd, frame))) { | |
// ... | |
} | |
return self; |
View gist:267d3b8b30604fac541f
#!/bin/sh | |
# Repository settings | |
REPOSITORY_NAME="YourRepositoryName" | |
README_FILE_NAME="README.markdown" | |
# Update a Travis badge URL found in the README to keep it in sync with the branch name | |
# Badge example: | |
# [](https://travis-ci.org/$USER_NAME/$REPOSITORY_NAME) | |
branch_name=`git symbolic-ref --short HEAD` |
View UITextView+SDECursorVisibility.m
// | |
// UITextView+SDECursorVisibility.m | |
// | |
// Created by Samuel Défago on 29.10.14. | |
// | |
#import <UIKit/UIKit.h> | |
@interface UITextView (SDECursorVisibility) |
View uncrustify-objc.cfg
# | |
# Uncrustify Configuration File | |
# File Created With UncrustifyX 0.4.3 (252) | |
# | |
# Alignment | |
# --------- | |
## Alignment |