How to import AppDelegate.h from another Framework in Xcode
I have a framework called "MyFramework.xcodeproj" that is added to my main project. Within this framework, I'm working on a file that needs a reference to my AppDelegate.h file. It isn't able to locate it, and when I try to add the file from "Build Phases" in "Compile Sources" it isn't able to find it there either. How can I get the reference to this file?
Your framework should ideally be separate from any application delegate logic. However, if you do need access to it, you can simply cast the shared application delegate to AppDelegate. (AppDelegate *)[[UIApplication sharedApplication] delegate]; Just copy AppDelegate's #interface and put it somewhere visible in your framework. AppDelegate.m does not need to be there.
Fetching specific JSON data with iOS / Make a query
UITableView requires double tap - but not first time
Why do I need an .ipa file?
The “Guided Access is Enabled" message appears with every HTML form submission in iOS 8
Ios swift haneke EXC_BAD_ACCESS
iOS Simulator not showing iPhone Frame
Set UITableViewCell label to be generated from HTML string
How to present ViewController when tab is selected on UITabBarController?
iOS8 UILabel dynamic width with constraints
Saving and retrieving custom objects in Core Data
Parse update PFUser Class String
spacing between UITableViewCells
iOS Custom Build Configurations and Frameworks
which iOS time function should I use so it works seamlessly with android
UICollectionView within UITableView. How to tell tableview cell to change height when collection view gets taller?
SKMaps Skobbler Implementation error XMLParser.m:14:9: 'SDKTools/SKTMaps/SKTMapsObject.h' file not found