Kyle Fang
83072e3c18
Add method to show Notice view in NavigationController regardless of what's inside them.
2013-04-09 08:14:06 +08:00
Tito Ciuro
9e0047c1a6
Merge pull request #43 from plu/master
...
Add new `floating` (BOOL) property. (KVO + UIScrollView solution)
3.0.6
2013-04-06 08:22:38 -07:00
Johannes Plunien
dd8039564b
Add new floating (BOOL) property.
...
This property allows the NoticeView to be floating at the same position
in a UIScrollView, while the user is scrolling. It's pretty much the
same implementation as in the pull request #41 , using KVO. It's just
based upon the most recent HEAD of master, and includes some fix
(leaked observers). There're also two new buttons in the example project
to test it.
2013-03-31 17:05:07 +02:00
Johannes Plunien
3ddc096711
Illustrate scroll view problem.
2013-03-31 16:24:37 +02:00
Tito Ciuro
a5ded89de6
Fixed #42 : tapToDismissEnabled
...
Also fixed the potential issue of initializing properties using
self.xxx from the designated initializer method.
3.0.5
2013-02-16 12:58:19 -08:00
Tito Ciuro
f764ef32a5
Fixed #40 : Height for large error example is broken
3.0.4
2013-02-07 09:04:19 -08:00
Tito Ciuro
9c85483379
Merge pull request #39 from plu/own-queue
...
Use own queue to be able to cancel queued noticeViews.
2013-02-06 04:39:59 -08:00
Tito Ciuro
e06c57c358
Merge pull request #38 from plu/accessibility
...
Let subclasses access the dismissbutton.
2013-02-06 04:34:24 -08:00
Johannes Plunien
15df8162e7
Add new method: cancelAndDismissAllNoticeViews.
2013-02-06 07:42:40 +01:00
Johannes Plunien
f0ab96564e
Use own queue to be able to cancel queued noticeViews.
2013-02-05 18:56:17 +01:00
Johannes Plunien
d230a2b15e
Let subclasses access the dismissbutton.
2013-02-04 08:11:46 +01:00
Tito Ciuro
04e4ccc597
Merge pull request #35 from plu/plu/filter-duplicates
...
Use NSOperationQueue to filter out duplicates.
2013-02-03 13:14:08 -08:00
Tito Ciuro
d75bba6e23
Merge pull request #32 from troelsrichter/master
...
WBNoticeViewSlidingMode introduced + bug fixes
2013-02-03 13:06:11 -08:00
Johannes Plunien
03054e4bbf
Use NSOperationQueue to filter out duplicates.
2013-01-31 15:02:30 +01:00
Troels Richter
6a548abf77
error fixed: gradient view is redrawn to fit width if notice view is visible while the device is rotated
...
error fixed: sometimes the notice view was never dismissed if the app resigned active while a notice where shown
2013-01-20 16:21:25 +01:00
Tito Ciuro
f51dd7c5e9
Merge pull request #30 from jun1st/master
...
add offset to origin.y if scrolled, so the notice view wouldn't be covered
3.0.3
2013-01-08 13:39:44 -08:00
Tito Ciuro
02bdf99eae
Merge pull request #33 from rlester/master
...
Issue When Applying Notice View To View That Has Been Transformed.
2013-01-08 03:23:17 -08:00
Rob Lester
25cb321ada
Changed the width of the Error, Success, and Sticky view to use its superviews bounds with instead of frame width. This is because if the notice view is applied to a view that an Core Graphics transform has been applied to the frame is undefined. See warning on transform property at https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIView_Class/UIView/UIView.html
3.0.2
2013-01-07 20:28:16 -05:00
Troels Richter
c06f1d29f5
ios5 special handling of notice height removed because it resultet in a higher view than else so that success and notice height differed on ios6
2013-01-05 22:16:01 +01:00
Troels Richter
bb47295f5f
there should never be a delay when notice is dismissed interactively. Fixed the case where you wanted to dismiss a non sticky notice interactively
2013-01-03 07:36:47 +01:00
Troels Richter
b4812070ee
WBNoticeViewSlidingMode property introduced to support for sliding up from the bottom
2013-01-02 22:50:57 +01:00
Troels Richter
ab6dc8577c
noticeview with is calculated from the view bounds instead of frame to fix orientation with error
2013-01-02 22:18:19 +01:00
feng qijun
5337245c6a
add scroll offset to origin.y if scrolled
2012-12-28 18:54:02 +08:00
Tito Ciuro
cf530eb039
Added 'NoticeView SLOCCount Stats' section.
3.0.1
2012-11-21 12:58:44 -05:00
Tito Ciuro
7b9238ead7
Updated README and .gitignore.
3.0.0
2012-11-21 12:17:13 -05:00
Tito Ciuro
e4d5cca09e
Merge pull request #26 from GateGuru/gateguru
...
Refactor NoticeView for Simplicity & Extensibility, Add Podspec, and Improve Compatibility with Accessibility Labels (Testing)
2012-11-21 09:15:38 -08:00
Blake Watters
0ea95cfe83
Add a .gitignore
2012-11-21 11:52:33 -05:00
Blake Watters
9ac1c858f1
Bump version to 3.0
2012-11-20 23:15:42 -05:00
Blake Watters
e6e8668fbb
Rework dismissal blocks to allow for interaction with a notice that support interactive dismissal and a timeout.
...
In these cases, the display interval is managed by an NSTimer instead of the UIView animation delay property. This is because of two factors:
1. The UIView animation blocks by default disable interaction with the views.
2. If you enable the option to support interaction, the frame of the button matches the final destination frame instead of the current visible frame. This causes hit tests to fail and for all intents and purposes makes the notice view an untappable target.
2012-11-13 18:01:01 -05:00
Blake Watters
624e8ed60a
Improve flexibility of tap to dismiss behaviors
...
* Adds a Boolean `tapToDismissEnabled` to control the response to tap events independently of the value of the `sticky` property
* Update accessibility traits to better match the iOS button defaults
* Ensure that user interaction is enabled on gradient views so they can respond to taps
2012-11-13 17:35:09 -05:00
Blake Watters
8f78889bfd
Fix hang during calculation of lines of text in UILabel extension when text property is nil
2012-11-13 09:18:48 -05:00
Blake Watters
042b32227a
Remove syntehsize title/message properties in notice view subclasses
2012-11-13 09:17:20 -05:00
Blake Watters
6286f99219
Refactor WBNoticeView for simplicity and to support easier implementation of additional notice types.
...
* Reorganizes codebase to rely on properties instead of methods.
* Adds `ForSubclassEyesOnly` category to expose protected interfaces needed by subclasses to implement notice types.
* Removes the `noticeType` notion in favor of using subclassing to create notice types.
* Removes seemingly unused `defaultManager` static method.
* Removes `_raiseIfObjectIsNil:named:` method in favor of `NSParameterAssert`
* Adds Appledoc documentation to all public interfaces.
* Adds a Boolean argument to the dismiss callback block to disambiguate interactive vs. non-interactive dismissal.
* Replaces the dimissed block property with a setter method to enable code completion in Xcode.
* Adds Default-568h@2x.png image to suppress Xcode warning.
2012-11-12 23:10:13 -05:00
Blake Watters
793fcb725a
Add accessibility label and disable "Information not provided." default error message.
2012-11-10 16:30:00 -05:00
Blake Watters
3fd8c835d3
Add podspec to support :local installation
2012-11-09 19:30:00 -05:00
Tito Ciuro
1ff57ec883
Fixed #24 : Allow to specify a completion block upon notice dismissal
2.4
2012-10-16 22:59:11 -07:00
Tito Ciuro
4d64763ef9
Fixed #22 : Add the capability to dismiss any notice at will (manually)
2.3.1
2012-10-03 21:28:39 -07:00
Tito Ciuro
8485d27b7f
Updated the documentation.
2012-09-29 14:35:38 -07:00
Tito Ciuro
044d97be4c
Fixed #21 : Add 'sticky' property to override the default behavior
2.3
2012-09-29 14:27:49 -07:00
Tito Ciuro
8a0f1a1ee4
Fixed #20 : Refactor the code
2012-09-29 13:59:54 -07:00
Tito Ciuro
785b42caa1
Fixed #19 : The dynamic error NoticeView is not displayed properly in iOS 6
2.2
2012-09-20 20:12:49 -07:00
Tito Ciuro
f4cd4b861d
Fixed #16 : Two faults in WBBaseNoticeView.m
2012-09-20 20:09:07 -07:00
Tito Ciuro
1349fbd97f
Merge pull request #17 from rlester/master
...
Created Retina Icons
2012-09-08 19:12:01 -07:00
Rob Lester
52f0c02084
Fixed #13 : Added Retina Icons
2012-09-08 17:24:06 -04:00
Tito Ciuro
4e9f0c8020
Fixed #15 : Left NSLog in WBNoticeView.m
2012-08-24 19:19:46 -07:00
Tito Ciuro
25fac85a92
Revert "Merge pull request #14 from ldrr/master"
...
This reverts commit 3b13d4f32f , reversing
changes made to cf61c0663f .
2012-07-27 08:58:59 -03:00
Tito Ciuro
3b13d4f32f
Merge pull request #14 from ldrr/master
...
Resolved warning in WBBaseNoticeView.m
2012-07-27 04:38:12 -07:00
ledererc@gmail.com
6c27f73c32
Removed warning in WBBaseNoticeView.raiseIfObjectIsNil
...
WBBaseNoticeView.m:41:80: Format specifies type 'char *' but the argument has type 'SEL'
2012-07-27 12:24:53 +02:00
Tito Ciuro
cf61c0663f
updated the documentation.
2012-06-06 22:04:03 -07:00
Tito Ciuro
53d02f22d7
Fixed #8 : Add a sticky notice view and refactor the code a bit
2.1
2012-06-06 21:56:54 -07:00