SlideShare ist ein Scribd-Unternehmen logo
1 von 21
iPhone SDK

     PhotoFlipCardView


 NSZombie + Instruments


3G
iPhone SDK




24/7 twenty-four seven
http://d.hatena.ne.jp/KishikawaKatsumi/
iPhone SDK




•     touch   •Subway Map
•LDR touch    •MyWebClip
•             •
•LCD Clock    •
iPhone SDK

http://github.com/kishikawakatsumi


•hatena-touch •DescriptionBuilder
•ldr-touch      •TiledLayerView
•tv-listings    •UICCalendarPicker
•MapKit-Route-Directions
iPhone SDK

     PhotoFlipCardView


 NSZombie + Instruments


3G
iPhone SDK


            PhotoFlipCardView


http://dl.dropbox.com/u/285673/PhotoFlipCardView.zip
iPhone SDK


             PhotoFlipCardView


•          .app


http://dl.dropbox.com/u/285673/PhotoFlipCardView.zip
iPhone SDK




http://dl.dropbox.com/u/285673/PhotoFlipCardView.zip
iPhone SDK
Thumbnail -> Full

[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView
 setAnimationTransition:UIViewAnimationTransitionFlipFromLeft
           forView:thumbView cache:YES];
thumbView.frame = fullView.frame;
[thumbView addSubview:fullView];
[fullView release];
[UIView commitAnimations];
iPhone SDK
setAnimationTransition:UIViewAnimationTransitionFlipFromLeft
              forView:thumbView cache:YES




           thumbVIew


                                                 fullVIew


                setFrame:fullView.frame

                addSubView:fullView
iPhone SDK
Full -> Thumbnail

[UIView beginAnimations:nil context:thumbView];
[UIView setAnimationDuration:0.5];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView
 setAnimationTransition:UIViewAnimationTransitionFlipFromRight
          forView:thumbView cache:YES];
[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:
 @selector(flipAnimationFinished:finished:context:)];
thumbView.frame = thumbFrame;
[photoFlipCardImageView removeFromSuperview];
[UIView commitAnimations];
iPhone SDK



               UIScrollView
window or self.view

                              (??, ??, 75.0, 75.0)
iPhone SDK
- (CGRect)convertRect:(CGRect)rect toView:(UIView *)view

UIImageView *thumbView =
 [[UIImageView alloc]
   initWithImage:button.currentImage];
thumbFrame = [self convertRect:button.frame toView:nil];
thumbView.frame = thumbFrame;
thumbView.userInteractionEnabled = YES;
[keyWindow addSubview:thumbView];
[thumbView release];
iPhone SDK
iPhone SDK
PhotoFlipCardImageView *fullView =
 [[PhotoFlipCardImageView alloc]
  initWithFrame:self.window.frame];
fullView.delegate = self;
fullView.contentMode = UIViewContentModeScaleAspectFit;
fullView.image = fullImage;
[fullImage release];

[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView
 setAnimationTransition:UIViewAnimationTransitionFlipFromLeft
           forView:thumbView cache:YES];
thumbView.frame = fullView.frame;
[thumbView addSubview:fullView];
[fullView release];
[UIView commitAnimations];
iPhone SDK


         NSZombie + Instruments


http://www.markj.net/iphone-memory-debug-nszombie/
iPhone SDK
iPhone SDK
[Session started at 2010-03-06 11:17:02 +0900.]
2010-03-06 11:17:06.478 ZombieDebug[30909:207] *** -[CFNumber
   respondsToSelector:]: message sent to deallocated instance 0x393e2a0
iPhone SDK
iPhone SDK
iPhone SDK


iPhone 3G

Weitere ähnliche Inhalte

Was ist angesagt?

Android Wear Development
Android Wear DevelopmentAndroid Wear Development
Android Wear DevelopmentJohnny Sung
 
Android workshop - 02. Glass development 101
Android workshop - 02. Glass development 101Android workshop - 02. Glass development 101
Android workshop - 02. Glass development 101Johnny Sung
 
Testing Sucks, But It Doesn't Have To
Testing Sucks, But It Doesn't Have ToTesting Sucks, But It Doesn't Have To
Testing Sucks, But It Doesn't Have ToApkudo
 
Instrumentation 101
Instrumentation 101Instrumentation 101
Instrumentation 101Apkudo
 
Support Design Library
Support Design LibrarySupport Design Library
Support Design LibraryTaeho Kim
 
iPhone SDK dev sharing - the very basics
iPhone SDK dev sharing - the very basicsiPhone SDK dev sharing - the very basics
iPhone SDK dev sharing - the very basicskenshin03
 
Beginning Android Flash Development - GTUG Edition
Beginning Android Flash Development - GTUG EditionBeginning Android Flash Development - GTUG Edition
Beginning Android Flash Development - GTUG EditionStephen Chin
 
Ionic bbl le 19 février 2015
Ionic bbl le 19 février 2015Ionic bbl le 19 février 2015
Ionic bbl le 19 février 2015Loïc Knuchel
 
Developing AIR for Android with Flash Professional CS5
Developing AIR for Android with Flash Professional CS5Developing AIR for Android with Flash Professional CS5
Developing AIR for Android with Flash Professional CS5Chris Griffith
 
Building html5 apps using Cordova
Building html5 apps using Cordova Building html5 apps using Cordova
Building html5 apps using Cordova David Voyles
 
21 android2 updated
21 android2 updated21 android2 updated
21 android2 updatedGhanaGTUG
 
What's new in Android Wear 2.0
What's new in Android Wear 2.0What's new in Android Wear 2.0
What's new in Android Wear 2.0Peter Friese
 
Creating Container View Controllers
Creating Container View ControllersCreating Container View Controllers
Creating Container View ControllersBob McCune
 
Introduction to Android Wear
Introduction to Android WearIntroduction to Android Wear
Introduction to Android WearPeter Friese
 

Was ist angesagt? (20)

Android Wear Development
Android Wear DevelopmentAndroid Wear Development
Android Wear Development
 
Hierarchy viewer
Hierarchy viewerHierarchy viewer
Hierarchy viewer
 
Android workshop - 02. Glass development 101
Android workshop - 02. Glass development 101Android workshop - 02. Glass development 101
Android workshop - 02. Glass development 101
 
Koin
KoinKoin
Koin
 
Testing Sucks, But It Doesn't Have To
Testing Sucks, But It Doesn't Have ToTesting Sucks, But It Doesn't Have To
Testing Sucks, But It Doesn't Have To
 
Create twitter-ios-app
Create twitter-ios-appCreate twitter-ios-app
Create twitter-ios-app
 
Instrumentation 101
Instrumentation 101Instrumentation 101
Instrumentation 101
 
Camera
CameraCamera
Camera
 
Support Design Library
Support Design LibrarySupport Design Library
Support Design Library
 
Nokia Asha from idea to app - Imaging
Nokia Asha from idea to app - ImagingNokia Asha from idea to app - Imaging
Nokia Asha from idea to app - Imaging
 
iPhone SDK dev sharing - the very basics
iPhone SDK dev sharing - the very basicsiPhone SDK dev sharing - the very basics
iPhone SDK dev sharing - the very basics
 
Beginning Android Flash Development - GTUG Edition
Beginning Android Flash Development - GTUG EditionBeginning Android Flash Development - GTUG Edition
Beginning Android Flash Development - GTUG Edition
 
Ionic bbl le 19 février 2015
Ionic bbl le 19 février 2015Ionic bbl le 19 février 2015
Ionic bbl le 19 février 2015
 
Developing AIR for Android with Flash Professional CS5
Developing AIR for Android with Flash Professional CS5Developing AIR for Android with Flash Professional CS5
Developing AIR for Android with Flash Professional CS5
 
Building html5 apps using Cordova
Building html5 apps using Cordova Building html5 apps using Cordova
Building html5 apps using Cordova
 
21 android2 updated
21 android2 updated21 android2 updated
21 android2 updated
 
What's new in Android Wear 2.0
What's new in Android Wear 2.0What's new in Android Wear 2.0
What's new in Android Wear 2.0
 
Lightning Talk - Xamarin
Lightning Talk - Xamarin Lightning Talk - Xamarin
Lightning Talk - Xamarin
 
Creating Container View Controllers
Creating Container View ControllersCreating Container View Controllers
Creating Container View Controllers
 
Introduction to Android Wear
Introduction to Android WearIntroduction to Android Wear
Introduction to Android Wear
 

Andere mochten auch

UIViewControllerのコーナーケース
UIViewControllerのコーナーケースUIViewControllerのコーナーケース
UIViewControllerのコーナーケースKatsumi Kishikawa
 
UIDocumentInteractionController
UIDocumentInteractionControllerUIDocumentInteractionController
UIDocumentInteractionControllerKatsumi Kishikawa
 
Entrepreneurs urgent call for 21st century leaders.pptx
Entrepreneurs urgent call for 21st century leaders.pptxEntrepreneurs urgent call for 21st century leaders.pptx
Entrepreneurs urgent call for 21st century leaders.pptxDr. Steve McSwain
 
Communicate: 5 Ways to Enhance Communication
Communicate: 5 Ways to Enhance CommunicationCommunicate: 5 Ways to Enhance Communication
Communicate: 5 Ways to Enhance CommunicationDr. Steve McSwain
 
Duygu sunum
Duygu sunumDuygu sunum
Duygu sunumDUYGU
 
iOSアプリケーションの Unit Test
iOSアプリケーションの Unit TestiOSアプリケーションの Unit Test
iOSアプリケーションの Unit TestKatsumi Kishikawa
 
Technology
TechnologyTechnology
Technologymossmun
 
God Giver Of All Good Gifts Speech
God Giver Of All Good Gifts   SpeechGod Giver Of All Good Gifts   Speech
God Giver Of All Good Gifts SpeechDr. Steve McSwain
 
I phone勉強会 (2011.11.23)
I phone勉強会 (2011.11.23)I phone勉強会 (2011.11.23)
I phone勉強会 (2011.11.23)Katsumi Kishikawa
 
Duygu sunum
Duygu sunumDuygu sunum
Duygu sunumDUYGU
 
Sağlıklı Beslenme Sunu
Sağlıklı Beslenme SunuSağlıklı Beslenme Sunu
Sağlıklı Beslenme SunuDUYGU
 

Andere mochten auch (16)

UIViewControllerのコーナーケース
UIViewControllerのコーナーケースUIViewControllerのコーナーケース
UIViewControllerのコーナーケース
 
UIDocumentInteractionController
UIDocumentInteractionControllerUIDocumentInteractionController
UIDocumentInteractionController
 
Entrepreneurs urgent call for 21st century leaders.pptx
Entrepreneurs urgent call for 21st century leaders.pptxEntrepreneurs urgent call for 21st century leaders.pptx
Entrepreneurs urgent call for 21st century leaders.pptx
 
Communicate: 5 Ways to Enhance Communication
Communicate: 5 Ways to Enhance CommunicationCommunicate: 5 Ways to Enhance Communication
Communicate: 5 Ways to Enhance Communication
 
Duygu sunum
Duygu sunumDuygu sunum
Duygu sunum
 
The Authentic Life
The Authentic LifeThe Authentic Life
The Authentic Life
 
iOSアプリケーションの Unit Test
iOSアプリケーションの Unit TestiOSアプリケーションの Unit Test
iOSアプリケーションの Unit Test
 
Trajectòria
TrajectòriaTrajectòria
Trajectòria
 
Technology
TechnologyTechnology
Technology
 
Church Stewardship Summit
Church Stewardship SummitChurch Stewardship Summit
Church Stewardship Summit
 
UIWebView Tips
UIWebView TipsUIWebView Tips
UIWebView Tips
 
God Giver Of All Good Gifts Speech
God Giver Of All Good Gifts   SpeechGod Giver Of All Good Gifts   Speech
God Giver Of All Good Gifts Speech
 
I phone勉強会 (2011.11.23)
I phone勉強会 (2011.11.23)I phone勉強会 (2011.11.23)
I phone勉強会 (2011.11.23)
 
Educació artística a primària
Educació artística a primàriaEducació artística a primària
Educació artística a primària
 
Duygu sunum
Duygu sunumDuygu sunum
Duygu sunum
 
Sağlıklı Beslenme Sunu
Sağlıklı Beslenme SunuSağlıklı Beslenme Sunu
Sağlıklı Beslenme Sunu
 

Ähnlich wie PhotoFlipCardView

Leaving Interface Builder Behind
Leaving Interface Builder BehindLeaving Interface Builder Behind
Leaving Interface Builder BehindJohn Wilker
 
iOSインタラクションデザイン
iOSインタラクションデザインiOSインタラクションデザイン
iOSインタラクションデザインhIDDENxv
 
Skinning Android for Embedded Applications
Skinning Android for Embedded ApplicationsSkinning Android for Embedded Applications
Skinning Android for Embedded ApplicationsVIA Embedded
 
Practicing AppDevKit in kata training
Practicing AppDevKit in kata trainingPracticing AppDevKit in kata training
Practicing AppDevKit in kata traininganistar sung
 
Session 15 - Working with Image, Scroll, Collection, Picker, and Web View
Session 15  - Working with Image, Scroll, Collection, Picker, and Web ViewSession 15  - Working with Image, Scroll, Collection, Picker, and Web View
Session 15 - Working with Image, Scroll, Collection, Picker, and Web ViewVu Tran Lam
 
Quick Start to iOS Development
Quick Start to iOS DevelopmentQuick Start to iOS Development
Quick Start to iOS DevelopmentJussi Pohjolainen
 
Pavlo Zhdanov "Java and Swift: How to Create Applications for Automotive Head...
Pavlo Zhdanov "Java and Swift: How to Create Applications for Automotive Head...Pavlo Zhdanov "Java and Swift: How to Create Applications for Automotive Head...
Pavlo Zhdanov "Java and Swift: How to Create Applications for Automotive Head...LogeekNightUkraine
 
iOS Development (Part 3) - Additional GUI Components
iOS Development (Part 3) - Additional GUI ComponentsiOS Development (Part 3) - Additional GUI Components
iOS Development (Part 3) - Additional GUI ComponentsAsim Rais Siddiqui
 
Building a Native Camera Access Library - Part IV - Transcript.pdf
Building a Native Camera Access Library - Part IV - Transcript.pdfBuilding a Native Camera Access Library - Part IV - Transcript.pdf
Building a Native Camera Access Library - Part IV - Transcript.pdfShaiAlmog1
 
[KJ-CODE] UIDynamics
[KJ-CODE] UIDynamics[KJ-CODE] UIDynamics
[KJ-CODE] UIDynamics상훈 지
 
How NOT to Suck at App Distribution - Quick Start Guide - Appsocially's Growt...
How NOT to Suck at App Distribution - Quick Start Guide - Appsocially's Growt...How NOT to Suck at App Distribution - Quick Start Guide - Appsocially's Growt...
How NOT to Suck at App Distribution - Quick Start Guide - Appsocially's Growt...Yusuke Takahashi, PhD
 
The Glass Class - Tutorial 4 - GDK-Live Cards
The Glass Class - Tutorial 4 - GDK-Live CardsThe Glass Class - Tutorial 4 - GDK-Live Cards
The Glass Class - Tutorial 4 - GDK-Live CardsGun Lee
 
MobileConf 2015: Desmistificando o Phonegap (Cordova)
MobileConf 2015: Desmistificando o Phonegap (Cordova)MobileConf 2015: Desmistificando o Phonegap (Cordova)
MobileConf 2015: Desmistificando o Phonegap (Cordova)Loiane Groner
 
Desenvolvimento iOS - Aula 4
Desenvolvimento iOS - Aula 4Desenvolvimento iOS - Aula 4
Desenvolvimento iOS - Aula 4Saulo Arruda
 
How we integrate & deploy Mobile Apps with Travis CI
How we integrate & deploy Mobile Apps with Travis CIHow we integrate & deploy Mobile Apps with Travis CI
How we integrate & deploy Mobile Apps with Travis CIMarcio Klepacz
 

Ähnlich wie PhotoFlipCardView (20)

Leaving Interface Builder Behind
Leaving Interface Builder BehindLeaving Interface Builder Behind
Leaving Interface Builder Behind
 
iOSインタラクションデザイン
iOSインタラクションデザインiOSインタラクションデザイン
iOSインタラクションデザイン
 
Skinning Android for Embedded Applications
Skinning Android for Embedded ApplicationsSkinning Android for Embedded Applications
Skinning Android for Embedded Applications
 
Practicing AppDevKit in kata training
Practicing AppDevKit in kata trainingPracticing AppDevKit in kata training
Practicing AppDevKit in kata training
 
Session 15 - Working with Image, Scroll, Collection, Picker, and Web View
Session 15  - Working with Image, Scroll, Collection, Picker, and Web ViewSession 15  - Working with Image, Scroll, Collection, Picker, and Web View
Session 15 - Working with Image, Scroll, Collection, Picker, and Web View
 
Quick Start to iOS Development
Quick Start to iOS DevelopmentQuick Start to iOS Development
Quick Start to iOS Development
 
Pavlo Zhdanov "Java and Swift: How to Create Applications for Automotive Head...
Pavlo Zhdanov "Java and Swift: How to Create Applications for Automotive Head...Pavlo Zhdanov "Java and Swift: How to Create Applications for Automotive Head...
Pavlo Zhdanov "Java and Swift: How to Create Applications for Automotive Head...
 
iOS Development (Part 3) - Additional GUI Components
iOS Development (Part 3) - Additional GUI ComponentsiOS Development (Part 3) - Additional GUI Components
iOS Development (Part 3) - Additional GUI Components
 
Building a Native Camera Access Library - Part IV - Transcript.pdf
Building a Native Camera Access Library - Part IV - Transcript.pdfBuilding a Native Camera Access Library - Part IV - Transcript.pdf
Building a Native Camera Access Library - Part IV - Transcript.pdf
 
Advanced iOS
Advanced iOSAdvanced iOS
Advanced iOS
 
[KJ-CODE] UIDynamics
[KJ-CODE] UIDynamics[KJ-CODE] UIDynamics
[KJ-CODE] UIDynamics
 
04 objective-c session 4
04  objective-c session 404  objective-c session 4
04 objective-c session 4
 
How NOT to Suck at App Distribution - Quick Start Guide - Appsocially's Growt...
How NOT to Suck at App Distribution - Quick Start Guide - Appsocially's Growt...How NOT to Suck at App Distribution - Quick Start Guide - Appsocially's Growt...
How NOT to Suck at App Distribution - Quick Start Guide - Appsocially's Growt...
 
The Glass Class - Tutorial 4 - GDK-Live Cards
The Glass Class - Tutorial 4 - GDK-Live CardsThe Glass Class - Tutorial 4 - GDK-Live Cards
The Glass Class - Tutorial 4 - GDK-Live Cards
 
Icreate
IcreateIcreate
Icreate
 
Android Oreo
Android OreoAndroid Oreo
Android Oreo
 
MobileConf 2015: Desmistificando o Phonegap (Cordova)
MobileConf 2015: Desmistificando o Phonegap (Cordova)MobileConf 2015: Desmistificando o Phonegap (Cordova)
MobileConf 2015: Desmistificando o Phonegap (Cordova)
 
Desenvolvimento iOS - Aula 4
Desenvolvimento iOS - Aula 4Desenvolvimento iOS - Aula 4
Desenvolvimento iOS - Aula 4
 
Integrating Google AdMob
Integrating Google AdMobIntegrating Google AdMob
Integrating Google AdMob
 
How we integrate & deploy Mobile Apps with Travis CI
How we integrate & deploy Mobile Apps with Travis CIHow we integrate & deploy Mobile Apps with Travis CI
How we integrate & deploy Mobile Apps with Travis CI
 

PhotoFlipCardView

  • 1. iPhone SDK PhotoFlipCardView NSZombie + Instruments 3G
  • 2. iPhone SDK 24/7 twenty-four seven http://d.hatena.ne.jp/KishikawaKatsumi/
  • 3. iPhone SDK • touch •Subway Map •LDR touch •MyWebClip • • •LCD Clock •
  • 4. iPhone SDK http://github.com/kishikawakatsumi •hatena-touch •DescriptionBuilder •ldr-touch •TiledLayerView •tv-listings •UICCalendarPicker •MapKit-Route-Directions
  • 5. iPhone SDK PhotoFlipCardView NSZombie + Instruments 3G
  • 6. iPhone SDK PhotoFlipCardView http://dl.dropbox.com/u/285673/PhotoFlipCardView.zip
  • 7. iPhone SDK PhotoFlipCardView • .app http://dl.dropbox.com/u/285673/PhotoFlipCardView.zip
  • 9. iPhone SDK Thumbnail -> Full [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:0.5]; [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:thumbView cache:YES]; thumbView.frame = fullView.frame; [thumbView addSubview:fullView]; [fullView release]; [UIView commitAnimations];
  • 10. iPhone SDK setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:thumbView cache:YES thumbVIew fullVIew setFrame:fullView.frame addSubView:fullView
  • 11. iPhone SDK Full -> Thumbnail [UIView beginAnimations:nil context:thumbView]; [UIView setAnimationDuration:0.5]; [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:thumbView cache:YES]; [UIView setAnimationDelegate:self]; [UIView setAnimationDidStopSelector: @selector(flipAnimationFinished:finished:context:)]; thumbView.frame = thumbFrame; [photoFlipCardImageView removeFromSuperview]; [UIView commitAnimations];
  • 12. iPhone SDK UIScrollView window or self.view (??, ??, 75.0, 75.0)
  • 13. iPhone SDK - (CGRect)convertRect:(CGRect)rect toView:(UIView *)view UIImageView *thumbView = [[UIImageView alloc] initWithImage:button.currentImage]; thumbFrame = [self convertRect:button.frame toView:nil]; thumbView.frame = thumbFrame; thumbView.userInteractionEnabled = YES; [keyWindow addSubview:thumbView]; [thumbView release];
  • 15. iPhone SDK PhotoFlipCardImageView *fullView = [[PhotoFlipCardImageView alloc] initWithFrame:self.window.frame]; fullView.delegate = self; fullView.contentMode = UIViewContentModeScaleAspectFit; fullView.image = fullImage; [fullImage release]; [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:0.5]; [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:thumbView cache:YES]; thumbView.frame = fullView.frame; [thumbView addSubview:fullView]; [fullView release]; [UIView commitAnimations];
  • 16. iPhone SDK NSZombie + Instruments http://www.markj.net/iphone-memory-debug-nszombie/
  • 18. iPhone SDK [Session started at 2010-03-06 11:17:02 +0900.] 2010-03-06 11:17:06.478 ZombieDebug[30909:207] *** -[CFNumber respondsToSelector:]: message sent to deallocated instance 0x393e2a0

Hinweis der Redaktion