资源简介
辛苦了几天,应公司要求搞了个类似知乎功能那种编辑器【功能文件: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
相关资源
- 仿知乎界面小程序源代码
- Access数据库在线编辑器
- vc 6.0开发的流程图编辑器
- 驼鸟简谱编辑器V1.0
- LSI RAID配置手册(图文)
- Ubuntu安装时磁盘分区图文教程
- 简单的行编辑器
- 我写的一个简单的属性编辑器控件
- 图文手把手教你一步步用VC 2010编写通
- 图文手把手教你一步步用VC 2010编写通
- vue+elmentui+ueditor +KityFormula数学公式 编
- 代码项目“生成”微博、知乎、
- 在eclipse中使用SVN的实现方法(图文教
- 易语言报表编辑器源码易语言电脑装
- 好用winhex16进制编辑器
- FCKeditor_2.5
- 基于Ogre的场景编辑器OgreSE源代码+
- [原创]FC专用地图编辑器(发布V2.8 )
- 征途tbl编辑器
- 台湾高人图文解说S参数基础篇
- BMP位图文件解析
- Kafka技术内幕:图文详解Kafka源码设计
- Kafka技术内幕:图文详解Kafka源码设计
- 各种型号的 接插件 封装库3D封装文件
- 哥德尔、艾舍尔、巴赫——集异璧之
- 公式编辑器
- 秀丸hidemaru
- BUG缺陷项目管理系统Redmine的搭建部署
- OMNET 图文详细中文教程
- .net百度编辑器UEditor)上传图片跟上次
评论
共有 条评论