Quantcast
Channel: Cocoanetics
Viewing all articles
Browse latest Browse all 428

DTFoundation 1.7.3

$
0
0

This maintenance release for DTFoundation fixes our block-based action sheet and alert view for iOS 8 GM.

Changes

  • FIXED: [DTAlertView] Completion blocks for the buttons are not executed on iOS 8 GM
  • FIXED: [DTActionSheet] Completion blocks for the buttons are not executed on iOS 8 GM

Apple had further modified UIActionSheet for iOS 8 GM and those changes broke the fix that was introduced in DTFoundation 1.7.2. Thank you to René Pirringer, Stefan Gugarel and Ricardo Sánchez-Sáez for working out a fix.

With the changes made by Apple it is no longer possible to piggy-back on the delegate mechanism. If you want to use block-based actions together with the traditional delegate protocol there is now a new  actionSheetDelegate and alertViewDelegate property to set your delegate on instead.

The update is tagged on GitHub and also available via Cocoapods.

flattr this!


Viewing all articles
Browse latest Browse all 428

Trending Articles