资源简介
用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个文件信息
相关资源
- 安卓高仿小米计算器源码,完美
- 8086计算器及Proteus电路图
-
ob
jective-c实现简单计算器 - ios简易计算器
- 测量两点距离与方位角计算器
- 超大整数计算器,理论上位数无限大
- 计算器代码web程序设计
- 嵌入式课程设计QT完美实现任意进制运
- IOS计算器源码
- 湍流k-ε经验值计算器
- 精确小数计算器含dll
- 用QT设计的一个计算器
- DLL版计算器 编程练习必备
- 矩形空心线圈 计算器 LC谐振 计算器
- 混合复数计算器
- SPWM计算器
- 简单四则运算计算器附带乘方运算
- MacOS计算器
-
macOS 下使用ob
jective-c编写的计算器 - 计算器9位数
- 单片机c51设计简易计算器数码管显示
- QT4编写的简单计算器
- 自己写的WINDOWS附件中的科学计算器,
- 基于8255a的计算器
- SPWM脉宽数计算器
- 单片机和LCD1602实现的简易计算器
- 多项式相乘一元稀疏多项式简单计算
- 三国杀武将张昌蒲技能计算器
- Ansoft场计算器
- xcode 简易计算器
评论
共有 条评论