• Stars
    star
    142
  • Rank 258,495 (Top 6 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 11 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

UIKit blocks without swizzling. Runs on 64bit as well.

Deprecated please use RxCocoa with RxSwift

SHUIKitBlocks

CI Status Version Platform License

Prefixed Blocks for UIKit on categories without libffi and swizzling

SHUIKitBlocks allows you to use blocks instead of delegates for most of UIKit without any hacks or libffi dependencies. Works perfectly on 64bit (iPhone 5s)

This pod is part of a many components covering to plug the holes missing from Foundation, UIKit, CoreLocation, GameKit, MapKit and other aspects of an iOS application's architecture. Other components are:

Install

pod 'SHUIKitBlocks' #for iOS 7
pod 'SHUIKitBlocks', '~> 1.6.0' # for iOS 6

Dependency Status

| Library | Tests | Version | Platform | License | | ------------- |:-------------:| -----:| -----:| -----:| -----:|
| SHAlertViewBlocks | CI Status | Version | Platform | License | SHControlBlocks | CI Status | Version | Platform | License | SHSegueBlocks | CI Status | Version | Platform | License | SHNavigationControllerBlocks | CI Status | Version | Platform | License | SHWebViewBlocks | CI Status | Version | Platform | License | SHPopoverControllerBlocks | CI Status | Version | Platform | License | SHBarButtonItemBlocks | CI Status | Version | Platform | License | SHActionSheetBlocks | CI Status | Version | Platform | License | SHGestureRecognizerBlocks | CI Status | Version | Platform | License | SHTextFieldBlocks | CI Status | Version | Platform | License | SHTextViewBlocks | CI Status | Version | Platform | License | SHTabBarControllerBlocks | CI Status | Version | Platform | License | SHTransitionBlocks | CI Status | Version | Platform | License

Import

Per Library

#import "<Library>.h"

For everything

#import "SHUIKitBlocks.h"

Contact

If you end up using SHUIKitBlocks in a project, I'd love to hear about it.

email: [email protected]
twitter: @seivanheidari

License

SHUIKitBlocks is Β© 2013 Seivan and may be freely distributed under the MIT license. See the LICENSE.md file.

More Repositories

1

ScalarArithmetic

Better interoperability between different numerical types by using operator overloading and implicit casts conversions
Swift
181
star
2

SHActionSheetBlocks

Prefixed UIActionSheet category with blocks, auto-removed. Swizzle free!
Objective-C
60
star
3

VectorArithmetic

Operators on top of vectors CGPoint, CGSize and CGVector. With added math functions and comparisons
Swift
42
star
4

SHControlBlocks

Prefixed UIControl category with blocks, auto-removed. Swizzle free!
Objective-C
29
star
5

SHSegueBlocks

Segue Blocks and userInfo without swizzling.
Objective-C
28
star
6

SHGameCenter

Prefixed category convenience selectors on the GameKit framework, also adding blocks instead of delegate calls.
Objective-C
26
star
7

SHTransitionBlocks

UIKit Transition API simplified and with added blocks and gestures for interaction. Works with all UIViewController subclasses.
Objective-C
24
star
8

redis-friendships

A friendship library with a certain follower/following system utilizing the power of both Redis and SQL.
Ruby
19
star
9

UIBezierPathPort

Ported UIBezierPath API to NSBezierPath and typealiased
Swift
19
star
10

swipe-to-navigate

VSCode Extension for adding three finger swipe with various options similar to Xcode.
TypeScript
16
star
11

SHRACComparison

Compare block based Foundation and UIKit stuff vs RAC implementation - for science.
Objective-C
16
star
12

SHKeyValueObserverBlocks

Prefixed self removing Key Value Observers with Blocks.
Objective-C
16
star
13

SHAccountStore

Account Storage similar to ACAccount (using Keychain instead of Core Data)
Objective-C
15
star
14

Rfizzy

Full text search, tagging, friendships, messages. Works with all ruby projects, requires Redis.
Ruby
15
star
15

SHGestureRecognizerBlocks

Prefixed UIGestureRecognizer category with blocks, auto-removed. Swizzle free!
Objective-C
13
star
16

ios_push_notifications

Push Notification gem for Rails 3 with proper tests and documentation
Ruby
12
star
17

SHTestCaseAdditions

Prefixed category on SenTestCase and XCTestCase to help with asynchronous callbacks
Objective-C
10
star
18

redis-messages

A messaging library with outbox/inbox system utilizing the power of both Redis and SQL
Ruby
10
star
19

SHFastEnumerationProtocols

Block Enumerables and convenience helpers on all the NSFastEnumeration collection classes.
Objective-C
10
star
20

TWReverseAuth

OAuth for Twitter using reverse auth and ACAccount - in case your server needs to talk to twitter as well.
Objective-C
10
star
21

TimingFunctions

Static properties that return TimingFunctionHandler closures.
Swift
9
star
22

SHAlert

Custom Alert that uses storyboard for designing and styling. Has good support for Pixate.
Objective-C
9
star
23

SHAlertViewBlocks

Prefixed UIAlertView category with blocks - Swizzle and libffi free!
Objective-C
8
star
24

SHMessageUIBlocks

CompletionBlocks for MFMailComposeViewController and MFMessageComposeViewController (MessageUI framework)
Objective-C
8
star
25

SHBarButtonItemBlocks

Prefixed UIBarButtonItem category with blocks, auto-removed. Swizzle free!
Objective-C
6
star
26

CGPointExtension

Additional functions for CGPoint - similar design as GLVector2 from the GLKit framework.
5
star
27

SHFoundationAdditions

Additional prefixed categories for Foundation framework *without* libffi or swizzling.
Objective-C
5
star
28

SHRequest

OAuth Signed requests that work with SHAccountStore
Objective-C
4
star
29

SHInvocation

Prefix on NSInvocation for easily invoking messages with multiple arguments.
Objective-C
3
star
30

SHTextFieldBlocks

Blocks for UITextField without libffi and swizzling. Getter and Setter properties.
Objective-C
3
star
31

NotificationHub

Strictly typed NSNotificationCenter replacement in Swift suitable for games that has large scale pub/sub
Swift
3
star
32

SpriteKitComposition

Component behaviour for SpriteKit
Swift
2
star
33

SHTextViewBlocks

Blocks for SHTextViewBlocks without libffi and swizzling. Getter and Setter properties.
Objective-C
2
star
34

SHWebViewBlocks

Blocks for UIWebView request callbacks - swizzle and libffi free!
Objective-C
2
star
35

portfolio_python

Portfolio website with Python and Kid-templating with .csv as database
1
star
36

cpp_playground

Just learning c++ and playing around,
C++
1
star
37

Animera

Animation API similar to the custom SKAction closure but with added tweens and timing functions.
Swift
1
star
38

broken_tracer

Metal debugging gone bonkers.
Rust
1
star
39

remindamail

Send emails in the future (Rails web-app)
Ruby
1
star
40

NumeralExtension

Adding functions as a protocol NumeralExtension on Int and Double
Swift
1
star
41

SHPopoverControllerBlocks

Blocks for SHPopoverControllerBlocks shouldDismiss and didDismiss - swizzle free!
Objective-C
1
star
42

SHObjectUserInfo

NSObject prefixed userInfo without swizzling.
Objective-C
1
star
43

history-per-directory

ZSH plugin to keep track of history per directory while maintaing a global $HISTFILE.
1
star
44

ruby_playground

Ruby, Rexml, Regexp, DSL, Parsing, Grammar, Constraint Propagation Networks
Ruby
1
star
45

blogstain

Rails powered blog for developers (syntax highlight, compass, fancy-buttons and haml)
Ruby
1
star
46

SHNavigationControllerBlocks

Block based callbacks for UINavigationController willShow and DidShow
Objective-C
1
star