lib/ProMotion/delegate/delegate.rb in ProMotion-0.7.8 vs lib/ProMotion/delegate/delegate.rb in ProMotion-1.0.0
- old
+ new
@@ -1,16 +1,5 @@
module ProMotion
- class Delegate
-
- include ProMotion::ScreenTabs
- include ProMotion::SplitScreen if NSBundle.mainBundle.infoDictionary["UIDeviceFamily"].include?("2") # Only with iPad
- include ProMotion::DelegateHelper
- include ProMotion::DelegateNotifications
-
- end
-
- class AppDelegateParent < Delegate
- def self.inherited(klass)
- PM.logger.deprecated "PM::AppDelegateParent is deprecated. Use PM::Delegate."
- end
+ class Delegate < DelegateParent
+ include ProMotion::DelegateModule
end
end