-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathEventSubscriber.podspec
More file actions
45 lines (36 loc) · 1.75 KB
/
EventSubscriber.podspec
File metadata and controls
45 lines (36 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# Be sure to run `pod lib lint EventSubscriber.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'EventSubscriber'
s.version = '0.4'
s.summary = 'A wrapper around NotificationCenter..'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
Stateless event subscribing tool.
Based on Apple NSNotificationCenter.
Allows to create event types with strong structure of parameters.
You can create event based on enums and structs, subscribe and handle it at different places of your application.
Use Event protocol to deeclare an event type.
Conform EventSubscriber protocol to allow object subscribe for events
Pass event type into a subscribe() function block as parameter type to subscribe for specific event.
Not forget to call unsubscribeAll() method on deinit.
Please look at EventSubscriberTests for more clear understanding.
DESC
s.homepage = 'https://github.com/utiko/EventSubscriber'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'uTiko' => 'tiko@utiko.net' }
s.source = { :git => 'https://github.com/utiko/EventSubscriber.git', :tag => '0.4' }
s.ios.deployment_target = '9.0'
s.swift_version = '4.0'
s.source_files = 'EventSubscriber/**/*'
# s.dependency 'Alamofire', '~> 4.7.2'
end