ios importios是什么意思思

iCarousel.h
Version 1.6.3 beta
Created by Nick Lockwood on 01/04/2011.
Copyright 2010 Charcoal Design
Distributed under the permissive zlib License
Get the latest version from either of these locations:
http://charcoaldesign.co.uk/source/cocoa#icarousel
/nicklockwood/iCarousel
This software is provided 'as-is', without any express or implied
In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must n you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
ARC Helper
Version 1.2.2
Created by Nick Lockwood on 05/01/2012.
Copyright 2012 Charcoal Design
Distributed under the permissive zlib license
Get the latest version from here:
#ifndef AH_RETAIN
#if __has_feature(objc_arc)
#define AH_RETAIN(x) (x)
#define AH_RELEASE(x) (void)(x)
#define AH_AUTORELEASE(x) (x)
#define AH_SUPER_DEALLOC (void)(0)
#define __AH_WEAK
#define AH_WEAK assign
#define AH_RETAIN(x) [(x) retain]
#define AH_RELEASE(x) [(x) release]
#define AH_AUTORELEASE(x) [(x) autorelease]
#define AH_SUPER_DEALLOC [super dealloc]
Weak reference support
#ifndef AH_WEAK
#if defined __IPHONE_OS_VERSION_MIN_REQUIRED
#if __IPHONE_OS_VERSION_MIN_REQUIRED & __IPHONE_4_3
#define __AH_WEAK __weak
#define AH_WEAK weak
#define __AH_WEAK __unsafe_unretained
#define AH_WEAK unsafe_unretained
#elif defined __MAC_OS_X_VERSION_MIN_REQUIRED
#if __MAC_OS_X_VERSION_MIN_REQUIRED & __MAC_10_6
#define __AH_WEAK __weak
#define AH_WEAK weak
#define __AH_WEAK __unsafe_unretained
#define AH_WEAK unsafe_unretained
ARC Helper ends
#ifdef USING_CHAMELEON
#define ICAROUSEL_IOS
#elif defined __IPHONE_OS_VERSION_MAX_ALLOWED
#define ICAROUSEL_IOS
typedef CGRect NSR
typedef CGSize NSS
#define ICAROUSEL_MACOS
#import &QuartzCore/QuartzCore.h&
#ifdef ICAROUSEL_IOS
#import &UIKit/UIKit.h&
#import &Cocoa/Cocoa.h&
typedef NSView UIV
typedef enum
iCarouselTypeLinear = 0,
iCarouselTypeRotary,
iCarouselTypeInvertedRotary,
iCarouselTypeCylinder,
iCarouselTypeInvertedCylinder,
iCarouselTypeWheel,
iCarouselTypeInvertedWheel,
iCarouselTypeCoverFlow,
iCarouselTypeCoverFlow2,
iCarouselTypeTimeMachine,
iCarouselTypeInvertedTimeMachine,
iCarouselTypeCustom
iCarouselT
typedef enum
iCarouselTranformOptionCount = 0,
iCarouselTranformOptionArc,
iCarouselTranformOptionAngle,
iCarouselTranformOptionRadius,
iCarouselTranformOptionTilt,
iCarouselTranformOptionSpacing
iCarouselTranformO
@protocol iCarouselDataSource, iCarouselD
@interface iCarousel : UIView
//required for 32-bit Macs
#ifdef __i386__
id&iCarouselDelegate& __AH_WEAK
id&iCarouselDataSource& __AH_WEAK dataS
iCarouselT
NSInteger numberOfI
NSInteger numberOfP
NSInteger numberOfPlaceholdersToS
NSInteger numberOfVisibleI
UIView *contentV
NSDictionary *itemV
NSMutableSet *itemViewP
NSMutableSet *placeholderViewP
NSInteger previousItemI
CGFloat itemW
CGFloat scrollO
CGFloat offsetM
CGFloat startV
id __unsafe_
BOOL scrollE
CGFloat decelerationR
CGSize contentO
CGSize viewpointO
CGFloat startO
CGFloat endO
NSTimeInterval scrollD
NSTimeInterval startT
CGFloat previousT
BOOL centerItemWhenS
BOOL shouldW
CGFloat scrollS
CGFloat bounceD
NSTimeInterval toggleT
BOOL stopAtItemB
BOOL scrollToItemB
BOOL useDisplayL
BOOL ignorePerpendicularS
NSInteger animationDisableC
@property (nonatomic, AH_WEAK) IBOutlet id&iCarouselDataSource& dataS
@property (nonatomic, AH_WEAK) IBOutlet id&iCarouselDelegate&
@property (nonatomic, assign) iCarouselT
@property (nonatomic, assign) CGF
@property (nonatomic, assign) CGFloat decelerationR
@property (nonatomic, assign) CGFloat scrollS
@property (nonatomic, assign) CGFloat bounceD
@property (nonatomic, assign) BOOL scrollE
@property (nonatomic, assign) BOOL
@property (nonatomic, readonly) CGFloat scrollO
@property (nonatomic, readonly) CGFloat offsetM
@property (nonatomic, assign) CGSize contentO
@property (nonatomic, assign) CGSize viewpointO
@property (nonatomic, readonly) NSInteger numberOfI
@property (nonatomic, readonly) NSInteger numberOfP
@property (nonatomic, readonly) NSInteger currentItemI
@property (nonatomic, strong, readonly) UIView *currentItemV
@property (nonatomic, strong, readonly) NSArray *indexesForVisibleI
@property (nonatomic, readonly) NSInteger numberOfVisibleI
@property (nonatomic, strong, readonly) NSArray *visibleItemV
@property (nonatomic, readonly) CGFloat itemW
@property (nonatomic, strong, readonly) UIView *contentV
@property (nonatomic, readonly) CGF
@property (nonatomic, assign) BOOL stopAtItemB
@property (nonatomic, assign) BOOL scrollToItemB
@property (nonatomic, assign) BOOL useDisplayL
@property (nonatomic, assign, getter = isVertical) BOOL
@property (nonatomic, assign) BOOL ignorePerpendicularS
- (void)scrollByNumberOfItems:(NSInteger)itemCount duration:(NSTimeInterval)
- (void)scrollToItemAtIndex:(NSInteger)index duration:(NSTimeInterval)
- (void)scrollToItemAtIndex:(NSInteger)index animated:(BOOL)
- (void)removeItemAtIndex:(NSInteger)index animated:(BOOL)
- (void)insertItemAtIndex:(NSInteger)index animated:(BOOL)
- (void)reloadItemAtIndex:(NSInteger)index animated:(BOOL)
- (UIView *)itemViewAtIndex:(NSInteger)
- (NSInteger)indexOfItemView:(UIView *)
- (NSInteger)indexOfItemViewOrSubview:(UIView *)
- (CGFloat)offsetForItemAtIndex:(NSInteger)
- (void)reloadD
#ifdef ICAROUSEL_IOS
@property (nonatomic, assign) BOOL centerItemWhenS
@protocol iCarouselDataSource &NSObject&
- (NSUInteger)numberOfItemsInCarousel:(iCarousel *)
- (UIView *)carousel:(iCarousel *)carousel viewForItemAtIndex:(NSUInteger)index reusingView:(UIView *)
- (NSUInteger)numberOfPlaceholdersInCarousel:(iCarousel *)
- (UIView *)carousel:(iCarousel *)carousel placeholderViewAtIndex:(NSUInteger)index reusingView:(UIView *)
- (NSUInteger)numberOfVisibleItemsInCarousel:(iCarousel *)
//deprecated, use carousel:viewForItemAtIndex:reusingView: and carousel:placeholderViewAtIndex:reusingView: instead
- (UIView *)carousel:(iCarousel *)carousel viewForItemAtIndex:(NSUInteger)index __
- (UIView *)carousel:(iCarousel *)carousel placeholderViewAtIndex:(NSUInteger)index __
@protocol iCarouselDelegate &NSObject&
- (void)carouselWillBeginScrollingAnimation:(iCarousel *)
- (void)carouselDidEndScrollingAnimation:(iCarousel *)
- (void)carouselDidScroll:(iCarousel *)
- (void)carouselCurrentItemIndexUpdated:(iCarousel *)
- (void)carouselWillBeginDragging:(iCarousel *)
- (void)carouselDidEndDragging:(iCarousel *)carousel willDecelerate:(BOOL)
- (void)carouselWillBeginDecelerating:(iCarousel *)
- (void)carouselDidEndDecelerating:(iCarousel *)
- (CGFloat)carouselItemWidth:(iCarousel *)
- (CGFloat)carouselOffsetMultiplier:(iCarousel *)
- (BOOL)carouselShouldWrap:(iCarousel *)
- (CGFloat)carousel:(iCarousel *)carousel itemAlphaForOffset:(CGFloat)
- (CATransform3D)carousel:(iCarousel *)carousel itemTransformForOffset:(CGFloat)offset baseTransform:(CATransform3D)
- (CGFloat)carousel:(iCarousel *)carousel valueForTransformOption:(iCarouselTranformOption)option withDefault:(CGFloat)
//deprecated, use transformForItemAtIndex:withOffset:baseTransform: instead
- (CATransform3D)carousel:(iCarousel *)carousel transformForItemView:(UIView *)view withOffset:(CGFloat)offset __
#ifdef ICAROUSEL_IOS
- (BOOL)carousel:(iCarousel *)carousel shouldSelectItemAtIndex:(NSInteger)
- (void)carousel:(iCarousel *)carousel didSelectItemAtIndex:(NSInteger)
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:278949次
积分:4515
积分:4515
排名:第2010名
原创:149篇
转载:197篇
评论:54条
(3)(3)(1)(2)(4)(2)(2)(24)(7)(9)(44)(2)(1)(2)(2)(3)(6)(14)(23)(3)(6)(6)(6)(2)(8)(12)(10)(19)(18)(19)(20)(28)(24)(7)(6)1)">1)">1" ng-class="{current:{{currentPage==page}}}" ng-repeat="page in pages"><li class='page' ng-if="(endIndex<li class='page next' ng-if="(currentPage
相关文章阅读Ray is an indie software developer currently focusing on iPhone and iPad development, and the administrator of this site.
He’s the founder of a small iPhone development studio called , and is passionate both about making apps and teaching others the techniques to make them.
When Ray’s not programming, he’s probably playing video games, role playing games, or board games.
Other Items of Interest
Ray's Monthly Newsletter
Sign up to receive a monthly newsletter with my favorite dev links, and receive a free epic-length tutorial as a bonus!
Advertise with Us!
Vote for Our Next Tutorial!
&Loading ...
Last week's winner: Touch ID Authentication.
Hang Out With Us!
Tutorial Team
... Update Team... Editorial Team... Code Team... Subject Matter Experts...
Recent Forum PostsLike Us on FacebookRay Wenderlich
0 people like
Our Recent TweetsBeen reading the pre-release version of &s write up for our OSS
It&s looking good, you should look forwards to it -Terrifying (yet incredibly impressive) | 16 GIFs That Prove Robots Will Destroy Us All Soon

我要回帖

更多关于 ios是什么意思 的文章

 

随机推荐