Commit Graph

72 Commits

Author SHA1 Message Date
Jesse Squires
395b1342a9 unit tests and refinements 2014-12-19 17:41:19 -05:00
Jesse Squires
0d20dadb8e refactor JSQMessage hierarchy. remove Text and Media subclasses, absorb into single JSQMessage class. close #602 2014-11-09 10:58:04 -08:00
Jesse Squires
42c29ce4a1 fix auto layout constraint issues and warnings. set bubble width instead of margin. close #584, close #322 2014-11-02 19:13:05 -08:00
Jesse Squires
c0edc6f7aa fix tests 2014-10-30 22:32:41 -07:00
Jesse Squires
3f0f52f704 more unit test refinements 2014-10-20 23:17:14 -07:00
Jesse Squires
188ab824b8 refine category unit tests. update image category for asset methods. 2014-10-20 23:07:35 -07:00
Jesse Squires
0638d8caf2 refactor assets directory. use asset bundle. update categories for bundle. update tests 2014-10-19 18:22:22 -07:00
Jesse Squires
454be29f8d revert @import for #import. fix #541 2014-10-15 21:16:47 -07:00
Jesse Squires
65a691af96 follow up from PR #535 2014-10-09 21:40:54 -07:00
Raymond Walsh
2fdbc9f0f1 Refactor JSQMessagesBubbleImageFactory to enable custom images/insets
The factory is now instantiated, rather than used as a set of static methods.
The default init function creates a factory which behaves exactly like the previous version.
The two-parameter init function takes a custom image and user-defined strechable regions.

Two new unit tests cover the custom image constructor
2014-10-07 09:27:55 -07:00
Jesse Squires
3ab7fd4918 add isMediaMessage to JSQMessageData. close #530. 2014-10-06 18:38:04 -07:00
Jesse Squires
23a5402f1f update header docs 2014-10-02 20:40:05 -07:00
Jesse Squires
fd192ba635 rebuild xcode project - fuck you xcode. update assets (#). clean up file imports. use modern objC. update podfile. 2014-09-28 19:24:44 -07:00
Jesse Squires
cddf5f4f0d update xibs for xcode6, iOS 8. refine and streamline JSQMessagesCollectionViewCell. 2014-09-21 12:47:01 -07:00
Jesse Squires
d82f39ccb9 unit tests 2014-09-21 00:47:30 -07:00
Jesse Squires
c144892a45 remove demo class prefixes 2014-09-20 23:27:07 -07:00
Jesse Squires
0a16732842 refactor library for core media message support. refactor JSQMessage to be abstract base class. add JSQTextMessage. add JSQMediaMessage. add JSQMessageMediaData protocol. Update demo. ref #223, #476. 2014-09-20 23:22:34 -07:00
Jesse Squires
0facd44dbd Merge branch 'develop' into release-6.0 2014-09-20 17:13:18 -07:00
Jesse Squires
375eda5d4f fix unit tests 2014-09-20 16:51:08 -07:00
Jesse Squires
a8fe8f961d new header and footer properties on collection view. remove typingIndicatorColor from view controller. refinements for #476 2014-09-07 23:13:43 -06:00
Jesse Squires
5045f04522 rename JSQMessagesAvatarFactoryTests —> JSQMessagesAvatarImageFactoryTests 2014-09-06 18:59:35 -07:00
Jesse Squires
af9117642c new helper method on JSQMessagesAvatarImage and unit tests. 2014-09-06 18:54:48 -07:00
Jesse Squires
67e6650b3e update library to use JSQMessageAvatarImageDataSource and JSQMessagesAvatarImage. refactor JSQMessagesAvatarImageFactory. add avatarImageView to cell prototype. update unit tests. updates docs. ref #319 2014-09-06 18:51:36 -07:00
Jesse Squires
5020d5ad85 rename JSQMessagesAvatarFactory —> JSQMessagesAvatarImageFactory 2014-09-06 16:40:52 -07:00
Jesse Squires
45ae2095c2 documentation for JSQMessageAvatarImageDataSource and JSQMessagesAvatarImage. slight refactor of both, remove size property. update tests. #319 2014-09-06 16:36:50 -07:00
Jesse Squires
39c88d90df fix unit tests 2014-09-06 14:10:35 -07:00
Jesse Squires
7f4a2bab25 update library to utilize JSQMessageBubbleImageDataSource and JSQMessagesBubbleImage. add messageBubbleImageView to JSQMessagesCollectionViewCell prototype. update demo and unit-tests. 2014-09-06 14:03:47 -07:00
Jesse Squires
a97cf9dcbc new JSQMessagesAvatarImage class and unit tests. ref #319 2014-09-06 12:00:25 -07:00
Jesse Squires
430853e7c8 add JSQMessagesBubbleImageTests 2014-09-01 22:10:15 -07:00
Jesse Squires
751677394c change message data protocol and model to use senderId and senderDisplayName. closes #389. 2014-09-01 19:23:56 -07:00
Jesse Squires
762ae3e581 fix unit tests 2014-06-07 17:20:33 -07:00
Jesse Squires
f29354e039 unit tests 2014-05-18 12:53:51 -07:00
Jesse Squires
9d5505624b unit tests 2014-05-18 11:25:25 -07:00
Jesse Squires
8ce72ac3d3 import OCMock 2014-05-18 11:07:56 -07:00
Jesse Squires
f321c473a2 make dateFormatter public and readonly. add nil checks for date. close #274 2014-05-12 09:13:01 -07:00
Jesse Squires
7c8fc8afd8 begin toolbar content view tests 2014-04-29 20:49:49 -07:00
Jesse Squires
7908ad0340 begin header and footer tests 2014-04-29 20:31:01 -07:00
Jesse Squires
d55090df39 toolbar and label tests 2014-04-29 20:26:50 -07:00
Jesse Squires
9d9d46936e stub out remaining unit tests 2014-04-29 20:16:03 -07:00
Jesse Squires
6cc981364d fix #252 2014-04-28 23:18:50 -07:00
Jesse Squires
fc406d8a14 fix #252 2014-04-28 21:41:51 -07:00
Jesse Squires
0046e2aa7b begin composer text view tests 2014-04-27 23:28:55 -07:00
Jesse Squires
7a4fba830e begin collection view cell tests 2014-04-27 22:58:11 -07:00
Jesse Squires
00571d8f11 collection view unit tests 2014-04-27 16:27:45 -07:00
Jesse Squires
1a6210d1fb refactoring. collection view init. unit tests. 2014-04-27 16:25:58 -07:00
Jesse Squires
db3886cc8e fix test 2014-04-27 16:18:11 -07:00
Jesse Squires
337154eead message tests 2014-04-27 15:56:20 -07:00
Jesse Squires
bbd0b93d26 improve message isEqual and hash. unit test. 2014-04-27 15:52:34 -07:00
Jesse Squires
ef5bd9055e improve layout attrs hash and isEqual. unit test 2014-04-27 15:51:27 -07:00
Jesse Squires
cfe5adc2b3 layout attrs test. fix layout attrs isEqual bug. 2014-04-27 15:15:22 -07:00