随笔分类 -  Iphone/IOS/Flutter

Iphone 手机开发
摘要:一。android 环境搭建,hello world 1.sdk(java development kit) 1.7+, 安装及环境变量配置 javac https://www.oracle.com/java/technologies/downloads/#jdk18-windows 2 andro 阅读全文
posted @ 2022-04-10 16:17 大树2 阅读(37) 评论(0) 推荐(0) 编辑
摘要:qbw.plist <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 阅读全文
posted @ 2018-10-09 09:23 大树2 阅读(168) 评论(0) 推荐(0) 编辑
摘要:app 调用接口 /// <summary> /// 是否跳转到活动注册成功页面 /// </summary> /// <returns></returns> [HttpGet] public JsonResult IsActivityRegisterSuccess() { string resul 阅读全文
posted @ 2018-07-19 20:04 大树2 阅读(1289) 评论(0) 推荐(0) 编辑
摘要:js api 实现钉钉免登,用于从钉钉微应用跳转到企业内部的oa,erp等,我刚刚实施完了我公司的这个功能,钉钉用起来还不错。 1 js api 实现钉钉免登,页面配置。 <title>利用jsapi实现免登</title> <script type="text/javascript" src="h 阅读全文
posted @ 2016-03-18 17:05 大树2 阅读(7689) 评论(1) 推荐(1) 编辑
摘要:一、JSON数据格式1)概念:json是一种网络数据传输格式,有值/对象:{“A”:1,”B”:”2”…}词典;对象的序列:[,,,,,]数组两种数据类型2)URLWithString 将字符串网址封装成NSURL对象 例如:一、XML数据格式介绍1)概念:xml是extensible markup... 阅读全文
posted @ 2015-07-27 15:43 大树2 阅读(455) 评论(0) 推荐(0) 编辑
摘要:一、iOS沙盒机制介绍 (转载)1)概念:每个ios应用都有自己的应用沙盒,应用沙盒就是文件系统目录,与其他应用放入文件 系统隔离,ios系统不允许访问 其他应用的应用沙盒,但在ios8中已经开放访问(extension)2)extension是ios8新开放的一种对几个固定系统区域的拓展机制,它可... 阅读全文
posted @ 2015-07-27 14:20 大树2 阅读(526) 评论(0) 推荐(0) 编辑
摘要:Objective -c Content1、面向对象(OOP)和面向过程、类(Class)和对象(Object)、类的定义2、创建对象、self和super关键字、属性以及点语法(nonatomic,assign、retain、copy、readonly、readwrite)3、便利构造器、单例(Singleton)4、堆栈、内存管理(alloc、copy、retain,release、autorelease、strong、weak)5、键值编码(KVC)、键值监听(KVO)、通知中心(NSNotificationCenter)、通知(NSNotification)6、类目(Category) 阅读全文
posted @ 2012-08-28 10:32 大树2 阅读(968) 评论(0) 推荐(0) 编辑
摘要:NSObject UIResponder UIView UIWindow UILabel UIPickerView UIProgressView UIImageView UITabBar UIToolBar UINavigateBar UITableViewCell UIActionSheet UIAlertV... 阅读全文
posted @ 2012-08-22 15:32 大树2 阅读(1132) 评论(0) 推荐(0) 编辑
摘要:1 UIView UIWindow UILable UIProcessVIEW UITabar2 UIViewController UITableViewController UINavigateViewController三个结构体:CGPoint、CGSize、CGRect1. CGPointC代码 /*Points.*/ structCGPoint{ CGFloatx; CGFloaty; }; typedefstructCGPointCGPoint;看到这个想必你已经懂了,不再解释。2. CGSizeC代码 /*... 阅读全文
posted @ 2012-08-22 13:34 大树2 阅读(4200) 评论(0) 推荐(1) 编辑
摘要:1 iphone background ipad,iphone,ipod touch2 history: 2007.6 iphone sale in us 2008.6, iphone 3 2010.6 iphone 4 2010.1 ipad3 appstore over 300,000 programs download 10 billion times "angry bird"4 iPhone development environment hard ware: mac book or desktop iphone/ipad/ipod ... 阅读全文
posted @ 2012-08-22 13:13 大树2 阅读(481) 评论(0) 推荐(0) 编辑
摘要:1AppDelegate.h#import <UIKit/UIKit.h>@class ViewController;@interface AppDelegate : UIResponder <UIApplicationDelegate>@property (strong, nonatomic) UIWindow *window;@property (strong, nonatomic) ViewController *viewController;@property (strong,nonatomic) UINavigationController *navigati 阅读全文
posted @ 2012-08-21 16:02 大树2 阅读(1708) 评论(1) 推荐(2) 编辑
摘要:1 appdelegate.h 定义属性:window,navigationViewController@interface AppDelegate : UIResponder <UIApplicationDelegate>@property (strong, nonatomic) UIWindow *window;@property (strong, nonatomic) UINavigationController *navigationViewController;@end2 appdelegate.m对属性初始化,窗口初始化@implementation AppDelega 阅读全文
posted @ 2012-08-16 23:01 大树2 阅读(1541) 评论(0) 推荐(0) 编辑
摘要:1 appdelegate.m#import"AppDelegate.h"#import"FirstViewController.h"#import"SecondViewController.h"#import"ThridViewController.h"{ self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; // Override point for customization a 阅读全文
posted @ 2012-08-16 18:01 大树2 阅读(967) 评论(0) 推荐(0) 编辑
摘要:UIViewController use1 appdelegate.m - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; // Override point for customization after application launc.. 阅读全文
posted @ 2012-08-16 17:11 大树2 阅读(379) 评论(0) 推荐(0) 编辑
摘要:frame: 该view在父view坐标系统中的位置和大小。(参照点是,父亲的坐标系统) bounds:该view在本地坐标系统中的位置和大小。(参照点是,本地坐标系统) center:该view的中心点在父view坐标系统中的位置和大小。(参照电是,父亲的坐标系统)搞iOS开发的童鞋基本都会用过UIView,那他的bounds和frame两个属性也不会陌生,那这两个有什么实质性的区别呢?先看到下面的代码你肯定就明白了一些:-(CGRect)frame{return CGRectMake(self.frame.origin.x,self.frame.origin.y,self.fr... 阅读全文
posted @ 2012-08-02 17:25 大树2 阅读(3574) 评论(0) 推荐(0) 编辑
摘要:因为上周末把MAC BOOK PRO OS 10.7.4 升级到 OS 10.8,刚好有空,也把XCODE 也升级到了最新的XCODE4.4;升级方法;1>app store search XCODE4.4 ;2>download xcode4.4;3>setup4>OK 阅读全文
posted @ 2012-07-30 22:58 大树2 阅读(633) 评论(0) 推荐(0) 编辑
摘要:周未刚把MAC BOOK PRO OS X 从10.7升级到10.8,10.8共有4.38G,我的MAC BOOK PRO是参加APPLE DE UPDATE-TO-DATE 计划升级的,听网上说10.8有200多项发进。升级buzu:1>打开APPLE UPDATE-TO-DATE 计划升级网页,填写产品序列号等信息,提交;2》收到APPLE两个密码邮件,一个是用来打开别一个邮件里的PDF文件的,PDF文件里的密码就是升级MAC OS 要用到的密码;3》在APPLET APP STORE 里登录,点兑换,输入PDF里的密码;4》点MAC OS 10.8 下载升级,4.38G,下载完了; 阅读全文
posted @ 2012-07-30 22:47 大树2 阅读(6610) 评论(4) 推荐(0) 编辑
摘要:在iOS中可以直接调用 某个对象的消息 方式有2中 一种是performSelector:withObject: 再一种就是NSInvocation 第一种方式比较简单,能完成简单的调用。但是对于>2个的参数或者有返回值的处理,那就需要做些额外工作才能搞定。那么在这种情况下,我们就可以使用NSInvocation来进... 阅读全文
posted @ 2012-07-25 15:43 大树2 阅读(2913) 评论(0) 推荐(4) 编辑
摘要:如果你刚开始接触 iOS 或 Mac OS X 编程,首先要学习一点编程语言 Objective-C 入门知识。Objective-C 并不是一门复杂的语言,经过一段时间的接触,你就能体会到它的优雅。Objective-C 语言实现了严格的面向对象编程。它扩展了标准 ANSI C 语言,增加了定义类和方法的语法。它还推行类和接口的动态扩展性,使任何类都能适配和采用。如果你已经掌握了 ANSI C 语言,下面的内容能够帮助你掌握 Objective-C 的基本语法。如果你有其他面向对象编程语言的基础,你会发现 Objective-C 中含有大量传统的面向对象概念,例如封装、继承、多态性等。反过来 阅读全文
posted @ 2012-07-25 14:41 大树2 阅读(3354) 评论(1) 推荐(1) 编辑
摘要:类型、描述和词汇:id– 动态对象类型。动态类型和静态类型对象的否定词汇为nil。Class– 动态类的类型。它的否定词汇为Nil。SEL– 选择器的数据类型(typedef);这种数据类型代表运行时的一种签名方法。它的否定词汇为NULL。BOOL– 布尔型。代表它的值的词汇为YES和NO。 阅读全文
posted @ 2012-07-25 14:34 大树2 阅读(1153) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示