-
-
Notifications
You must be signed in to change notification settings - Fork 132
Add objective-c example app, make swift example use AppKit for proper linking. #19
Conversation
| F519CBCF1CA9CC4D005295C0 /* ChatRoomManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ChatRoomManager.m; sourceTree = "<group>"; }; | ||
| F5CA35431CA9E3DA00982AEA /* Bolts.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Bolts.framework; path = "../../../../Library/Developer/Xcode/DerivedData/ParseLiveQuery-ackmddwfjdfjvtcapdwkqbxbnvzt/Build/Products/Debug/Bolts-OSX/Bolts.framework"; sourceTree = "<group>"; }; | ||
| F5CA35441CA9E3DA00982AEA /* BoltsSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = BoltsSwift.framework; path = "../../../../Library/Developer/Xcode/DerivedData/ParseLiveQuery-ackmddwfjdfjvtcapdwkqbxbnvzt/Build/Products/Debug/Bolts-Swift-OSX/BoltsSwift.framework"; sourceTree = "<group>"; }; | ||
| F5CA35451CA9E3DA00982AEA /* Parse.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Parse.framework; path = "../../../../Library/Developer/Xcode/DerivedData/ParseLiveQuery-ackmddwfjdfjvtcapdwkqbxbnvzt/Build/Products/Debug/Parse-OSX/Parse.framework"; sourceTree = "<group>"; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixme ;)
dd34fa1 to
05fd3ca
Compare
| @property (nonatomic, readonly, weak) id<ChatRoomManagerDatasource> datasource; | ||
| @property (nonatomic, readonly, weak) id<ChatRoomManagerDelegate> delegate; | ||
|
|
||
| - (instancetype)initWithDatasource:(id<ChatRoomManagerDatasource>)datasource delegate:(id<ChatRoomManagerDelegate>)delegate; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: dataSource
Examples/LiveQueryDemo-ObjC/Room.h
Outdated
|
|
||
| NS_ASSUME_NONNULL_BEGIN | ||
|
|
||
| @interface Room : PFObject<PFSubclassing> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Space before <
05fd3ca to
1ab7b1a
Compare
e7a10ad to
85a63d4
Compare
Podfile
Outdated
|
|
||
| target 'LiveQueryDemo-ObjC' do | ||
| project 'Examples/LiveQueryDemo-ObjC.xcodeproj' | ||
| platform :osx, '10.10' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 10.10? I think we support all the way to 10.9.
|
The |
85a63d4 to
6a82036
Compare
6a82036 to
5606f5c
Compare
| * of patent rights can be found in the PATENTS file in the same directory. | ||
| */ | ||
|
|
||
| #import <Parse/Parse.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: @import Parse;
|
Please |
5606f5c to
c9684eb
Compare
This allows the example app to actually run without a crazy environment setup.
Depends on #18.