首页 > 移动平台
猫猫学iOS之UIButton一行代码重写图片和标题位置源代码分享
猫猫分享,必须精品原创文章,欢迎转载。转载请注明:翟乃玉的博客 地址:http://blog.csdn.net/u013357243效果图神马图片在上面title在下面的button之类的需求啊完全不需要考虑,直接来这个就可以了随意调 代码UIButton+NYImageLocation.h// // UIButton+NYImageLocation.h // ChangButton //...
分类:移动平台   时间:2016-03-02 13:23:43    收藏:0  评论:0  赞:0  阅读:200
猫猫学iOS之UIButton一行代码重写图片和标题位置
猫猫分享,必须精品原创文章,欢迎转载。转载请注明:翟乃玉的博客 地址:http://blog.csdn.net/u013357243先看效果:很简单,就是实现让image在title的上下左右边任意调用调用调用起来步骤更容易了,下载我写好的代码,把分类UIButton+NYImageLocation导入#import "UIButton+NYImageLocation.h"调用:这个方法只是设置...
分类:移动平台   时间:2016-03-02 13:23:33    收藏:0  评论:0  赞:0  阅读:153
IOS-加载动态图(gif)
1 // 2 // BowenView.h 3 // IOS_0302_下拉刷新 4 // 5 // Created by ma c on 16/3/2. 6 // Copyright © 2016年 博文科技. All rights reserved. 7 // 8 9 #import <UIKi
分类:移动平台   时间:2016-03-02 13:22:43    收藏:0  评论:0  赞:0  阅读:211
2、Android自己的下拉刷新SwipeRefreshLayout--样式2
<android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/swipe_container" android:lay
分类:移动平台   时间:2016-03-02 13:20:23    收藏:0  评论:0  赞:0  阅读:196
IOS--多线程基础
IOS--多线程基础
分类:移动平台   时间:2016-03-02 13:16:23    收藏:0  评论:0  赞:0  阅读:149
Android任务和返回栈完全解析,细数那些你所不知道的细节
出处:http://blog.csdn.net/guolin_blog/article/details/41087993 本篇文章主要内容来自于Android Doc,我翻译之后又做了些加工,英文好的朋友也可以直接去读原文。 http://developer.android.com/guide/co
分类:移动平台   时间:2016-03-02 13:12:43    收藏:0  评论:0  赞:0  阅读:140
1、Android自己的下拉刷新SwipeRefreshLayout
1 <android.support.v4.widget.SwipeRefreshLayout 2 xmlns:android="http://schemas.android.com/apk/res/android" 3 android:id="@+id/swipe_container" 4 and
分类:移动平台   时间:2016-03-02 13:11:33    收藏:0  评论:0  赞:0  阅读:162
升级iOSBeta版本
1、通过iOS设备访问,安装描述文件 https://beta.apple.com/sp/betaprogram/redemption?locale=zh#ios 2、【通用】-【设置】-【软件更新】
分类:移动平台   时间:2016-03-02 13:08:13    收藏:0  评论:0  赞:0  阅读:112
从Android Handler内部类到WeakReference的知识关联
Handler: 普通使用方法: Handler用于处理和从队列MessageQueue中得到Message。一般我们要重写Handler的handleMessage(Message msg){}方法来处理,例如以下代码: public class MainActivity extends Acti
分类:移动平台   时间:2016-03-02 13:06:23    收藏:0  评论:0  赞:0  阅读:148
raywenderlich-iOS设计模式Part 1/2【译】
原文地址:http://www.raywenderlich.com/86477/introducing-ios-design-patterns-in-swift-part-1 Update 04/22/2015: Updated for Xcode 6.3 and Swift 1.2. Update
分类:移动平台   时间:2016-03-02 13:02:43    收藏:0  评论:0  赞:0  阅读:207
Android平板电脑开发— — —碎片
碎片是一种可以嵌入在活动中的UI片段,它能让程序更加合理与充分地使用大屏幕的空间,碎片通常都是在平板电脑开发中才会使用 简单实例 左碎片布局 <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schem
分类:移动平台   时间:2016-03-02 13:01:33    收藏:0  评论:0  赞:0  阅读:166
iOS 删除 Main.storyboard 和 LaunchScreen.storyboard
第一步: 右键选中Main.storyboard —- delete —— Move to Trash LaunchScreen同理 第二步 点击工程名,就是最顶级目录 右侧出现general选项卡 将Deployment info组内的Main Interface设为空 将App Icons an
分类:移动平台   时间:2016-03-02 13:01:13    收藏:0  评论:0  赞:0  阅读:227
Android应用程序中的多个Activity的显示创建和调用
布局文件: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma
分类:移动平台   时间:2016-03-02 12:57:43    收藏:0  评论:0  赞:0  阅读:217
android的Shader
public class Shader extends Object java.lang.Object ? android.graphics.Shader Known Direct Subclasses BitmapShader, ComposeShader, LinearGradient, Rad
分类:移动平台   时间:2016-03-02 12:52:23    收藏:0  评论:0  赞:0  阅读:150
iOS 谁说程序猿不懂浪漫之 爱心
近来无事,想想IT该怎样才能彰显浪漫情怀,不能口头上说说而已,最关键的是要有可视化的东西展示出来才行~ 废话不多说,直接上Demo HeartView.h 1 // 2 // HeartView.h 3 // DrawHeart 4 // 5 // Created by WQL on 16/3/1.
分类:移动平台   时间:2016-03-02 12:51:53    收藏:0  评论:0  赞:0  阅读:150
Android CountDownTimer的使用
官方提供的用法如下: new CountDownTimer(30000, 1000) { public void onTick(long millisUntilFinished) { mTextField.setText("seconds remaining: " + millisUntilFini
分类:移动平台   时间:2016-03-02 12:50:23    收藏:0  评论:0  赞:0  阅读:308
常用移动web开发框架--转载
阅读目录 1.1 jQuery mobile flat-ui 主题 1.2jQuery mobile Bootstrap 主题 4.1 GMU 4.2 Clouda+ 4.3 efe 5.1 Spirit 5.2 Frozen UI 纯粹的总结一下移动web开发框架,移动web开发框架有jQuery
分类:移动平台   时间:2016-03-02 12:50:13    收藏:0  评论:0  赞:0  阅读:260
Android开发:Eclipse中SqliteManager插件使用
通常开发Android的时候要使用到数据库操作,会遇到下面小问题: 数据库文件在哪?怎样訪问或操作? 能够通过:打开DDMS->File Explorer看到的sqlite数据库在eclipse,然后在文件夹/data/data/package_name/databases下找到。可是我们仅仅能看到
分类:移动平台   时间:2016-03-02 12:48:55    收藏:0  评论:0  赞:0  阅读:278
iOS自带地图纠偏问题
…………纠偏 篇………….. 1. 涉及接口:<CoreLocation/CoreLocation.h> 2. 核心代码解读: if ([CLLocationManager locationServicesEnabled]) { [self.locationManager setDelegate:s
分类:移动平台   时间:2016-03-02 12:47:13    收藏:0  评论:0  赞:0  阅读:160
jmeter压测app
使用代理的方式,录制app端脚本,之后用jmeter压测就没啥好说的了 1.电脑端谷歌设置本地代理(端口号为8888) 2.jmeter设置HTTP代理服务器(端口号为8888) 3.手机端wifi设置HTTP手动代理(服务器为电脑的IP,端口号为8888) 4.jmeter启动代理 5.手机端登陆
分类:移动平台   时间:2016-03-02 12:44:13    收藏:0  评论:0  赞:0  阅读:251
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!