Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
CakePHP in iPhone Application


        Akihiro Matsuura@syuhari
About Me
•
• Blog : Sun Limited Mt.
        http://www.syuhari.jp/blog/

• Twitter : @syuhari
Questionnaire
iPhone Application




 Web Application   Native Application
CakePHP in iPhone App
Ranking System by CakePHP
•
•
•            Today, Week, Total)

•        Pagination)
- (id)initWithFrame:(CGRect)frame {

    if (self = [super initWithFrame:frame]) {

    
       webView = [[UIWebView allo...
Make it!
Twitter

  @syuhari
     or
#cakematsuri
CakePHP in iPhone App
Upcoming SlideShare
Loading in …5
×

CakePHP in iPhone App

3,276 views

Published on

Published in: Technology
  • Be the first to comment

CakePHP in iPhone App

  1. 1. CakePHP in iPhone Application Akihiro Matsuura@syuhari
  2. 2. About Me • • Blog : Sun Limited Mt. http://www.syuhari.jp/blog/ • Twitter : @syuhari
  3. 3. Questionnaire
  4. 4. iPhone Application Web Application Native Application
  5. 5. CakePHP in iPhone App
  6. 6. Ranking System by CakePHP • • • Today, Week, Total) • Pagination)
  7. 7. - (id)initWithFrame:(CGRect)frame { if (self = [super initWithFrame:frame]) { webView = [[UIWebView alloc] initWithFrame:CGRectZero]; webView.opaque = NO; webView.alpha = 0.8f; webView.backgroundColor = [UIColor clearColor]; [self addSubview:webView]; } return self; } - (void)setFrame:(CGRect)rect { [super setFrame:CGRectMake(0, 0, rect.size.width, 320)]; self.center = CGPointMake(480/2, 320/2); } - (void)layoutSubviews { CGFloat buttonTop; for (UIView *view in self.subviews) { if ([[[view class] description] isEqualToString:@"UIThreePartButton"]) { view.frame = CGRectMake(view.frame.origin.x, self.bounds.size.height - view.frame.size.height - 15, view.frame.size.width, view.frame.size.height); buttonTop = view.frame.origin.y; } } buttonTop -= 7; buttonTop -= 100; webView.frame = CGRectMake(12, 35, self.frame.size.width - 53, 220); NSString* path=[[NSBundle mainBundle] pathForResource:@"default" ofType:@"html"]; NSURL* url=[NSURL fileURLWithPath:path]; [webView loadRequest:[NSURLRequest requestWithURL:url]]; [webView loadRequest: [NSURLRequest requestWithURL:[NSURL URLWithString: [NSString stringWithFormat:RANKING_URL, GAME_ID]]]]; }
  8. 8. Make it!
  9. 9. Twitter @syuhari or #cakematsuri

×