首页 文章 精选 留言 我的

精选列表

搜索[ios],共10000篇文章
优秀的个人博客,低调大师

ios17--自定义控件2改进

控制器: // // XMGViewController.h #import <UIKit/UIKit.h> @interface XMGViewController : UIViewController@end // // XMGViewController.m #import "XMGViewController.h" #import "XMGShop.h" #import "XMGShopView.h" @interface XMGViewController () @property (weak, nonatomic) IBOutlet UIView *shopCarView; @property (weak, nonatomic) IBOutlet UIButton *addButton; @property (weak, nonatomic) IBOutlet UIButton *removeButton; @property (nonatomic, strong) NSArray *dataArr; @end @implementation XMGViewController /** * 懒加载 */ - (NSArray *)dataArr{ if (_dataArr == nil) { // 加载数据 // 1.获取全路径 NSString *dataPath = [[NSBundle mainBundle] pathForResource:@"shopData.plist" ofType:nil]; self.dataArr = [NSArray arrayWithContentsOfFile:dataPath]; // 字典转模型 // 创建临时数组 NSMutableArray *tempArray = [NSMutableArray array]; for (NSDictionary *dict in _dataArr) { // 创建shop对象 XMGShop *shop = [XMGShop shopWithDict:dict]; // 把模型装入数组 [tempArray addObject:shop]; } self.dataArr = tempArray; } return _dataArr; } // 初始化数据 - (void)viewDidLoad { [super viewDidLoad]; } /** * 添加到购物车 * * @param button 按钮 */ - (IBAction)add:(UIButton *)button { /***********************1.定义一些常量*****************************/ // 1.总列数 NSInteger allCols = 3; // 2.商品的宽度 和 高度 CGFloat width = 80; CGFloat height = 100; // 3.求出水平间距 和 垂直间距 CGFloat hMargin = (self.shopCarView.frame.size.width - allCols * width) / (allCols -1); CGFloat vMargin = (self.shopCarView.frame.size.height - 2 * height) / 1; // 4. 设置索引 NSInteger index = self.shopCarView.subviews.count; // 5.求出x值 CGFloat x = (hMargin + width) * (index % allCols); CGFloat y = (vMargin + height) * (index / allCols); /***********************2.创建一个商品*****************************/ /* 原来的分开创建: // 1.创建商品的view UIView *shopView = [[UIView alloc] init]; // 2.设置frame shopView.frame = CGRectMake(x, y, width, height); // 3.设置背景颜色 shopView.backgroundColor = [UIColor greenColor]; // 4.添加到购物车 [self.shopCarView addSubview:shopView]; // 5.创建商品的UIImageView对象 UIImageView *iconView = [[UIImageView alloc] init]; iconView.frame = CGRectMake(0, 0, width, width); iconView.backgroundColor = [UIColor blueColor]; [shopView addSubview:iconView]; // 6.创建商品标题对象 UILabel *titleLabel = [[UILabel alloc] init]; titleLabel.frame = CGRectMake(0, width, width, height - width); titleLabel.backgroundColor = [UIColor yellowColor]; titleLabel.textAlignment = NSTextAlignmentCenter; // 居中 [shopView addSubview:titleLabel]; */ XMGShopView *shopView = [[XMGShopView alloc] init]; shopView.frame = CGRectMake(x, y, width, height); [self.shopCarView addSubview:shopView]; // shopView.titleLabel = nil; /***********************3.设置数据*****************************/ // 设置数据 XMGShop *shop = self.dataArr[index]; /* shopView.iconView.image = [UIImage imageNamed:shop.icon]; shopView.titleLabel.text = shop.name; */ [shopView setIcon:shop.icon]; [shopView setName:shop.name]; /***********************4.设置按钮的状态*****************************/ button.enabled = (index != 5); // 5.设置删除按钮的状态 self.removeButton.enabled = YES; } /** * 从购物车中删除 * * @param button 按钮 */ - (IBAction)remove:(UIButton *)button { // 1. 删除最后一个商品 UIView *lastShopView = [self.shopCarView.subviews lastObject]; [lastShopView removeFromSuperview]; // 3. 设置添加按钮的状态 self.addButton.enabled = YES; // 4. 设置删除按钮的状态 self.removeButton.enabled = (self.shopCarView.subviews.count != 0); } @end 自定义控件: // // XMGShopView.h #import <UIKit/UIKit.h> @interface XMGShopView : UIView // readonly 只会调用get方法 /** 图片控件 */ //@property (nonatomic, weak, readonly) UIImageView *iconView;// [self addSubview:iconView];已经有强指针引用了,这里用weak /** 标题控件 */ //@property (nonatomic, weak, readonly) UILabel *titleLabel; // 提供接口方法 - (void)setIcon: (NSString *)icon; - (void)setName: (NSString *)name; @end // // XMGShopView.m #import "XMGShopView.h" @interface XMGShopView () //扩展属性 @property (nonatomic, strong) UIImageView *iconView;//[self addSubview:iconView];有强指针指向了,用weak @property (nonatomic, strong) UILabel *titleLabel; @end @implementation XMGShopView /** * 初始化子控件(不要设置frame) * */ - (instancetype)init{ if (self = [super init]) { // 1.创建商品的UIImageView对象 UIImageView *iconView = [[UIImageView alloc] init]; iconView.backgroundColor = [UIColor blueColor]; [self addSubview:iconView]; _iconView = iconView; // 2.创建商品标题对象 UILabel *titleLabel = [[UILabel alloc] init]; titleLabel.backgroundColor = [UIColor yellowColor]; titleLabel.textAlignment = NSTextAlignmentCenter; // 居中 [self addSubview:titleLabel]; _titleLabel = titleLabel; } return self; } /** * 布局子控件(可以拿到frame) */ - (void)layoutSubviews{ // 0.一定要调用super [super layoutSubviews]; // 1.获取当前控件的尺寸 CGFloat width = self.frame.size.width; CGFloat height = self.frame.size.height; // 2.设置子控件的frame self.iconView.frame = CGRectMake(0, 0, width, width); self.titleLabel.frame = CGRectMake(0, width, width, height - width); } - (void)setIcon:(NSString *)icon{ // 设置数据 self.iconView.image = [UIImage imageNamed:icon]; } - (void)setName:(NSString *)name{ // 设置数据 self.titleLabel.text = name; } @end bean: // // XMGShop.h #import <Foundation/Foundation.h> @interface XMGShop : NSObject /** 图片的名称 */ @property (nonatomic, copy) NSString *icon; /** 商品的名称 */ @property (nonatomic, copy) NSString *name; // 提供构造方法 /* - (instancetype)initWithIcon: (NSString *)icon name: (NSString *)name; + (instancetype)shopWithIcon: (NSString *)icon name: (NSString *)name; */ - (instancetype)initWithDict:(NSDictionary *)dict; + (instancetype)shopWithDict:(NSDictionary *)dict; @end // // XMGShop.m #import "XMGShop.h" @implementation XMGShop /* - (instancetype)initWithIcon:(NSString *)icon name:(NSString *)name{ if (self = [super init]) { self.icon = icon; self.name = name; } return self; } + (instancetype)shopWithIcon:(NSString *)icon name:(NSString *)name{ return [[self alloc] initWithIcon:icon name:name]; } */ - (instancetype)initWithDict:(NSDictionary *)dict{ if (self = [super init]) { self.icon = dict[@"icon"]; self.name = dict[@"name"]; } return self; } + (instancetype)shopWithDict:(NSDictionary *)dict{ return [[self alloc] initWithDict:dict]; } @end 本文转自农夫山泉别墅博客园博客,原文链接:http://www.cnblogs.com/yaowen/p/7466778.html,如需转载请自行联系原作者

优秀的个人博客,低调大师

手把手教你制作.a静态库(iOS开发)

知识普及: 什么是库? 库是程序代码的集合,是共享程序代码的一种方式 根据源代码的公开情况,库可以分为 2 种类型 开源库 公开源代码,能看到具体实现 比如 SDWebImage 、 AFNetworking 闭源库 不公开源代码,是经过编译后的二进制文件,看不到具体实现 主要分为:静态库、动态库 静态库和动态库 静态库和动态库的存在形式 静态库: .a 和 .framework 动态库: .dylib 和 .framework 静态库和动态库在使用上的区别 静态库:链接时,静态库会被完整地复制到可执行文件中, 被多次使用就有多份冗余拷贝 (左图所示) 动态库:链接时不复制,程序运行时由系统动态加载到内存,供程序调用,系统只加载一次,多个程序共用,节省内存 (右图所示) 需要注意的是:项目中如果使用了自制的动态库,不能被上传到 AppStore! 制作 .a 1、新建项目-> 选择 “Cocoa Touch Static Library” 2、添加库需要包含的源代码,将你工程里的代码添加到打静态库工程里: 3、配置一下工程: 4、选择需要暴露出来的 .h 文件, .m 文件会自动编译到 .a 文件中: 需要暴漏出的文件类在这里设置: 引入的网络框架设置:(有些会自动引入,有些需要手动引入,根据编译报错,可以检查。) 5、编译前检查一下是debug模式还是release模式,选择release模式: 分debug和release模式: Debug-iphoneos 文件夹里面的东西是用在真机上的 Debug-iphonesimulator 文件夹里面的东西是用在模拟器上的 如果 Scheme 是 Release 模式,生成的文件夹就以 Release 开头 6、选择真机设备,然后 Command+B 编译, libSPCustomerServerse.a 文件从红色变为黑色 (注意建议先选择真机,这样才会变色,如果先选择模拟器,那么编译通过了,但是不会由红变黑,实际上是已经编译了模拟器的,只是给人一种假象,好像没编译一样,还是红色的) 7、选择模拟器,建议选择iPhone6以上的(选择高级点的,低级的也可用,若选了低级的,高级的有可能就不适配了)然后依然 Command+B 编译,模拟器和真机环境下用的 .a 文件是分开的。 8、合并模拟器(release-iphonesimulator)和真机(release-iphoneos)下的.a,以便支持真机和模拟器,合并后的.a大小大约是不合并的2倍左右。 show in finder 合并步骤: 举例:1、新建文件夹:"dabao"; 2、将上述的release-iphonesimulator和release-iphoneos两个文件拷贝进"dabao"文件夹。 3、打开终端,执行以下操作: 一、在终端输入:lipo -create 二、将release-iphonesimulator下的.a拖进终端,输入一个空格; 三、继续将release-iphoneos 下.a 拖进终端,输入空格; 四、继续输入:-output ,打个空格; 五、输入合并后的.a所要放的文件路径(这里举例依然放在“dabao”这个文件夹下,则我的电脑的路径为:/Users/ntalker-zhou/Desktop/dabao/libSPCustomerServerseSDK.a),回车,在相应的文件下即可生成一个.a,该.a即是合并后的.a 4、检查合并后的.a是不是满足所有要求,依然在终端进行以下操作: 一、在终端输入:lipo -info ; 二、将合并后的.a拖进终端 ,回车; (注意:终端每一步记得要用空格隔开,否则会出错哦!) 这样.a 就成功制作出了,只需要将暴漏的头文件以及制作的.a放入工程,别人就可以使用你的程序了,再也不用担心源码暴漏或别人随意修改你的代码了,不过如果有图片资源,图片资源是不能打进.a的,需要在外面添加的哦。 (有时候为了编译通过,根据需要,需要设置一下工程配置比如我需要配置xml等… 文/哇哇卡(简书作者) 原文链接:http://www.jianshu.com/p/a1dc024a8a15# 著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。 本文转自ljianbing51CTO博客,原文链接:http://blog.51cto.com/ljianbing/1887229 ,如需转载请自行联系原作者

优秀的个人博客,低调大师

iOS 5解决Could not instantiate class named NSLayoutConstraint问题

这篇文章讲述很清楚 https://devcenter.heroku.com/articles/quickstart 只需要四步: 1.注册Sign upfor a Heroku account。 2.下载安装Heroku Toolbelt,其包含了git客户端(如果是windows的话,其他版本不清楚,例如Mac本身就有git了)。 3.登录 $ heroku login Enter your Heroku credentials. Email: adam@example.com Password: Could not find an existing public key. Would you like to generate one? [Yn] Generating new SSH public key. Uploading ssh public key /Users/adam/.ssh/id_rsa.pub4. 4.部署程序 这是通过git来完成的。 本文转自Jake Lin博客园博客,原文链接:http://www.cnblogs.com/procoder/archive/2013/01/11/heroku-quick-start.html,如需转载请自行联系原作者

优秀的个人博客,低调大师

在iOS设备上保存用户数据

在设备上保存用户数据 应用程序在保存数据到程序的Bundle,这在模拟器上是可以的,但是在真机上就不行了。 这是因为设备和模拟器的不同的权限导致的。模拟器拥有完全的读写权限,设备就没有了。 iPhone Application Programming Guide 中包含了相关的描述。 程序的目录下有一个偏好设置的目录<Application_Home>/Library/Preferences 但是你不能直接创建文件,应该使用NSUserDefaults或者CFPreferences来设置。 同时你可以保存应用程序数据到<Application_Home>/Documents 目录下。 这两个地方存储的数据在车功能需升级的时候后可以保留。 本文转自 arthurchen 51CTO博客,原文链接:http://blog.51cto.com/arthurchen/801311,如需转载请自行联系原作者

优秀的个人博客,低调大师

iOS开发:Objective-C数据类型转换

按照数据类型占用存储不同可以自动类型转换或强制类型转换,总的原则是小存储容量数据类型可以自动转换成为大存储容量数据类型。 不同类型数据间按照下面关系的从左到右(从低到高)自动转换, _Bool 、 char 、 short int 、枚举类型 -> int ->long int->long long-> float -> double -> long double 。 如果这些数据类型进行混合运算,运算中不同类型的数据先转化为同一类型,然后进行运算,转换从左到右自动转换,如表 2-3 所示。 表 2-3 类型转换先后顺序表 如果有下面的表示式,其中, f 是 float 类型, i 为 int 类型, l 为 long int 类型, s 为 short int 类型,结果是什么类型? f * i + l /s 运行结果为 float 类型,这是因为 f 是 float 其它的操作数与 float 运算其结果就是 float 类型。 如果遵守类型转换是右到左情况,就需要强制类型转换 了,强制类型转换语法形式上很简单,就是在数据前面加上(目标类型),但是这种转换是存在风险的,有可能造成数据的丢失,需要谨慎进行。例如: long int l = 6666666666; NSLog(@"l = %li",l); int i = (int)l; NSLog(@"i = %i",i); 运行的结果是,其中 6666666666 数值已经超出了 int 类型的容量,因此出现了数据的丢失。 l = 6666666666 i = -1923267926 强制转换有的时候嵌入在其它的表达式里面,它会与运行的优先级交织在一起,情况就会变的更加复杂,假设有下面的几条语句: int total = 3446; int n = 6; float average = total / n; 运行完成 float 的变量 average 结果是 574 ,小数点内容被截取掉了,如果我们采用下面的语句实现: int total = 3446; int n = 6; float average = (float)total / n; 运行完成 float 的变量 average 结果是 574.333 ,这个数据要比上面计算的精确,这是因为 (float)total 先把 int 类型的 total 变量转换成为 float 类型的 total 变量。 本文转自 wws5201985 51CTO博客,原文链接:http://blog.51cto.com/wws5201985/818591,如需转载请自行联系原作者

优秀的个人博客,低调大师

iOS:用Block写一个链式编程

一、介绍 链式编程是一个比较新颖的编程方式,简单直观,用起来也比较舒服。目前比较有名的Mansory和BabyBlueTooth就是使用链式编程写的第三方框架。 二、写法 链式编程写法不同于传统方式,初次写起来比较别扭,但是一旦习惯了,用起来比较得心应手。那么,如何写呢?其实就是一个对象调用它的实例方法后返回一个block(已经定义过),而这个block内部又返回该对象。依此类推,该对象不论调用多少个它的实例方法,最终都会返回该对象本身。 三、实例 LearnManager类定义和实现 // // LearnManager.h // ChainProgramming // // Created by 夏远全 on 2017/9/30. // Copyright © 2017年 夏远全. All rights reserved. #import <Foundation/Foundation.h> /** 定义block,返回值类型是LearnManager对象 */ @class LearnManager; typedef LearnManager *(^LearnChineseBlock)(NSString *chineseName); typedef LearnManager *(^LearnEnglishBlock)(NSString *englishName); typedef LearnManager *(^LearnFranchBlock) (NSString *franchName); @interface LearnManager : NSObject /** 定义对象方法 @return 返回值是定义过的block */ -(LearnChineseBlock)learnChinese; -(LearnEnglishBlock)learnEnglish; -(LearnFranchBlock)learnFranch; @end // // LearnManager.m // ChainProgramming // Created by 夏远全 on 2017/9/30. // Copyright © 2017年 夏远全. All rights reserved. #import "LearnManager.h" @implementation LearnManager -(LearnChineseBlock)learnChinese{ //外部返回一个block return ^LearnManager *(NSString *chineseName){ NSLog(@"%@", [NSString stringWithFormat:@"学习%@!",chineseName]); //内部block返回一个LearnManager对象 return self; }; } -(LearnEnglishBlock)learnEnglish{ //外部返回一个block return ^LearnManager *(NSString *englishName){ NSLog(@"%@", [NSString stringWithFormat:@"学习%@!",englishName]); //内部block返回一个LearnManager对象 return self; }; } -(LearnFranchBlock)learnFranch{ //外部返回一个block return ^LearnManager *(NSString *franchName){ NSLog(@"%@", [NSString stringWithFormat:@"学习%@!",franchName]); //内部block返回一个LearnManager对象 return self; }; } @end ViewController类导入并调用 // // ViewController.m // ChainProgramming // // Created by 夏远全 on 2017/9/30. // Copyright © 2017年 夏远全. All rights reserved. // #import "ViewController.h" #import "LearnManager.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; LearnManager *learn = [[LearnManager alloc] init];//learn对象首先调用方法返回一个block,然后给block传入字符串参数并调用,于是又返回了该对象learn本身 learn.learnChinese(@"语文").learnEnglish(@"英语").learnFranch(@"法语"); } @end 四、打印 2017-09-30 18:41:10.288 ChainProgramming[92884:3768713] 学习语文! 2017-09-30 18:41:10.288 ChainProgramming[92884:3768713] 学习英语! 2017-09-30 18:41:10.289 ChainProgramming[92884:3768713] 学习法语! 程序猿神奇的手,每时每刻,这双手都在改变着世界的交互方式! 本文转自当天真遇到现实博客园博客,原文链接:http://www.cnblogs.com/XYQ-208910/p/7615925.html ,如需转载请自行联系原作者

优秀的个人博客,低调大师

iOS:XCode 4.2开始Objective-C支持ARC

从 XCode 4.2 开始 Objective-C 支持 ARC,对于广大 iPone 开发者来说是巨大的福音,不用面对满屏 [obj release] 和 [pool drain] 这类丑陋不堪的代码了,更重要的是不用整天为对象释放问题搞得寝食难安。但对于许多从 C++ 转到 ObjC 的开发者来说,其实更喜欢 Obj-C++ 混编。Cocoa 负责界面展现,C++ 负责业务逻辑实现,组合起来十分完美。 问题是 Obj-C++ 能否完美支持 ARC 呢,特别是把 ObjcC 对象放入 STL 容器的情形下能否正常工作? 恭喜大家,答案是肯定的! 测试代码一: #import <vector> #import <list> using namespace std; class Y { public: int value; public: Y(int val = 0) : value(val) { NSLog(@"Y.Y (%d)", value); } ~Y() { NSLog(@"Y.~Y (%d)", value); } }; @interface T : NSObject { @private int value; Y* y; } - (id) initWithValue:(int)v; @end @implementation T - (id) init { return [self initWithValue:0]; } - (id) initWithValue:(int)v { self = [super init]; self->value = v; self->y = new Y(v); NSLog(@"T.init (%d)", self->value); return self; } - (void)dealloc { delete self->y; NSLog(@"T.dealloc (%d)", self->value); } @end class X { public: int value; T* t; public: X(int val = 0) : value(val) { NSLog(@"X.X (%d)", value); } ~X() { NSLog(@"X.~X (%d)", value); } }; int main(int argc, char *argv[]) { @autoreleasepool { T* t = [[T alloc] initWithValue:1]; { vector<T*> vt; vt.push_back(t); t = nil; vt.push_back([[T alloc] initWithValue:2]); vt.push_back([[T alloc] initWithValue:3]); { //vt.pop_back(); vt.erase(vt.begin()); NSLog(@"< first element had been dealloc >"); } { vt.clear(); NSLog(@"< all other elements had been dealloc >"); } } } } 输出结果: 2012-02-11 19:31:56.256 Switcher[3037:f803] Y.Y (1) 2012-02-11 19:31:56.258 Switcher[3037:f803] T.init (1) 2012-02-11 19:31:57.352 Switcher[3037:f803] Y.Y (2) 2012-02-11 19:31:57.353 Switcher[3037:f803] T.init (2) 2012-02-11 19:31:57.578 Switcher[3037:f803] Y.Y (3) 2012-02-11 19:31:57.579 Switcher[3037:f803] T.init (3) 2012-02-11 19:31:57.786 Switcher[3037:f803] Y.~Y (1) 2012-02-11 19:31:57.787 Switcher[3037:f803] T.dealloc (1) 2012-02-11 19:31:58.894 Switcher[3037:f803] < first element had been dealloc > 2012-02-11 19:32:05.227 Switcher[3037:f803] Y.~Y (2) 2012-02-11 19:32:05.228 Switcher[3037:f803] T.dealloc (2) 2012-02-11 19:32:05.229 Switcher[3037:f803] Y.~Y (3) 2012-02-11 19:32:05.230 Switcher[3037:f803] T.dealloc (3) 2012-02-11 19:32:07.787 Switcher[3037:f803] < other elements had been dealloc > 测试代码二: int main(int argc, char *argv[]) { @autoreleasepool { X* x = new X(1); x->t = [[T alloc] initWithValue:1]; { list<X*> vx; vx.push_back(x); vx.push_back(new X(2, [[T alloc] initWithValue:2])); vx.push_back(new X(3, [[T alloc] initWithValue:3])); { X* x2 = vx.front(); vx.pop_front(); delete x2; NSLog(@"< first element had been dealloc >"); } { for(list<X*>::iterator it = vx.begin(); it != vx.end(); ++it) delete (*it); NSLog(@"< all other elements had been dealloc >"); } vx.clear(); } } } 输出结果: 2012-02-12 02:34:13.403 Switcher[3142:f803] X.X (1) 2012-02-12 02:34:14.516 Switcher[3142:f803] Y.Y (1) 2012-02-12 02:34:14.517 Switcher[3142:f803] T.init (1) 2012-02-12 02:34:26.171 Switcher[3142:f803] Y.Y (2) 2012-02-12 02:34:26.171 Switcher[3142:f803] T.init (2) 2012-02-12 02:34:26.174 Switcher[3142:f803] X.X (2) 2012-02-12 02:34:42.481 Switcher[3142:f803] Y.Y (3) 2012-02-12 02:34:42.481 Switcher[3142:f803] T.init (3) 2012-02-12 02:34:42.484 Switcher[3142:f803] X.X (3) 2012-02-12 02:34:48.856 Switcher[3142:f803] X.~X (1) 2012-02-12 02:34:48.857 Switcher[3142:f803] Y.~Y (1) 2012-02-12 02:34:48.858 Switcher[3142:f803] T.dealloc (1) 2012-02-12 02:35:02.491 Switcher[3142:f803] < first element had been dealloc > 2012-02-12 02:35:07.303 Switcher[3142:f803] X.~X (2) 2012-02-12 02:35:07.303 Switcher[3142:f803] Y.~Y (2) 2012-02-12 02:35:07.304 Switcher[3142:f803] T.dealloc (2) 2012-02-12 02:35:09.319 Switcher[3142:f803] X.~X (3) 2012-02-12 02:35:09.320 Switcher[3142:f803] Y.~Y (3) 2012-02-12 02:35:09.321 Switcher[3142:f803] T.dealloc (3) 2012-02-12 02:35:11.268 Switcher[3142:f803] < all other elements had been dealloc > 本文转自 wws5201985 51CTO博客,原文链接:http://blog.51cto.com/wws5201985/778426,如需转载请自行联系原作者

资源下载

更多资源
优质分享App

优质分享App

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

用户登录
用户注册
修改密码
忘记密码