Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Add objective-c example app, make swift example use AppKit for proper linking. #19

Merged
merged 1 commit into from
Apr 1, 2016

Conversation

richardjrossiii
Copy link
Contributor

This allows the example app to actually run without a crazy environment setup.

Depends on #18.

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>"; };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixme ;)

@richardjrossiii richardjrossiii force-pushed the richardross.objc.examples branch from dd34fa1 to 05fd3ca Compare March 28, 2016 22:54
@property (nonatomic, readonly, weak) id<ChatRoomManagerDatasource> datasource;
@property (nonatomic, readonly, weak) id<ChatRoomManagerDelegate> delegate;

- (instancetype)initWithDatasource:(id<ChatRoomManagerDatasource>)datasource delegate:(id<ChatRoomManagerDelegate>)delegate;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: dataSource


NS_ASSUME_NONNULL_BEGIN

@interface Room : PFObject<PFSubclassing>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Space before <


target 'LiveQueryDemo-ObjC' do
project 'Examples/LiveQueryDemo-ObjC.xcodeproj'
platform :osx, '10.10'
Copy link
Contributor

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.

@nlutsenko
Copy link
Contributor

The ObjC example is failing, since look slike you need to explicitly add cross-target dependencies for ParseLiveQuery.framework. Looks like it is trying to build the iOS one, since the non-deterministic stuff that it has if run under xcodebuild.

* of patent rights can be found in the PATENTS file in the same directory.
*/

#import <Parse/Parse.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: @import Parse;

@nlutsenko
Copy link
Contributor

Please pod update once again, since we have a new version of Bolts-ObjC.
Otherwise, lgtm.

@richardjrossiii richardjrossiii force-pushed the richardross.objc.examples branch from 5606f5c to c9684eb Compare April 1, 2016 00:41
@richardjrossiii richardjrossiii merged commit d7de568 into master Apr 1, 2016
@richardjrossiii richardjrossiii deleted the richardross.objc.examples branch April 1, 2016 02:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants