资源简介
一个简易的计算器,实现基本的计算器功能。新手作品,有bug请告知我
代码片段和文件信息
//
// AppDelegate.m
// MyCalculator
//
// Created by 吴伟强 on 14-1-5.
// Copyright (c) 2014年 wuweiqiang. All rights reserved.
//
#import “AppDelegate.h“
#import “MainViewController.h“
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithframe:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.window.backgroundColor = [UIColor whiteColor];
UIViewController *mainViewController = [[MainViewController alloc] init];
self.window.rootViewController = mainViewController;
[self.window makeKeyAndVisible];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application
{
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks disable timers and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application
{
// Use this method to release shared resources save user data invalidate timers and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application
{
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application
{
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application
{
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-01-05 21:12 MyCalculator\
文件 6148 2014-01-05 21:12 MyCalculator\.DS_Store
目录 0 2014-01-05 21:12 __MACOSX\
目录 0 2014-01-05 21:12 __MACOSX\MyCalculator\
文件 120 2014-01-05 21:12 __MACOSX\MyCalculator\._.DS_Store
目录 0 2014-01-05 21:12 MyCalculator\MyCalculator\
文件 6148 2014-01-05 21:12 MyCalculator\MyCalculator\.DS_Store
目录 0 2014-01-05 21:12 __MACOSX\MyCalculator\MyCalculator\
文件 120 2014-01-05 21:12 __MACOSX\MyCalculator\MyCalculator\._.DS_Store
文件 281 2014-01-05 13:22 MyCalculator\MyCalculator\AppDelegate.h
文件 171 2014-01-05 13:22 __MACOSX\MyCalculator\MyCalculator\._AppDelegate.h
文件 2351 2014-01-05 13:27 MyCalculator\MyCalculator\AppDelegate.m
文件 171 2014-01-05 13:27 __MACOSX\MyCalculator\MyCalculator\._AppDelegate.m
目录 0 2014-01-05 13:22 MyCalculator\MyCalculator\en.lproj\
文件 45 2014-01-05 13:22 MyCalculator\MyCalculator\en.lproj\InfoPlist.strings
目录 0 2014-01-05 21:12 __MACOSX\MyCalculator\MyCalculator\en.lproj\
文件 171 2014-01-05 13:22 __MACOSX\MyCalculator\MyCalculator\en.lproj\._InfoPlist.strings
目录 0 2014-01-05 13:22 MyCalculator\MyCalculator\Images.xcassets\
目录 0 2014-01-05 13:22 MyCalculator\MyCalculator\Images.xcassets\AppIcon.appiconset\
文件 333 2014-01-05 13:22 MyCalculator\MyCalculator\Images.xcassets\AppIcon.appiconset\Contents.json
目录 0 2014-01-05 21:12 __MACOSX\MyCalculator\MyCalculator\Images.xcassets\
目录 0 2014-01-05 21:12 __MACOSX\MyCalculator\MyCalculator\Images.xcassets\AppIcon.appiconset\
文件 171 2014-01-05 13:22 __MACOSX\MyCalculator\MyCalculator\Images.xcassets\AppIcon.appiconset\._Contents.json
目录 0 2014-01-05 13:22 MyCalculator\MyCalculator\Images.xcassets\LaunchImage.launchimage\
文件 442 2014-01-05 13:22 MyCalculator\MyCalculator\Images.xcassets\LaunchImage.launchimage\Contents.json
目录 0 2014-01-05 21:12 __MACOSX\MyCalculator\MyCalculator\Images.xcassets\LaunchImage.launchimage\
文件 171 2014-01-05 13:22 __MACOSX\MyCalculator\MyCalculator\Images.xcassets\LaunchImage.launchimage\._Contents.json
文件 341 2014-01-05 13:22 MyCalculator\MyCalculator\main.m
文件 171 2014-01-05 13:22 __MACOSX\MyCalculator\MyCalculator\._main.m
文件 351 2014-01-05 15:20 MyCalculator\MyCalculator\MainViewController.h
文件 171 2014-01-05 15:20 __MACOSX\MyCalculator\MyCalculator\._MainViewController.h
............此处省略28个文件信息
- 上一篇:compare it 4.2 注册码。
- 下一篇:根据星历文件计算卫星精确坐标
评论
共有 条评论