Skip to content

Commit fe9e82a

Browse files
committed
Initial Conversion
1 parent 856e679 commit fe9e82a

File tree

889 files changed

+95804
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

889 files changed

+95804
-0
lines changed

Channelize.framework/Assets.car

196 KB
Binary file not shown.

Channelize.framework/Channelize

10.7 MB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,332 @@
1+
// Generated by Apple Swift version 4.1.2 (swiftlang-902.0.54 clang-902.0.39.2)
2+
#pragma clang diagnostic push
3+
#pragma clang diagnostic ignored "-Wgcc-compat"
4+
5+
#if !defined(__has_include)
6+
# define __has_include(x) 0
7+
#endif
8+
#if !defined(__has_attribute)
9+
# define __has_attribute(x) 0
10+
#endif
11+
#if !defined(__has_feature)
12+
# define __has_feature(x) 0
13+
#endif
14+
#if !defined(__has_warning)
15+
# define __has_warning(x) 0
16+
#endif
17+
18+
#if __has_include(<swift/objc-prologue.h>)
19+
# include <swift/objc-prologue.h>
20+
#endif
21+
22+
#pragma clang diagnostic ignored "-Wauto-import"
23+
#include <objc/NSObject.h>
24+
#include <stdint.h>
25+
#include <stddef.h>
26+
#include <stdbool.h>
27+
28+
#if !defined(SWIFT_TYPEDEFS)
29+
# define SWIFT_TYPEDEFS 1
30+
# if __has_include(<uchar.h>)
31+
# include <uchar.h>
32+
# elif !defined(__cplusplus)
33+
typedef uint_least16_t char16_t;
34+
typedef uint_least32_t char32_t;
35+
# endif
36+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
37+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
38+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
39+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
40+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
41+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
42+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
43+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
44+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
45+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
46+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
47+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
48+
#endif
49+
50+
#if !defined(SWIFT_PASTE)
51+
# define SWIFT_PASTE_HELPER(x, y) x##y
52+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
53+
#endif
54+
#if !defined(SWIFT_METATYPE)
55+
# define SWIFT_METATYPE(X) Class
56+
#endif
57+
#if !defined(SWIFT_CLASS_PROPERTY)
58+
# if __has_feature(objc_class_property)
59+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
60+
# else
61+
# define SWIFT_CLASS_PROPERTY(...)
62+
# endif
63+
#endif
64+
65+
#if __has_attribute(objc_runtime_name)
66+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
67+
#else
68+
# define SWIFT_RUNTIME_NAME(X)
69+
#endif
70+
#if __has_attribute(swift_name)
71+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
72+
#else
73+
# define SWIFT_COMPILE_NAME(X)
74+
#endif
75+
#if __has_attribute(objc_method_family)
76+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
77+
#else
78+
# define SWIFT_METHOD_FAMILY(X)
79+
#endif
80+
#if __has_attribute(noescape)
81+
# define SWIFT_NOESCAPE __attribute__((noescape))
82+
#else
83+
# define SWIFT_NOESCAPE
84+
#endif
85+
#if __has_attribute(warn_unused_result)
86+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
87+
#else
88+
# define SWIFT_WARN_UNUSED_RESULT
89+
#endif
90+
#if __has_attribute(noreturn)
91+
# define SWIFT_NORETURN __attribute__((noreturn))
92+
#else
93+
# define SWIFT_NORETURN
94+
#endif
95+
#if !defined(SWIFT_CLASS_EXTRA)
96+
# define SWIFT_CLASS_EXTRA
97+
#endif
98+
#if !defined(SWIFT_PROTOCOL_EXTRA)
99+
# define SWIFT_PROTOCOL_EXTRA
100+
#endif
101+
#if !defined(SWIFT_ENUM_EXTRA)
102+
# define SWIFT_ENUM_EXTRA
103+
#endif
104+
#if !defined(SWIFT_CLASS)
105+
# if __has_attribute(objc_subclassing_restricted)
106+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
107+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
108+
# else
109+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
110+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
111+
# endif
112+
#endif
113+
114+
#if !defined(SWIFT_PROTOCOL)
115+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
116+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
117+
#endif
118+
119+
#if !defined(SWIFT_EXTENSION)
120+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
121+
#endif
122+
123+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
124+
# if __has_attribute(objc_designated_initializer)
125+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
126+
# else
127+
# define OBJC_DESIGNATED_INITIALIZER
128+
# endif
129+
#endif
130+
#if !defined(SWIFT_ENUM_ATTR)
131+
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
132+
# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open)))
133+
# else
134+
# define SWIFT_ENUM_ATTR
135+
# endif
136+
#endif
137+
#if !defined(SWIFT_ENUM)
138+
# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type
139+
# if __has_feature(generalized_swift_name)
140+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type
141+
# else
142+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name)
143+
# endif
144+
#endif
145+
#if !defined(SWIFT_UNAVAILABLE)
146+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
147+
#endif
148+
#if !defined(SWIFT_UNAVAILABLE_MSG)
149+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
150+
#endif
151+
#if !defined(SWIFT_AVAILABILITY)
152+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
153+
#endif
154+
#if !defined(SWIFT_DEPRECATED)
155+
# define SWIFT_DEPRECATED __attribute__((deprecated))
156+
#endif
157+
#if !defined(SWIFT_DEPRECATED_MSG)
158+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
159+
#endif
160+
#if __has_feature(attribute_diagnose_if_objc)
161+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
162+
#else
163+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
164+
#endif
165+
#if __has_feature(modules)
166+
@import UIKit;
167+
@import CoreGraphics;
168+
@import Foundation;
169+
#endif
170+
171+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
172+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
173+
#if __has_warning("-Wpragma-clang-attribute")
174+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
175+
#endif
176+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
177+
#pragma clang diagnostic ignored "-Wnullability"
178+
179+
#if __has_attribute(external_source_symbol)
180+
# pragma push_macro("any")
181+
# undef any
182+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Channelize",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
183+
# pragma pop_macro("any")
184+
#endif
185+
186+
@class NSCoder;
187+
@class NSAttributedString;
188+
189+
SWIFT_CLASS("_TtC10Channelize19BottomSeparatorCell")
190+
@interface BottomSeparatorCell : UICollectionViewCell
191+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
192+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
193+
- (void)setTextOnLabel:(NSAttributedString * _Nonnull)text :(NSTextAlignment)alignment SWIFT_DEPRECATED_OBJC("Swift method 'BottomSeparatorCell.setTextOnLabel(_:_:)' uses '@objc' inference deprecated in Swift 4; add '@objc' to provide an Objective-C entrypoint");
194+
- (void)layoutSubviews;
195+
@end
196+
197+
@class UITextView;
198+
199+
SWIFT_CLASS("_TtC10Channelize7CHToken")
200+
@interface CHToken : UIView
201+
@property (nonatomic, strong) UITextView * _Nonnull hiddenTextView SWIFT_DEPRECATED_OBJC("Swift property 'CHToken.hiddenTextView' uses '@objc' inference deprecated in Swift 4; add '@objc' to provide an Objective-C entrypoint");
202+
@property (nonatomic) BOOL isSelected SWIFT_DEPRECATED_OBJC("Swift property 'CHToken.isSelected' uses '@objc' inference deprecated in Swift 4; add '@objc' to provide an Objective-C entrypoint");
203+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
204+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
205+
@end
206+
207+
@class UITapGestureRecognizer;
208+
209+
SWIFT_CLASS("_TtC10Channelize11CHTokenView")
210+
@interface CHTokenView : UIView <UITextViewDelegate>
211+
@property (nonatomic, strong) UITextView * _Nonnull textView SWIFT_DEPRECATED_OBJC("Swift property 'CHTokenView.textView' uses '@objc' inference deprecated in Swift 4; add '@objc' to provide an Objective-C entrypoint");
212+
- (void)layoutSubviews;
213+
- (void)awakeFromNib;
214+
/// Reloads data from datasource and delegate implementations.
215+
- (void)reloadData SWIFT_DEPRECATED_OBJC("Swift method 'CHTokenView.reloadData()' uses '@objc' inference deprecated in Swift 4; add '@objc' to provide an Objective-C entrypoint");
216+
/// Returns a generated token.
217+
/// \param index Int value for token index.
218+
///
219+
///
220+
/// returns:
221+
/// CHToken
222+
- (CHToken * _Nonnull)tokenForIndex:(NSInteger)index SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_OBJC("Swift method 'CHTokenView.tokenForIndex(_:)' uses '@objc' inference deprecated in Swift 4; add '@objc' to provide an Objective-C entrypoint");
223+
/// Selects the tapped token for interaction (i.e. removal).
224+
/// \param tapGesture UITapGestureRecognizer associated with the token.
225+
///
226+
///
227+
/// returns:
228+
/// CHToken
229+
- (void)didTapToken:(UITapGestureRecognizer * _Nonnull)tapGesture;
230+
- (void)selectToken:(CHToken * _Nonnull)token SWIFT_DEPRECATED_OBJC("Swift method 'CHTokenView.selectToken(_:)' uses '@objc' inference deprecated in Swift 4; add '@objc' to provide an Objective-C entrypoint");
231+
- (void)textViewDidBeginEditing:(UITextView * _Nonnull)textView;
232+
- (void)textViewDidEndEditing:(UITextView * _Nonnull)textView;
233+
- (BOOL)textView:(UITextView * _Nonnull)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString * _Nonnull)text SWIFT_WARN_UNUSED_RESULT;
234+
- (void)textViewDidChange:(UITextView * _Nonnull)textView;
235+
/// Dismiss keyboard and resign responder for Token View
236+
- (void)dismissTokenView SWIFT_DEPRECATED_OBJC("Swift method 'CHTokenView.dismissTokenView()' uses '@objc' inference deprecated in Swift 4; add '@objc' to provide an Objective-C entrypoint");
237+
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
238+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
239+
@end
240+
241+
242+
243+
@class UICollectionViewLayout;
244+
@class NSBundle;
245+
246+
SWIFT_CLASS("_TtC10Channelize23RecentMessageController")
247+
@interface RecentMessageController : UICollectionViewController
248+
- (void)viewDidLoad;
249+
- (void)viewWillAppear:(BOOL)animated;
250+
- (void)viewWillDisappear:(BOOL)animated;
251+
- (nonnull instancetype)initWithCollectionViewLayout:(UICollectionViewLayout * _Nonnull)layout OBJC_DESIGNATED_INITIALIZER;
252+
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
253+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
254+
@end
255+
256+
257+
@interface RecentMessageController (SWIFT_EXTENSION(Channelize)) <UIGestureRecognizerDelegate>
258+
@end
259+
260+
@class UICollectionView;
261+
262+
@interface RecentMessageController (SWIFT_EXTENSION(Channelize)) <UICollectionViewDelegateFlowLayout>
263+
- (CGSize)collectionView:(UICollectionView * _Nonnull)collectionView layout:(UICollectionViewLayout * _Nonnull)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
264+
- (CGFloat)collectionView:(UICollectionView * _Nonnull)collectionView layout:(UICollectionViewLayout * _Nonnull)collectionViewLayout minimumLineSpacingForSectionAtIndex:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
265+
@end
266+
267+
@class UISearchBar;
268+
269+
@interface RecentMessageController (SWIFT_EXTENSION(Channelize)) <UISearchBarDelegate>
270+
- (BOOL)searchBarShouldBeginEditing:(UISearchBar * _Nonnull)searchBar SWIFT_WARN_UNUSED_RESULT;
271+
@end
272+
273+
274+
@interface RecentMessageController (SWIFT_EXTENSION(Channelize))
275+
- (void)didUserBlockedWithIsMe:(BOOL)isMe userId:(NSString * _Nullable)userId SWIFT_DEPRECATED_OBJC("Swift method 'RecentMessageController.didUserBlocked(isMe:userId:)' uses '@objc' inference deprecated in Swift 4; add '@objc' to provide an Objective-C entrypoint");
276+
@end
277+
278+
@class UIScrollView;
279+
280+
@interface RecentMessageController (SWIFT_EXTENSION(Channelize))
281+
- (void)scrollViewWillBeginDragging:(UIScrollView * _Nonnull)scrollView;
282+
- (void)scrollViewDidEndDragging:(UIScrollView * _Nonnull)scrollView willDecelerate:(BOOL)decelerate;
283+
- (void)scrollViewDidEndDecelerating:(UIScrollView * _Nonnull)scrollView;
284+
- (void)scrollViewWillBeginDecelerating:(UIScrollView * _Nonnull)scrollView;
285+
@end
286+
287+
288+
289+
290+
@interface RecentMessageController (SWIFT_EXTENSION(Channelize))
291+
- (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
292+
- (UICollectionViewCell * _Nonnull)collectionView:(UICollectionView * _Nonnull)collectionView cellForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
293+
- (void)collectionView:(UICollectionView * _Nonnull)collectionView didSelectItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath;
294+
@end
295+
296+
297+
@interface RecentMessageController (SWIFT_EXTENSION(Channelize))
298+
- (void)didAdminAddedWithConversationId:(NSString * _Nullable)conversationId isAdmin:(BOOL)isAdmin userId:(NSString * _Nullable)userId SWIFT_DEPRECATED_OBJC("Swift method 'RecentMessageController.didAdminAdded(conversationId:isAdmin:userId:)' uses '@objc' inference deprecated in Swift 4; add '@objc' to provide an Objective-C entrypoint");
299+
- (void)didChangeTypingStatusWithConversationId:(NSString * _Nullable)conversationId userId:(NSString * _Nullable)userId isTyping:(BOOL)isTyping SWIFT_DEPRECATED_OBJC("Swift method 'RecentMessageController.didChangeTypingStatus(conversationId:userId:isTyping:)' uses '@objc' inference deprecated in Swift 4; add '@objc' to provide an Objective-C entrypoint");
300+
@end
301+
302+
303+
304+
305+
306+
307+
308+
309+
@interface UITabBar (SWIFT_EXTENSION(Channelize))
310+
- (CGSize)sizeThatFits:(CGSize)size SWIFT_WARN_UNUSED_RESULT;
311+
@end
312+
313+
314+
315+
316+
317+
318+
319+
320+
321+
322+
323+
324+
325+
326+
327+
328+
329+
#if __has_attribute(external_source_symbol)
330+
# pragma clang attribute pop
331+
#endif
332+
#pragma clang diagnostic pop
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// Channelize.h
3+
// Channelize
4+
//
5+
// Created by bigstep on 21/07/17.
6+
// Copyright © 2017 bigstep. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
//! Project version number for Channelize.
12+
FOUNDATION_EXPORT double ChannelizeVersionNumber;
13+
14+
//! Project version string for Channelize.
15+
FOUNDATION_EXPORT const unsigned char ChannelizeVersionString[];
16+
17+
// In this header, you should import all the public headers of your framework using statements like #import <Channelize/PublicHeader.h>
18+
19+

Channelize.framework/Info.plist

932 Bytes
Binary file not shown.
2.47 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
framework module Channelize {
2+
umbrella header "Channelize.h"
3+
4+
export *
5+
module * { export * }
6+
}
7+
8+
module Channelize.Swift {
9+
header "Channelize-Swift.h"
10+
requires objc
11+
}
36.3 KB
Loading

Channelize.framework/no_contacts.png

14 KB
Loading
14.2 KB
Loading

Channelize.framework/no_messages.png

8.86 KB
Loading
9.44 KB
Loading
5.21 KB
Loading
5.93 KB
Loading

ChannelizeAPI.podspec

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Pod::Spec.new do |s|
2+
3+
s.name = "ChannelizeAPI"
4+
s.version = "4.1.1"
5+
s.summary = "Channelize API SDK"
6+
s.description = "A Real Time Messaging API SDK"
7+
s.homepage = "https://channelize.io/"
8+
s.license = { :type => "GPL", :file => "LICENSE" }
9+
s.author = { "Channelize" => "[email protected]" }
10+
s.platform = :ios, "9.0"
11+
s.source = { :git => "https://github.com/ChannelizeIO/Channelize-iOS.git", :tag => "#{s.version}", :branch => "Swift_4.1" }
12+
s.vendored_frameworks = "Channelize_API.framework"
13+
s.dependency "MQTTClient", "0.14.0"
14+
s.dependency "MQTTClient/Websocket"
15+
s.dependency "Alamofire", "4.7.3"
16+
s.dependency "AlamofireObjectMapper", "5.1.0"
17+
end

0 commit comments

Comments
 (0)