Skip to content

Commit

Permalink
Added animated flask demo.
Browse files Browse the repository at this point in the history
This is a mid-level Core Animation demo.
  • Loading branch information
rob-brown committed Aug 15, 2012
1 parent 0deaded commit 7c71af4
Show file tree
Hide file tree
Showing 23 changed files with 1,273 additions and 0 deletions.
470 changes: 470 additions & 0 deletions AnimatedFlask/AnimatedFlask.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions AnimatedFlask/AnimatedFlask/AnimatedFlask-Info.plist
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.RobertBrown.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIMainStoryboardFile</key>
<string>MainStoryboard</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
</dict>
</plist>
14 changes: 14 additions & 0 deletions AnimatedFlask/AnimatedFlask/AnimatedFlask-Prefix.pch
@@ -0,0 +1,14 @@
//
// Prefix header for all source files of the 'AnimatedFlask' target in the 'AnimatedFlask' project
//

#import <Availability.h>

#ifndef __IPHONE_5_0
#warning "This project uses features only available in iOS SDK 5.0 and later."
#endif

#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#endif
21 changes: 21 additions & 0 deletions AnimatedFlask/AnimatedFlask/RBAnimatedFlask.h
@@ -0,0 +1,21 @@
//
// RBAnimatedFlask.h
// AnimatedFlask
//
// Created by Robert Brown on 7/24/12.
// Copyright (c) 2012 Robert Brown. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface RBAnimatedFlask : UIView

@property (nonatomic, assign, getter=isAnimating, readonly) BOOL animating;

- (void)startAnimating;

- (void)stopAnimating;

- (void)toggleAnimating;

@end

0 comments on commit 7c71af4

Please sign in to comment.