mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2026-07-13 06:55:44 +00:00
first add sdk
This commit is contained in:
commit
f91efd1250
3915 changed files with 1291882 additions and 0 deletions
27
tools/uart_adapter/app/iOS/uartadapter/Cell.m
Executable file
27
tools/uart_adapter/app/iOS/uartadapter/Cell.m
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
Copyright (C) 2015 Apple Inc. All Rights Reserved.
|
||||
See LICENSE.txt for this sample’s licensing information
|
||||
|
||||
Abstract:
|
||||
Custom collection view cell for image and its label.
|
||||
*/
|
||||
|
||||
#import "Cell.h"
|
||||
#import "CustomCellBackground.h"
|
||||
|
||||
@implementation Cell
|
||||
|
||||
|
||||
- (instancetype)initWithCoder:(NSCoder *)aDecoder
|
||||
{
|
||||
self = [super initWithCoder:aDecoder];
|
||||
if (self)
|
||||
{
|
||||
// change to our custom selected background view
|
||||
CustomCellBackground *backgroundView = [[CustomCellBackground alloc] initWithFrame:CGRectZero];
|
||||
self.selectedBackgroundView = backgroundView;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
Loading…
Add table
Add a link
Reference in a new issue