I have a simple, new Objective-C project for iOS on OSX El Capitan 10.11.4. I use Cocoapods, so I created my subfile with the following three modules: Firebase, UALogger and AFNetworking 3.0. I installed my Pods and then opened .xcworkspace. So far so good.
I have one View Controller and a subclassed UITableView, and in VC .mI import Firebase, UALogger, AFNetworking and my table as such:
#import "MyTableView.h"
#import <AFNetworking.h>
#import <Firebase/Firebase.h>
#import <UALogger/UALogger.h>
...
@property (strong, nonatomic) MyTableView *tableView;
Then go to my method viewDidLoadand try a simple alloc / init Firebase and create my table view:
Firebase *firebase = [[Firebase alloc] initWithUrl:@"myurl...";
self.tableView = [[MyTableView alloc] init];
Here what happens :
Firebase , , initWithUrl... .
UALogger - , , UA..., .
AFNetworking , , , Firebase, .
, MyTableView . , , , .
, Apple .
, :
- F (.. , , ),
Firebase . , , , F, . AFNetworking .
: , , .
, :
User Header Search Paths $(SRCROOT)/** ( "$(SRCROOT)/**", $(SRCROOT)) recursiveHeader Search Paths ( reset , , )Always Search User Paths Yes- Pod
- ,
- , , ,
- Xcode
, .
, - .
, , , .
, , . .