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.
What video resolution and format is most suitable for ios apps?
invite/install iOS app with custom action
Unable to capture camera in ios 6plus using appcelerator
ld: file not found: /Pods/GoogleUtilities/Libraries/libGTM_NSData+zlib.a fix issue
Make UITableViewCell actions overlap content
GCM fail in IOS
RerfreshControl background does not cover
How do I access an instance of a class in Swift
Pathfinding With SKNode's Not Working
Jenkins build using fastlane string parameter with whitespace
NSURLSession and NSURLProtocol issue on iOS 8
No device logs output after attaching iPhone to process in Xcode
Custom UITableViewCell not appearing
CGImageCreateWithImageInRect() returning nil
Status Bar is pushing down view content, only when app is launched with In-call status bar activated
Can't Compile Crypto++ Library for IOS