资源简介
用OC storyboard写的计算器,基本功能已实现,有兴趣的可以下载来看看。

代码片段和文件信息
//
// AppDelegate.m
// Caculator
//
// Created by Danny on 2018/2/11.
// Copyright © 2018年 Danny. All rights reserved.
//
#import “AppDelegate.h“
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
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 invalidate graphics rendering callbacks. 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 active 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:.
// Saves changes in the application‘s managed object context before the application terminates.
[self saveContext];
}
#pragma mark - Core Data stack
@synthesize persistentContainer = _persistentContainer;
- (NSPersistentContainer *)persistentContainer {
// The persistent container for the application. This implementation creates and returns a container having loaded the store for the application to it.
@synchronized (self) {
if (_persistentContainer == nil) {
_persistentContainer = [[NSPersistentContainer alloc] initWithName:@“Caculator“];
[_persistentContainer loadPersistentStoresWithCompletionHandler:^(NSPersistentStoreDescription *storeDescription NSError *error) {
if (error != nil) {
// Replace this implementation with code to handle the error appropriately.
// abort() causes the application to generate a crash log and terminate. You should not use th
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-02-11 21:48 Caculator\
目录 0 2018-02-11 21:47 Caculator\CaculatorTests\
文件 901 2018-02-11 21:47 Caculator\CaculatorTests\CaculatorTests.m
目录 0 2018-03-11 13:32 __MACOSX\
目录 0 2018-03-11 13:32 __MACOSX\Caculator\
目录 0 2018-03-11 13:32 __MACOSX\Caculator\CaculatorTests\
文件 227 2018-02-11 21:47 __MACOSX\Caculator\CaculatorTests\._CaculatorTests.m
文件 701 2018-02-11 21:47 Caculator\CaculatorTests\Info.plist
目录 0 2018-02-11 21:47 Caculator\CaculatorUITests\
文件 1210 2018-02-11 21:47 Caculator\CaculatorUITests\CaculatorUITests.m
目录 0 2018-03-11 13:32 __MACOSX\Caculator\CaculatorUITests\
文件 227 2018-02-11 21:47 __MACOSX\Caculator\CaculatorUITests\._CaculatorUITests.m
文件 701 2018-02-11 21:47 Caculator\CaculatorUITests\Info.plist
文件 176 2018-02-11 21:47 __MACOSX\Caculator\CaculatorUITests\._Info.plist
目录 0 2018-02-19 23:30 Caculator\Caculator.xcodeproj\
文件 22921 2018-02-19 23:30 Caculator\Caculator.xcodeproj\project.pbxproj
目录 0 2018-02-11 21:48 Caculator\Caculator.xcodeproj\xcuserdata\
目录 0 2018-02-19 16:20 Caculator\Caculator.xcodeproj\xcuserdata\lin.xcuserdatad\
目录 0 2018-03-11 13:28 Caculator\Caculator.xcodeproj\xcuserdata\lin.xcuserdatad\xcdebugger\
文件 778 2018-03-11 13:28 Caculator\Caculator.xcodeproj\xcuserdata\lin.xcuserdatad\xcdebugger\Breakpoints_v2.xcbkptlist
目录 0 2018-02-11 21:48 Caculator\Caculator.xcodeproj\xcuserdata\lin.xcuserdatad\xcschemes\
文件 332 2018-02-11 21:48 Caculator\Caculator.xcodeproj\xcuserdata\lin.xcuserdatad\xcschemes\xcschememanagement.plist
目录 0 2018-02-11 21:47 Caculator\Caculator.xcodeproj\project.xcworkspace\
文件 154 2018-02-11 21:47 Caculator\Caculator.xcodeproj\project.xcworkspace\contents.xcworkspacedata
目录 0 2018-02-11 21:47 Caculator\Caculator.xcodeproj\project.xcworkspace\xcuserdata\
目录 0 2018-03-11 13:32 Caculator\Caculator.xcodeproj\project.xcworkspace\xcuserdata\lin.xcuserdatad\
文件 39114 2018-03-11 13:32 Caculator\Caculator.xcodeproj\project.xcworkspace\xcuserdata\lin.xcuserdatad\UserInterfaceState.xcuserstate
目录 0 2018-03-11 13:32 __MACOSX\Caculator\Caculator.xcodeproj\
文件 176 2018-02-11 21:47 __MACOSX\Caculator\Caculator.xcodeproj\._project.xcworkspace
文件 176 2018-02-19 23:30 __MACOSX\Caculator\._Caculator.xcodeproj
目录 0 2018-02-19 23:24 Caculator\.git\
............此处省略131个文件信息
相关资源
- 电脑卡西欧计算器 fx-991CN X Emulator19中
- 卡西欧工程计算器模拟器Casio FX
- PIC 单片机定时器初值计算器
- 湍流k-e经验值计算器
- PIC单片机延时计算器
- MVC模式实现的计算器
- powerbuilder 计算器小程序
- 简单计算器的实现(数据结构)
- 简单计算器的实现(数据结构 修正版
- 基于51单片机的计算器(C51编写,有
- labview计算器实例.vi88218
- EGM2008重力模型计算器
- 基于AT89S52单片机简易计算器的设计
- 中兴电视盒ADB密码计算器
- 实验1.zip arduino跑马灯led灯实验,串口
- 汇率计算器
- 色坐标计算器
- 词法分析器 -计算器版
- 课程设计简易计算器设计
- proUSB注册计算器
- 金融计算器tvm、npv、现金流、简单计
- 基于算符优先分析表的计算器
- 安卓微积分计算器
- 计算器.zip
- 仿小米计算器
- 多功能矩阵计算器珍藏版
- QT实战项目五--计算器
- 一个PMV计算器。
- 席氏铁口断旺衰计算器v0.95安卓版.r
- 计算器小程序源代码连续运算
评论
共有 条评论