Swift语言手机微博客户端的设计与实现_毕业论文

毕业论文移动版

毕业论文 > 计算机论文 >

Swift语言手机微博客户端的设计与实现

摘要近几年随着移动互联网行业的迅猛发展,无论是手机、平板或者是电脑,都对人们的生活产生了越来越深远的影响。2007年随着苹果手机的发布,触屏手机彻底改变了人们的生活习惯,可以说苹果公司重新发明了手机。而其中扮演着非常重要角色的iOS操作系统,则是这个改变的核心,伴随着苹果xcode开发工具的发布,越来越多的开发者使用这一工具开发出许多非常酷炫的运用。

新浪微博iOS手机App,也是这众多苹果App最具有代表性的产品,本次设计就是通过仿写新浪微博App,来系统的介绍iOS开发的基本流程,设计主要是使用iOS系统中的UIKit框架和Foundation框架。程序将会采用全新的MVVM模式来进行设计,也会加入其它的模式例如工厂模式、代理模式和委托模式,来降低各个模块的耦合度,呈现出高内聚低耦合的特点。程序中使用cocoapods管理工具来添加第三方库,数据的持久化操作,交由FMDB第三方框架来实现。FMDB实际上是对SQLITE数据库的一层封装,加入了面向对象的特点,操作简单,易学易用。76931

项目设计的最大创新点在于使用了苹果2014年才出的Swift语言来开发。Swift语言的优势在于简单、灵活。习惯了c++、JS开发的人,很容易上手,基本上以前在OC语言中用到的特性,在Swift语言中同样可以轻松的使用和驾驭。Swift可以完全调用OC的所有库,来进行应用的开发。同时苹果针对Swift语言加入了许多新的特性,开发苹果运用将变得更加方便和高效。这样设计的目的在于可以与时俱进,在后续苹果主推Swift开发的过程中,可以很方便的进行语言的转换。

毕业论文关键词:ios,squlite,设计模式,Swift

The Design And Implementation Of Mobile Phone Micro-blog Client Based On Swift Language

Abstract  In recent years, with the rapid development of the mobile Internet industry, whether it is mobile phone, tablet or computer, all of people's lives have been more and more far-reaching impact。 2007 with the release of Apple's mobile phone, touch screen phone completely changed people's habits, it can be said that the Apple Corp to re invent the phone。 Which play a very important role in the IOS operating system, is the core of this change, accompanied by the release of Apple's Xcode development tools, more and more developers use this tool is developed a lot of very cool use。

Sina Weibo IOS mobile app, is that many apple app is the most representative products, the design is through the imitation of the write Sina microblogging app, system introduced in IOS development process。 Design is mainly using IOS UIKit framework and foundation framework。 Program will be the new the MVVM pattern design, will also join the other modes such as factory model, agent model and entrustment pattern, to reduce the coupling of each module, showing the characteristics of high cohesion and low coupling。 Procedures in the use of cocoapods management tools to add third party library, data persistence operations, to achieve by the FMDB third party framework。 FMDB is actually a layer of the SQLITE database package, to join the characteristics of the object, the operation is simple, easy to learn and easy to use。

The biggest innovation of project design is to use the Swift language to develop the apple in 2014。 The advantage of Swift language is simple and flexible。 Accustomed to JS, c++ development of people, it is easy to get started, basically used in the OC language used in the Swift language, the same can be easy to use and control。 Swift can completely call all of the library OC, to carry out the development of the application。 At the same time, apple added a lot of new features for the Swift language, the development of Apple's use will become more convenient and efficient。 The purpose of this design is to keep pace with the times, in the process of the subsequent development of Apple's main push Swift, it can be very convenient to carry out the conversion of language。 (责任编辑:qin)