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
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
Tito Ciuro
885038e61d
Fixed #7 : Replace background image with a gradient
2.0.4
2012-06-03 23:37:58 -07:00
Tito Ciuro
11bba57b07
Fixed #6 : Notice view not dismissed when UIViewController is pushed
2.0.3
2012-05-31 13:05:59 -07:00
Tito Ciuro
a1aa6c3f47
Fix #5 : Need to refactor the code a bit
2.0.2
2012-05-30 05:36:23 -07:00
Tito Ciuro
0804b71e2a
Merge pull request #4 from kolyvan/master
...
Fixed a leak of self.noticeView [kolyvan]
2012-05-30 05:16:48 -07:00
Kolyvan
fbe4a017a3
remove self.noticeView from a superview during cleanup
2012-05-29 21:05:48 +11:00
Tito Ciuro
f1dce80236
Merge branch 'master' of https://github.com/tciuro/NoticeView
2.0.1
2012-05-26 00:42:29 -07:00
Tito Ciuro
aa10af9a9a
replaced artwork.
2012-05-26 00:41:41 -07:00
Tito Ciuro
89a777e321
replaced screenshot link.
2012-05-26 00:40:45 -07:00
Tito Ciuro
c82785e359
minor correction.
2012-05-25 23:50:48 -07:00
Tito Ciuro
197d50950a
new version 2. The README doc contains more info.
2.0
2012-05-25 23:46:25 -07:00
Tito Ciuro
0bb2a5a3e0
Merge branch 'master' of https://github.com/tciuro/NoticeView
1.2.2
2012-05-25 22:06:48 -07:00
Tito Ciuro
b65af677c5
fixed a calculation bug based on view rotation.
2012-05-25 22:05:17 -07:00
Tito Ciuro
191c2c81a3
minor adjustment of the duration default value.
2012-05-25 17:30:54 -07:00
Tito Ciuro
85d64a2208
add iPad demo.
2012-05-25 17:24:16 -07:00
Tito Ciuro
1510116ba3
calculate the width of the notice based on the view, not screen.
1.2.1
2012-05-25 17:22:42 -07:00
Tito Ciuro
35a7275ee4
added device rotation awareness. View grows automagically based on text.
1.2.0
2012-05-25 01:22:40 -07:00
Tito Ciuro
724a24b516
added new originY positioning API. Updated UI.
1.1.0
2012-05-24 17:19:16 -07:00
Tito Ciuro
88d30815bf
added alpha channel parameter.
1.0.0
2012-05-17 11:21:02 -07:00
Tito Ciuro
59b8cbbadf
added license to the source files
2012-05-16 17:57:29 -07:00