基于iOS移动端的“青柠日记”的设计与实现【软件工程毕业论文设计说明书开题翻译PPT代码】.zip
收藏
资源目录
压缩包内文档预览:
编号:22640632
类型:共享资源
大小:5.82MB
格式:ZIP
上传时间:2019-10-23
上传人:小***
认证信息
个人认证
林**(实名认证)
福建
IP属地:福建
50
积分
- 关 键 词:
-
软件工程毕业论文设计说明书开题翻译PPT代码
- 资源描述:
-
基于iOS移动端的“青柠日记”的设计与实现【软件工程毕业论文设计说明书开题翻译PPT代码】.zip,软件工程毕业论文设计说明书开题翻译PPT代码
- 内容简介:
-
说明:要求学生结合毕业设计(论文)课题参阅一篇以上的外文资料,并翻译至少一万印刷符(或译出3千汉字)以上的译文。译文原则上要求打印(如手写,一律用400字方格稿纸书写),连同学校提供的统一封面及英文原文装订,于毕业设计(论文)工作开始后2周内完成,作为成绩考核的一部分。2The Introductions of iOS 9 and Basic Knowledge of CoreData FrameworkAbstractiOS (originally iPhone OS) is a mobile operating system created and developed by Apple Inc. and distributed exclusively for Apple hardware. It is the operating system that presently powers many of the companys mobile devices, including the iPhone, iPad, and iPod touch. In October 2015, it was the most commonly used mobile operating system, in a few countries, such as in Canada, the United States but no longer in the North American continent as a whole, for smartphones the United Kingdom, Norway, Sweden, Denmark, Japan, and Australia, while iOS is far behind Googles Android globally; iOS had a 19.7% share of the smartphone mobile operating system units shipped in the fourth quarter of 2014, behind Android with 76.6%.However, on tablets, iOS is the most commonly used tablet operating system in the world,while it has lost majority in many countries (e.g. the Africa continent and briefly lost Asia).Core Data is a framework for iOS5, which provides the object relational mapping (ORM) function, that is, the OC object can be transformed into data, stored in the SQLite database file, it can also be saved in the database to restore the OC object. During this data operation, we do not need to write any SQL statements, this is a bit similar to the famous Hibernate persistence framework, but the function is certainly not Hibernate strong.Keywords: iPhone;iOS;smart phone;mobile platform;Core Data1. Mobile operating systemA mobile operating system (OS) is software that allows smartphones, tablet PCs and other devices to run applications and programs.A mobile OS typically starts up when a device powers on, presenting a screen with icons or tiles that present information and provide application access. Mobile operating systems also manage cellular and wireless network connectivity, as well as phone access.Examples of mobile device operating systems include Apple iOS, Google Android, Research in Motions BlackBerry OS, Nokias Symbian, Hewlett-Packards webOS (formerly Palm OS) and Microsofts Windows Phone OS. Some, such as Microsofts Windows 8, function as both a traditional desktop OS and a mobile operating system.Most mobile operating systems are tied to specific hardware, with little flexibility. Users can jailbreak or root some devices, however, which allows them to install another mobile OS or unlock restricted applications. 2. iOSIn 2005, when Steve Jobs began planning the iPhone, he had a choice to either shrink the Mac, which would be an epic feat of engineering, or enlarge the iPod. Jobs favored the former approach but pitted the Macintosh and iPod teams, led by Scott Forstall and Tony Fadell, respectively, against each other in an internal competition, with Forstall winning by creating the iPhone OS. The decision enabled the success of the iPhone as a platform for third-party developers: using a well-known desktop operating system as its basis allowed the many third-party Mac developers to write software for the iPhone with minimal retraining.Forstall was also responsible for creating a software developers kit for programmers to build iPhone apps, as well as an App Store within iTunes.The operating system was unveiled with the iPhone at the Macworld Conference & Expo, January 9, 2007, and released in June of that year.At first, Apple marketing literature did not specify a separate name for the operating system, stating simply what Steve Jobs claimed: iPhone runs OS X and runs desktop applicationswhen in fact it runs a variant of Mac OS X, that doesnt run OS X software unless it has been ported to the incompatible operating system. Initially, third-party applications were not supported. Steve Jobs reasoning was that developers could build web applications that would behave like native apps on the iPhoneOn October 17, 2007, Apple announced that a native Software Development Kit (SDK) was under development and that they planned to put it in developers hands in February.On March 6, 2008, Apple released the first beta, along with a new name for the operating system: iPhone OS.iOS 9 is the ninth release of the iOS mobile operating system designed by Apple Inc which is the successor to iOS 8. It was announced at the companys Worldwide Developers Conference 2015 on June 8, 2015, and was released on September 16, 2015. iOS 9 focuses less on new features and more on under-the-hood optimizations, as well as battery improvements. On September 21, 2015, Apple announced that iOS 9 had been installed on more than 50% of active iOS devices, making it the fastest adoption rate for a new operating system and significantly faster than that of its predecessor. As of December 14, 2015, iOS 9 has been installed on 71% of compatible Apple devices.3.Core Data3.1 What Is Core Data?Core Data is a framework that enables you to work with your data as objects, regardless of how theyre persisted to disk. This is useful to you as an Objective-C programmer, because you should be comfortable using objects in code already. To provide data objects, known as managed objects , Core Data sits between your application and a persistent store , which is the generic term given to a data file such as an SQLite database, XML file (which cant be used as a persistent store on iOS), or Binary (atomic) store. These files are called “persistent” because they can survive the underlying hardware being reset. Another (oddly named) persistent store option is the In-Memory store. Although it isnt really “persistent,” an In-Memory store allows you to leverage all the functional benefits of Core Data to manage your data, such as change manage-ment and validation, not to mention performance.To map data to a persistent store from managed objects, Core Data uses a managed object model , where you configure your applications data structure using an object graph . You can think of an object graph as a collection of cookie cutters used to make managed objects from.The “object” in object graph refers to something called an entity , which is used as a cookie cutter to make a customized managed object. Once you have managed objects, youre then free to manipulate them natively in Objective-C, without having to write any SQL code (assuming youre using SQLite as the persistent store, which is the most common scenario). Core Data will transparently map those objects back to a persistent store when you save to disk.A managed object holds a copy of data from a persistent store. If you use a database as a persistent store, then a managed object might represent data from a table row in that data-base. If you use an XML file as a persistent store (Mac only), then a managed object would represent data found within certain data elements. A managed object can be an instance of NSManagedObject ; however, its usually an instance of a subclass of NSManagedObject . This is discussed in detail in Chapter 2 , “Managed Object Model Basics.” All managed objects exist in a managed object context . A managed object context exists in high-speed volatile memory, also known as RAM. One reason a managed object context is required is the overhead involved with transferring data to and from disk. Disk is much slower than RAM, so you dont want to use it more than necessary. Having a managed object context allows access to data that has been previously retrieved from disk to be very fast. The downside,however, is that you need to call save: on the managed object context eriodically to write changes back to disk. The managed object context exists also to track changes to its objects in order to provide full undo and redo support.3.2When to Use Core DataOnce your application outgrows trivial “settings” storage, such as NSUserDefaults and prop-erty lists, youre going to run into memory usage issues. The solution is to use a database either directly or instead indirectly with Core Data. If you choose Core Data, youll save time other-wise spent coding a database interface. Youll also enjoy big performance gains, as well as some functional benefits such as undo and validation. The time you would have spent developing,testing, and generally speaking “reinventing the wheel,” youll free up to focus on more impor-tant areas of your application.Now you might be thinking, “I just want to save lots of stuff to disk, so why does it have tobe so complicated?” Well, its not that difficult once a few key points are understood. Sure,you could write your own database interfaces and they would probably work great for a while.What happens, though, when your requirements change or you want to add, say, data synchro-nization between devices? How are your skills at building multithreaded data-import routines that dont impact the user interface? Would your code also support undo and validation yet still be fast and memory efficient on an old iPhone?The good news for you is that all the hard work has already been done and is wrapped up in the tried and tested Core Data Framework. Even if your applications data requirements are minimal, its still worth using Core Data to ensure your application is as scalable as possible without compromising performance.Once you start using Core Data, youll appreciate how robust and optimized it really is. The millions of people worldwide using Core Data applications every day has led to a mature feature set with performance to match. In short, youll save more time learning Core Data than throwing it in the too-hard basket and writing your own database interfaces. Youll also benefit from loads of additional functionality for free.3.3.Core Data Table ViewsAs previously mentioned, if you werent using Core Data, you might populate a table view using an NSArray as the data source. A key problem with this approach, which you may have experienced first hand, is that performance can suffer when the array is too big and consumes too much memory. Up until now, youve performed Core Data fetches using an NSFetchRequest , which produces an NSArray . Although you could use this array directly to populate a table view, there is a better way. To populate a table view, youll still fetchwith an NSFetchRequest ; however, this time youll configure additional options such as setFetchBatchSize to stagger the fetch. This small option can have a huge impact on the memory footprint and consequently improve overall performance. The batch size you set should be a bit larger than the number of rows visible on the screen at any one time.The best way to efficiently manage fetched data between Core Data and a table view is with an NSFetchedResultsController . If you were to otherwise use the array returned by a fetch request directly without a fetched results controller, theres a chance that when the underlying data changes, the objects in the array could become invalid. This could lead to a crash.Setting a table view as a delegate of a fetched results controller enables change tracking, which will help update the table view automatically when fetched objects change in the underly-ing context. The performance of a fetched results controllerbacked table view can also be increased by setting a cache, which is as easy as specifying a unique name for the cache. Using a cache will minimize unnecessary repeated fetches. As well as the performance and change-tracking benefits, a fetched results controller has a number of convenient properties that make it trivial to wire up a Core Data table view.iOS系统以及CoreData数据库框架介绍摘要iOS(原iPhone OS)是苹果公司(Apple inc .)所研发的一款移动操作系统。主要安装在苹果专门为其的所开发硬件上给用户使用。目前,iOS操作系统广泛用于许多苹果公司的移动移动设备,包括iPhone、iPad和iPod touch。在一些国家,如加拿大、美国,在整个北美大陆,英国、挪威、瑞典、丹麦、日本 和澳大利亚,是最常用的手机操作系统。但是就全球范围内来说的话,iOS是远远落后于谷歌的安卓系统。另外根据在2014年第四季的移动操作系统份额,iOS大约只有19.7%的占有率,但是谷歌的Android系统惊人的达到了76.6%占有率。尽管如此,iOS在平板电脑上的占有率遥遥领先,已经成为世界上最常用的平板电脑操作系统。Core Data提供了对象-关系映射(ORM)的功能。CoreData是iOS5之后才出现的一个新的数据库框架,它即能够将OC对象转化成数据,保存在本地的sql文件中。除此之外,CoreData也能够将保存在数据库中的数据实例化,然后还原成OC对象。在此数据操作期间,我们不需要编写任何SQL语句,这个有点类似于著名的Hibernate持久化框架,不过功能肯定是没有Hibernate强大的。关键词: iPhone;iOS;智能手机;移动平台;Core Data1 移动操作系统移动操作系统(OS)是一款操作软件,可以让智能手机,平板电脑和其他设备来运行应用程序和程序。 一款移动操作系统通常启动时,往往具有管理该设备的权限,往往一款移动操作系统会提供一个屏幕图标或像windows phone 8那样的瓷砖,通过这样的方式,用户可以得到一个应用程序访问入口,实现对程序的操作。此外,移动操作系统还管理蜂窝和无线网络连接,以及电话访问。移动设备操作系统的例子包括苹果iOS,谷歌Android,Research in Motion的黑莓OS,诺基亚的Symbian,惠普的WebOS(以前的Palm OS)和微软的Windows Phone操作系统。其中有一些操作系统,如微软的Windows 8,既充当传统的桌面操作系统和移动操作系统。目前市场上绝大多数的移动操作系统都依赖于特定的硬件。操作系统权限灵活性很低,用户可以越狱或root一些设备,这样可以使得他们能够安装其他移动操作系统或解锁受限制的应用程序。2 iOS在2007年1月9日的Macworld大会中,苹果首次推出了iOS操作系统,并于同年6月29日发布了iOS的第一个版本。目前的iOS版本已经更新到了iOS 9。iOS可以通过iTunes对设备进行升级,iOS 5.0及以上版本亦可以通过OTA的方式进行软件更新。iOS必须要与设备通过苹果服务器进行验证,验证方式可以通过iTunes,iOS 5.0及以上版本可以通过iCloud服务验证,并且自动同步。最新版本的iOS大约占用约800MB左右的储存空间。WWDC 2013中苹果发布了iOS 7,彻底改变了原来iOS6之前拟物化的用户界面,并加入近200项新功能。WWDC 2014中苹果发布了iOS 8。最初,苹果公司并没有给随iPhone发布的iOS一个独立的名称,直到2008年才取名为iPhone OS,并于2010年6月改名为iOS。iOS 9是苹果公司的第九个iOS移动操作系统版本,在2015年6月8日在旧金山的WWDC 2015上公布,并已在2015年9月16日推出,包括很多系统优化和iOS 8功能的改进。iOS 9是第一个支持所有能运行前代系统的设备的主要iOS版本。3.Core Data3.1什么是Core Data?Core Data是一个框架,使您可以与您的数据作为对象,不管它们是如何坚持磁盘。这对你是有用的作为一个Objective-C程序员,因为你应该是舒适的使用对象的代码已经。提供的数据对象,称为管理对象,Core Data坐在您的应用程序和持久性存储之间,这给数据文件如SQLite数据库的通用术语,XML文件(不可作为在iOS持久存储),或二进制(原子)店。这些文件被称为“持久性”,因为他们可以生存的底层硬件被重置。另一个(奇怪的名字)持久性存储选项是在内存中存储。虽然它不是真正的“持久性”,在内存中存储允许您利用所有的Core Data管理您的数据,如变更管理和验证的所有功能利益,更不提性能。要将数据映射到托管对象的持久存储,Core Data使用托管对象模型,在这里,使用对象图配置应用程序的数据结构。你可以把一个对象图想象为一个用来制作被管理对象的集合。对象图中的“对象”是指被称为一个实体的东西,它被用作一个饼干切割机来制作一个定制的管理对象。一旦你的管理对象,您可以自由操纵它们本身在Objective-C中,而无需编写任何SQL代码(假设你使用SQLite作为持久存储,这是最常见的情况)。当您保存到磁盘时,Core Data将透明地映射到一个持久化存储的对象。托管对象从持久存储库中保存数据的副本。如果你使用一个数据库作为持久存储,然后一个管理对象可能代表在数据库表格中的一行数据。如果你使用一个XML文件作为持久存储(MAC),那么一个托管对象将代表在某些数据元素中发现的数据。一个管理对象可以是NSManagedObject实例;然而,它通常是一个类的实例的NSM
- 温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

人人文库网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。