本文来源于我在InfoQ中文站翻译的文章,原文地址是:http://www.infoq.com/cn/news/2016/02/earlgrey-ios-functional-ui-test经过了一段时间的酝酿后,Google很高兴地宣布了EarlGrey,一款针对于iOS的功能性UI测试框架。诸如YouTube、Google Calendar、Google Photos、Google Trans...
分类:
移动开发 时间:
2016-02-19 10:50:05
阅读次数:
213
一、The {{link-to}} Helper1. 使用{{link-to}}创建一个指向route的链接:app/router.jsRouter.map(function() { this.route("photos", function(){ this.route("edit", { ...
分类:
其他好文 时间:
2016-01-23 12:56:31
阅读次数:
170
1 图片选择合成器1.1 问题IOS设备提供了内置照相机和Photos应用程序,Photos应用程序可以帮助用户管理自己拍摄的各式照片和视频。应用程序通过图像选取器UIImagePickerController使用照相机和照片库,从特定源中选择图片的一种机制,可以用于图片也可以用于捕捉视频。本案例使...
分类:
其他好文 时间:
2015-12-16 21:14:06
阅读次数:
278
效果图:使用方法:AutoScrollViewPager viewPager = (AutoScrollViewPager) findViewById(R.id.vp_photos);viewPager.setDataList(mUrlList);
viewPager.updateView(0);
viewPager.setIsAutoScroll(true);
viewPager.setIsSho...
分类:
其他好文 时间:
2015-12-08 07:14:10
阅读次数:
213
如何在App中实现朋友圈功能之二快速实现用户信息的自定义自我关联社交元素:anSocial中很多的社交元素API,如帖子(Post)、相册(Album)、文件(File)等,这些API的可选参数中允许传入其他社交元素的id。当我们传了这些id时,服务器数据库里保存的是id,但是在返回结果里,..
分类:
移动开发 时间:
2015-12-02 14:49:20
阅读次数:
144
curl-Fphotos=@/home/caochun/curl_test.jpg-H‘fingerprint:220012005A4D3E6B8C92FE11200011A8‘http://localhost:8000/http://blog.51yip.com/linux/1049.htmlhttp://wesdeboer.com/use-curl-to-upload-files-and-post-other-data/http://blog.51yip.com/linux/1049.htmlhttp:/..
分类:
Web程序 时间:
2015-11-11 06:34:54
阅读次数:
199
http://www.codingexplorer.com/add-sharing-to-your-app-via-uiactivityviewcontroller/April 4, 2014Ever wonder what various apps like Photos or Safari us...
分类:
移动开发 时间:
2015-11-02 15:24:44
阅读次数:
188
例:{"pics":"http:\/\/localhost:8080\/data\/photos\/moodsPic\/4.jpg"}想要"http://localhost:8080/data/photos/moodsPic/4.jpg这效果换种方式:转义后再返回http:\\/\\/localho...
分类:
Web程序 时间:
2015-10-27 01:41:57
阅读次数:
166
whenyouinstallgnome,thenyouwanttousesomeofthestate-of-the-artapplications,suchastheweather,music,photos,maps,installed,youcandothatbasedonthefollowingssteps:apt-cachesearchgnome-weather,youcanobtaintheinformationabouttheapplicationsudoapt-getinstallgnome-we..
分类:
其他好文 时间:
2015-10-26 19:02:19
阅读次数:
139
在iOS9中通过photos框架来获取本地图片资源时,是苹果现用的方法,而以前的ALAssetsLibrary框架是过时了,但由于现在iOS9才刚发布不久iOS8以及iOS7都存在一定量的比例,所以这个过时的框架,我们也要弄清楚,现巩固一下ALAssetsLibrary框架。1.什么是ALAsset...
分类:
移动开发 时间:
2015-10-20 19:22:14
阅读次数:
193