资源简介
辛苦了几天,应公司要求搞了个类似知乎功能那种编辑器【功能文件:PTEditor.m 和.h】,【就是可以插入图片,图片会单独现实在一行】。代码中插入的图片被缩小过(不缩小模拟器自带的图片看不出单独成行的效果)。有需要的亲们可以拿来参考下,
代码片段和文件信息
//
// AppDelegate.m
// TextViewTest
//
// Created by pzh on 15/8/24.
// Copyright (c) 2015年 pzh. 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 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 2015-08-24 17:45 TextViewTest\
文件 6148 2015-08-27 17:13 TextViewTest\.DS_Store
目录 0 2015-08-27 17:13 __MACOSX\
目录 0 2015-08-27 17:13 __MACOSX\TextViewTest\
文件 120 2015-08-27 17:13 __MACOSX\TextViewTest\._.DS_Store
目录 0 2015-08-27 17:13 TextViewTest\.git\
目录 0 2015-08-24 17:45 TextViewTest\.git\branches\
文件 15 2015-08-24 17:45 TextViewTest\.git\COMMIT_EDITMSG
目录 0 2015-08-27 17:13 __MACOSX\TextViewTest\.git\
文件 172 2015-08-24 17:45 __MACOSX\TextViewTest\.git\._COMMIT_EDITMSG
文件 137 2015-08-24 17:45 TextViewTest\.git\config
文件 172 2015-08-24 17:45 __MACOSX\TextViewTest\.git\._config
文件 73 2015-08-24 17:45 TextViewTest\.git\desc
文件 172 2015-08-24 17:45 __MACOSX\TextViewTest\.git\._desc
文件 23 2015-08-24 17:45 TextViewTest\.git\HEAD
文件 172 2015-08-24 17:45 __MACOSX\TextViewTest\.git\._HEAD
目录 0 2015-08-24 17:45 TextViewTest\.git\hooks\
文件 452 2015-08-24 17:45 TextViewTest\.git\hooks\applypatch-msg.sample
目录 0 2015-08-27 17:13 __MACOSX\TextViewTest\.git\hooks\
文件 172 2015-08-24 17:45 __MACOSX\TextViewTest\.git\hooks\._applypatch-msg.sample
文件 896 2015-08-24 17:45 TextViewTest\.git\hooks\commit-msg.sample
文件 172 2015-08-24 17:45 __MACOSX\TextViewTest\.git\hooks\._commit-msg.sample
文件 189 2015-08-24 17:45 TextViewTest\.git\hooks\post-update.sample
文件 172 2015-08-24 17:45 __MACOSX\TextViewTest\.git\hooks\._post-update.sample
文件 398 2015-08-24 17:45 TextViewTest\.git\hooks\pre-applypatch.sample
文件 172 2015-08-24 17:45 __MACOSX\TextViewTest\.git\hooks\._pre-applypatch.sample
文件 1642 2015-08-24 17:45 TextViewTest\.git\hooks\pre-commit.sample
文件 172 2015-08-24 17:45 __MACOSX\TextViewTest\.git\hooks\._pre-commit.sample
文件 1348 2015-08-24 17:45 TextViewTest\.git\hooks\pre-push.sample
文件 172 2015-08-24 17:45 __MACOSX\TextViewTest\.git\hooks\._pre-push.sample
文件 4951 2015-08-24 17:45 TextViewTest\.git\hooks\pre-reba
............此处省略196个文件信息
- 上一篇:船舶航向鲁棒神经网络控制
- 下一篇:uefi读写pci
相关资源
- Cdbstat.dll
- 图文并茂PTP教程
- 3PAR StoreServ remote copy原厂资料(详细图
- 简单的Shell编辑器Qt5
- Hex View(十六进制查看编辑器)
- dede织梦编辑器中插入mp4视频文件方法
- 数据结构 文本编辑器
- ECshop后台商品详细描述 文章内容FCK编
- 文本编辑器的汇编源代码
- 16进制dat数据转.bmp位图文件 源码
- 最好用的在线DIV+CSS编辑器
- saber逆变仿真原理图文件
- wince下的注册表编辑器ceregedit
- xc7k325的FPGA板cadence原理图文件
- Unity AB包编辑器工具
- Win8 32位 4G内存破解图文教程
- 绿色小巧的超大文本文件查看编辑器
- Bz1621.lzh
- EVC中直接加载位图文件
- asciimath数学公式编辑器
- OPC安装图文教程(很详细)
- 诚龙网维全自动PXE网刻工具图文教程
- 基于vue上传的图片,支持传多图文件
- Qt5主窗体:文本编辑器
- eWebEditor在线文本编辑器飞鱼修改版
-
Editor sc
ripting for n00bs Unity编辑器 - 降低论文查重,来自知乎大神转载
- 一个简易行文本编辑器的实现
- BIN文件修改,比较编辑器,亲测 好用
- 操作系统实验全部题目+完整代码:
评论
共有 条评论