• 大小: 48KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-05
  • 语言: 其他
  • 标签: 计算器  

资源简介

+-*/()等实现计算器,是个学习的好demo

资源截图

代码片段和文件信息

//
//  RootViewController.m
//  iCalculator
//
//  Created by admin on 12-9-18.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import “RootViewController.h“
#define MAX_TF_LEN  34

@interface RootViewController ()

@end

@implementation RootViewController
@synthesize btn_one;
@synthesize btn_two;
@synthesize btn_three;
@synthesize btn_four;
@synthesize btn_five;
@synthesize btn_six;
@synthesize btn_seven;
@synthesize btn_eight;
@synthesize btn_nine;
@synthesize btn_zero;
@synthesize btn_clear;
@synthesize btn_back;
@synthesize btn_plus;
@synthesize btn_minus;
@synthesize btn_divide;
@synthesize btn_multiply;
@synthesize tf_output;
@synthesize btn_left;
@synthesize btn_right;
@synthesize btn_equal;
@synthesize exp;
@synthesize simpleExp;
@synthesize result;
@synthesize

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-09-20 18:48  iCalculator\
     文件        6148  2012-09-20 18:48  iCalculator\.DS_Store
     目录           0  2012-09-20 18:48  __MACOSX\
     目录           0  2012-09-20 18:48  __MACOSX\iCalculator\
     文件          82  2012-09-20 18:48  __MACOSX\iCalculator\._.DS_Store
     文件       12498  2012-09-19 15:57  iCalculator\background.jpeg
     文件         924  2012-09-19 15:57  __MACOSX\iCalculator\._background.jpeg
     目录           0  2012-09-20 18:48  iCalculator\iCalculator\
     文件        6148  2012-09-20 18:48  iCalculator\iCalculator\.DS_Store
     目录           0  2012-09-20 18:48  __MACOSX\iCalculator\iCalculator\
     文件          82  2012-09-20 18:48  __MACOSX\iCalculator\iCalculator\._.DS_Store
     文件         315  2012-09-18 17:00  iCalculator\iCalculator\AppDelegate.h
     文件         171  2012-09-18 17:00  __MACOSX\iCalculator\iCalculator\._AppDelegate.h
     文件        2469  2012-09-18 17:01  iCalculator\iCalculator\AppDelegate.m
     文件         171  2012-09-18 17:01  __MACOSX\iCalculator\iCalculator\._AppDelegate.m
     目录           0  2012-09-18 16:42  iCalculator\iCalculator\en.lproj\
     文件          45  2012-09-18 16:42  iCalculator\iCalculator\en.lproj\InfoPlist.strings
     目录           0  2012-09-20 18:48  __MACOSX\iCalculator\iCalculator\en.lproj\
     文件         171  2012-09-18 16:42  __MACOSX\iCalculator\iCalculator\en.lproj\._InfoPlist.strings
     文件        1170  2012-09-18 16:42  iCalculator\iCalculator\iCalculator-Info.plist
     文件         325  2012-09-18 16:42  iCalculator\iCalculator\iCalculator-Prefix.pch
     文件         171  2012-09-18 16:42  __MACOSX\iCalculator\iCalculator\._iCalculator-Prefix.pch
     文件         343  2012-09-18 16:42  iCalculator\iCalculator\main.m
     文件         171  2012-09-18 16:42  __MACOSX\iCalculator\iCalculator\._main.m
     目录           0  2012-09-19 15:58  iCalculator\iCalculator.xcodeproj\
     文件       12406  2012-09-19 15:58  iCalculator\iCalculator.xcodeproj\project.pbxproj
     目录           0  2012-09-18 16:42  iCalculator\iCalculator.xcodeproj\project.xcworkspace\
     文件         156  2012-09-18 16:42  iCalculator\iCalculator.xcodeproj\project.xcworkspace\contents.xcworkspacedata
     目录           0  2012-09-18 16:42  iCalculator\iCalculator.xcodeproj\project.xcworkspace\xcuserdata\
     目录           0  2012-09-19 16:53  iCalculator\iCalculator.xcodeproj\project.xcworkspace\xcuserdata\admin.xcuserdatad\
     文件       19060  2012-09-19 16:53  iCalculator\iCalculator.xcodeproj\project.xcworkspace\xcuserdata\admin.xcuserdatad\UserInterfaceState.xcuserstate
............此处省略18个文件信息

评论

共有 条评论