`
374016526
  • 浏览: 99241 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
scrollView.showsVerticalScrollIndicator = FALSE; scrollView.showsHorizontalScrollIndicator = FALSE;
%@ Object %d, %i signed int %u unsigned int %f float/double %x, %X hexadecimal int %o octal int %zu size_t %p pointer %e float/double (in scientific notation) %g float/double (as %f or %e, depending on value) %s C string (bytes) %S C string (unichar) %.*s Pascal string (requires two arg ...

弹出动画

    // //  TestBedViewControler_006.m //  UIViewAnimationsTest // //  Created by mir on 11-4-1. //  Copyright 2011 __MyCompanyName__. All rights reserved. //   #import "TestBedViewControler_006.h" #import "UIView-ModalAnimationHelper.h"     @implementation TestBedVi ...

翻页动画

    // //  TestBedViewControler_005.m //  UIViewAnimationsTest // //  Created by mir on 11-4-1. //  Copyright 2011 __MyCompanyName__. All rights reserved. //   #import "TestBedViewControler_005.h"     @implementation TestBedViewControler_005   /*  // The designated initiali ...
    // //  TestBedViewControler_004.m //  UIViewAnimationsTest // //  Created by mir on 11-4-1. //  Copyright 2011 __MyCompanyName__. All rights reserved. //   #import "TestBedViewControler_004.h"     @implementation TestBedViewControler_004   /*  // The designated initiali ...

iPhone 翻转动画

    // //  TestBedViewControler_003.m //  UIViewAnimationsTest // //  Created by mir on 11-4-1. //  Copyright 2011 __MyCompanyName__. All rights reserved. //   #import "TestBedViewControler_003.h"     @implementation TestBedViewControler_003   /*  // The designated initiali ...
    // //  TestBedViewControl_002.m //  UIViewAnimationsTest // //  Created by mir on 11-4-1. //  Copyright 2011 __MyCompanyName__. All rights reserved. //   #import "TestBedViewControler_002.h"     @implementation TestBedViewControler_002   /*  // The designated initialize ...
    // //  TestBedController_001.m //  PDF_Reader // //  Created by mir on 11-4-15. //  Copyright 2011 __MyCompanyName__. All rights reserved. //   #import "TestBedController_001.h"     @implementation TestBedController_001   /*  // The designated initializer.  Override if ...
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. - (void)viewDidLoad {     [super viewDidLoad]; UITestView *testView=[[UITestView alloc] initWithFrame:self.view.bounds]; [self.view addSubview:testView]; [testView release]; //UIView *view = ...
在地图上显示自己当前所在的位置。   // //  UserLoactionTestViewController.m //  UserLoactionTest // //  Created by mir on 11-8-14. //  Copyright __MyCompanyName__ 2011. All rights reserved. //   #import "UserLoactionTestViewController.h"   @implementation UserLoactionTestViewController     ...
有时候当键盘弹出时会把输入框盖住,这时候我们就没法看到自己到底输入的是什么了,这时候我们就需要注册两个事件,那就是在键盘显示的时候 把输入框的位置放在可见的地方 ,当关闭键盘时,在将输入框还原,以下就是解决问题的具体方法,我们只要注册就可以了   // Call this method somewhere in your view controller setup code. - (void)registerForKeyboardNotifications { [[NSNotificationCenter defaultCenter] removeObserver:self  ...

iPhone闹钟

前段时间看了下iPhone的简单推送,发现可以做闹钟功能,于是便写了一个闹钟功能,有兴趣的朋友可以看看,
theMovie = [[MPMoviePlayerController alloc] init]; theMovie.view.backgroundColor = [UIColor blackColor]; theMovie.view.frame = [AppUIViewController getInstance].view.bounds; UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, theMovie.view.center.y - 25,    theMovi ...
1 ,用存文件的方式实现持久存储 2 ,NSUserDefault 简单数据存储 3 ,数据库存取     // //  TestBedViewController.m //  Core_DataTest // //  Created by mir on 11-3-31. //  Copyright 2011 __MyCompanyName__. All rights reserved. //   #import "TestBedViewController.h" #import "Department.h" #import ...
info.plist中   Icon already includes gloss effects  设置icon的高亮是否需要 icon file 图标 Bundle version 版本信息 Bundle display name 应用名称     //更新的 --------------------------------- CFBundleDisplayName 包的显示名称 应用程序包的显示名称。该名称可以使用InfoPliststring进行本地化。Xcode最初将该值设为用于创建Xcode项目的名称   CFBundleName 包名称 应用程序简短的显示名 ...
Global site tag (gtag.js) - Google Analytics