From a25f95dd4e6635b68818ef39a3bae1c94bf1a95b Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Thu, 5 Oct 2017 15:19:19 +0200 Subject: [PATCH] keep designing --- ...nversationCreateCollectionViewController.m | 68 ------------------- .../UIChatCreateConfirmCollectionViewCell.h | 4 +- .../UIChatCreateConfirmCollectionViewCell.m | 4 ++ 3 files changed, 6 insertions(+), 70 deletions(-) diff --git a/Classes/ChatConversationCreateCollectionViewController.m b/Classes/ChatConversationCreateCollectionViewController.m index 2329c59ae..35f3d4849 100644 --- a/Classes/ChatConversationCreateCollectionViewController.m +++ b/Classes/ChatConversationCreateCollectionViewController.m @@ -18,80 +18,12 @@ static NSString * const reuseIdentifier = @"Cell"; - (void)viewDidLoad { [super viewDidLoad]; - // Uncomment the following line to preserve selection between presentations - // self.clearsSelectionOnViewWillAppear = NO; - // Register cell classes [self.collectionView registerClass:[UICollectionViewCell class] forCellWithReuseIdentifier:reuseIdentifier]; - - // Do any additional setup after loading the view. } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. } -/* -#pragma mark - Navigation - -// In a storyboard-based application, you will often want to do a little preparation before navigation -- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { - // Get the new view controller using [segue destinationViewController]. - // Pass the selected object to the new view controller. -} -*/ - -/*#pragma mark - -- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView { -#warning Incomplete implementation, return the number of sections - return 0; -} - - -- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section { -#warning Incomplete implementation, return the number of items - return 0; -} - -- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath { - UICollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:reuseIdentifier forIndexPath:indexPath]; - - // Configure the cell - - return cell; -}*/ - -#pragma mark - -/* -// Uncomment this method to specify if the specified item should be highlighted during tracking -- (BOOL)collectionView:(UICollectionView *)collectionView shouldHighlightItemAtIndexPath:(NSIndexPath *)indexPath { - return YES; -} -*/ - -/* -// Uncomment this method to specify if the specified item should be selected -- (BOOL)collectionView:(UICollectionView *)collectionView shouldSelectItemAtIndexPath:(NSIndexPath *)indexPath { - return YES; -} -*/ - -/* -// Uncomment these methods to specify if an action menu should be displayed for the specified item, and react to actions performed on the item -- (BOOL)collectionView:(UICollectionView *)collectionView shouldShowMenuForItemAtIndexPath:(NSIndexPath *)indexPath { - return NO; -} - -- (BOOL)collectionView:(UICollectionView *)collectionView canPerformAction:(SEL)action forItemAtIndexPath:(NSIndexPath *)indexPath withSender:(id)sender { - return NO; -} - -- (void)collectionView:(UICollectionView *)collectionView performAction:(SEL)action forItemAtIndexPath:(NSIndexPath *)indexPath withSender:(id)sender { - -} -*/ - @end diff --git a/Classes/LinphoneUI/UIChatCreateConfirmCollectionViewCell.h b/Classes/LinphoneUI/UIChatCreateConfirmCollectionViewCell.h index e31b3dc3f..2366195b8 100644 --- a/Classes/LinphoneUI/UIChatCreateConfirmCollectionViewCell.h +++ b/Classes/LinphoneUI/UIChatCreateConfirmCollectionViewCell.h @@ -6,7 +6,7 @@ // #import +#import "UIChatCreateCollectionViewCell.h" -@interface UIChatCreateConfirmCollectionViewCell : UICollectionViewCell - +@interface UIChatCreateConfirmCollectionViewCell : UIChatCreateCollectionViewCell @end diff --git a/Classes/LinphoneUI/UIChatCreateConfirmCollectionViewCell.m b/Classes/LinphoneUI/UIChatCreateConfirmCollectionViewCell.m index 666936c5d..e6874218e 100644 --- a/Classes/LinphoneUI/UIChatCreateConfirmCollectionViewCell.m +++ b/Classes/LinphoneUI/UIChatCreateConfirmCollectionViewCell.m @@ -9,4 +9,8 @@ @implementation UIChatCreateConfirmCollectionViewCell +- (void)onDelete { + +} + @end