[翻译]*iPhone OS for Cocoa Developers

Xcode常见警告汇总(持续更新) #Xcode8.0常见警告汇总 阅读详情

[翻译]*iPhone OS for Cocoa Developers


(给Cocoa开发人员的iPhone OS信息)

    If you are an existing Cocoa developer, many of the frameworksavailablein iPhone OS should seem familiar to you. The basictechnology stack iniPhone OS is identical in many respects to the onefound in Mac OS X.Despite the similarities, however, the frameworks iniPhone OS are notexactly the same as their Mac OS X counterparts. Thisarticle describesthe key differences you may encounter as you pursuedevelopment of youriPhone application and how you can adapt your codeto handle thosedifferences.

( 如果你是一名Cocoa的开发人员,那么iPhone OS系统中有许多框架你应该很熟悉。iPhone有许多基础的架构你都可以在Mac OSX中找到。无论有多么的相似,iPhone OS并不完全和Mac OSX一模一样。这篇文章列出了一些关键的不同,当你在开发你的iPhone应用程序的时候你就能改变你的代码以适应这个新的开发平台。)

Changes to Foundation Framework

(Foundation 框架的改变)

    The Foundation frameworkcontains most of the classes experienced Cocoadevelopers would expect,including value objects, strings, collections,thread management, andmany others. However, a handful of classes arenot included in theversion of the Foundation framework that ships withiPhone OS.



(   Foundation框架包含了许多Cocoa 程序员熟悉的值对象,字符串,集合,线程管理,还有其他的一些东西。事实上,只有少量的一些Foundation框架的类没有被包含在iPhone OS中。)


    Table 1lists some of the major areasof functionality that are not included inthe version of Foundationframework found in iPhone OS. The table alsolists the reasons why therelated classes are not available andalternative technologies for youto use instead. For a list of thespecific classes that are availablein Mac OS X but not in iPhone OS,see the class hierarchy diagramlocated in "The Foundation Framework" in Foundation Framework Reference.


(表 1 列出了iPoneOS平台下的Foundation框架不包括的函数。这个表同时也列出了为什么没有包括的原因和你可以选择替换的技术。表中的函数都是适用于MacOS平台的但是不适用于iPhone OS,你可以在"Foundation框架参考"中的“Foundation框架”中查看到他们的类层次。)


Table 1  Differences in Foundation technologies


(表 1 Foundation框架中的不同点)


Technology
技术

Notes
内容

                    Metadata and predicate management
Spotlight metadata and search predicates are not supported in iPhone OS because Spotlight itself is not supported.
                    

元数据和短语管理
  元数据和短语搜索并不能在iPhone上运行,因为系统不支持怎么做。
  

Distributed objects and port name server management
The Distributed Objects technology is not available, but you can still use the NSPortfamilyof classes to interact with ports and sockets. You can also usethe CoreFoundation and CFNetwork frameworks to handle your networkingneeds.
                    

分布式对象和端口命名服务管理
分布式对象技术不支持,但是你任然可以使用NSPort类来管理端口和sockets。你也可以使用Core Foundation和CFNetwork框架来操作你的网络需求。


Bonjour management
The NSNetService and NSNetServiceBrowser classes are not available, but their Core Foundation equivalents are. The CFNetServices opaque type lets you perform Bonjour networking and is part of the CFNetwork framework.
                    

问候管理
NSNetServic和NSNetServiceBrowse类都不可用,但是他们Core Foundation保留了。CFNetServices类让你可以执行问消息,她是CFNetwork的一部分。   



Cocoa bindings
Cocoabindingsare not supported in iPhone OS. Instead, iPhone OS uses aslightlymodified version of the target-action model that addsflexibility in howyou handle actions in your code. For moreinformation about thetarget-action model in iPhone OS, see UIControl Class Reference.
                    Cocoa绑定


iPhone OS不支持Cocoa绑定。取而代之的是,iPhone操作系统使用经过轻微修改过的基于目标行为的模型,他可以让你弹性的在你的代码中控制命令。想要了解更多iPhone OS中的目标命令模型,请参考UIControl类参考。


Objective-C garbage collection
Garbagecollectionis not supported in iPhone OS. Instead, you must use thememory-managedmodel, whereby you retain objects to claim ownership andrelease objectswhen you no longer need them.
                    

Objective-C的垃圾回收
iPhone操作系统不支持垃圾回收。取而代之的是你必须使用内存管理模型,当你你要的时候保持对象,不需要的时候释放掉他们。


AppleScript support
AppleScript is not supported in iPhone OS.
                    
AppleScrit支持
iPhone操作系统不支持AppleScript。

Undo management
The NSUndoManager class is not available, and there is no automatic support for undoing operations in iPhone OS.
                    

撤销管理
NSUndoManage类不可用,在iPhone OS中不支持自动撤销的方法。

XML Parsing
The NSXMLParser class is available in iPhone OS. You can use it to parse XML and extract information from an existing source of XML. However, NSXMLDocument and its associated classes (used to create, modify, and repeatedly query tree-based XML documents) are not available.


XML解析
iPhone操作系统不支持NSXMLParse类。事实上NSXMLDocumen也不支持(用来创建,修改和基于XML的文挡)  





  For complete class and method information for the Foundation framework in iPhone OS, see Foundation Framework Reference.



(查看iPhone OS中的所有的类和方法,请查看Foundation 架构参考。)


UIKit Versus AppKit

(UIKit和AppKit的对比)

   Experienced Cocoa developers will noticesimilarities between the AppKitframework in Mac OS X and the UIKitframework in iPhone OS. The UIKitframework was written with theconventions and features of the AppKitframework in mind; however,UIKit was designed and built for a verydifferent platform with verydifferent needs. Changing the names ofsymbols in a Cocoa applicationto match similar symbol names in UIKitwould not yield an applicationcapable of running in iPhone OS.Structural and behavioral differencesbetween the two frameworks requireyou to rework (or even rewrite) anyAppKit code you might want to moveto iPhone OS.


( 一个有经验的Cocoa开发人员一定会注意到Mac OS的AppKit和iPhoneOS的UIKit之间的区别。在大体上UIKit框架参考了AppKit框架来设计和构想的。事实上,UIKit是为了满足一个很特别的平台的特许需求而生的。如果只是改变Cocoa应用程序中的符号的名称来适应UIKit的话那这个程序还是不能在iPhone上运行。结构和行为上的不同使你不得不重写你的给予AppKit的代码。)


  Still, if you compare the two frameworks side-by-side, you would see the differences listed in Table 2.



(如果你认真的比较这两个框架的不同点,你将会看到他们的区别,列在图表2中。)


Table 2  Differences in application technologies


(表 2 应用程序中的不同)


Difference
不同

Discussion
讨论

                    The use of accessor methods versus properties
Oneofthe biggest differences is the extensive use of propertiesthroughoutthe UIKit class declarations. Properties were introduced toMac OS X inversion 10.5 and thus came along after the creation of manyclasses inthe AppKit framework. Rather than simply mimic the samegetter andsetter methods in AppKit, UIKit employs properties as a wayto simplifythe class interfaces. For information about properties, seeProperties in The Objective-C 2.0 Programming Language.



                    存储器方法对比属性
一个最大的不同是贯穿在UIKit类中的属性申明。属性是Mac OS X10.5的AppKit框架中引入的。不像AppKit中使用getter和setter那样,UIKit使用属性这个简单的方法来作为类接口。想要了解更多有关“属性”的信息,可以看“Objective-C 2.0开发语言”。


View classes
AniPhoneapplication has a more focused set of custom views andcontrolsavailable for you to use. Many of the views and controls foundinAppKit would simply not work well on iPhone OS-baseddevices.Organizational controls such as boxes, browsers, tab views, andsplitviews are either not needed or have more appropriate alternatives.Forexample, instead of providing an NSBrowser class,iPhoneuses an entirely different paradigm (navigation controllers) tomanagethe display of hierarchical information. For a description of theviewsand controls available in iPhone OS along with information on howtouse them, see iPhone Human Interface Guidelines.


                    视图类
一个iPhone的应用程序有的时候更需要自定义视图和控制。许多在AppKit下工作的视图和控制不能很好的在iPhone操作系统下工作。组织控件比如盒子,浏览器,标签栏视图,和分割视图他们在iPhone中不需要或者只保留了1,2个。举个例子,NSBrowse的代替类,iPhone使用完全不同的控件(导航控制器)去管理和显示分层的信息。有关iPhone中可用的视图和控制器请参考iPhone人机界面指南。



Event handling
Theevent-handlingmodel in iPhone OS is significantly different than theone found in MacOS X. Instead of mouse and keyboard events, the iPhoneOS delivers oneor more touch events through a new set of handlermethods. The way youinterpret and track these events is also differentand is described morefully in "Event Handling" in iPhone OS Programming Guide.


                    事件控制
和Mac OS X相比iPhone OS的事件控制完全不一样。取代了鼠标和键盘的事件,iPhone使用的是一个或多个触摸事件控制方法。想要更好的了解如何跟踪这些事件请参考iPone开发指南中的事件控制。


Target-action model
Thetarget-actionmodel in iPhone OS supports three variants for actionmethod definitions(as opposed to one in AppKit), and each method canbe associated with adifferent type of action related to the control.In addition, controlscan have more than one target assigned to thesame action, resulting inthe delivery of multiple messages with eachaction. For more informationabout the target-action model in iPhoneOS, see UIControl Class Reference.



                    目标指令模型
在 iPhoneOS中的命令对象模型,支持命令方法定义三个参数(与他形成对比的是AppKit只能有一个),每一个方法可以you不同的命令去相关和控制。另外控制器可以分配一个多个对象给相同的命令,可以为每一个命令显示多消息的返回。想要了解更多关于iPhone命令对象的模型,请参考 UIControl类参考


Drawing and printing support
Thedrawingcapabilities of UIKit are scaled to support the rendering needsof theUIKit classes. This support includes image loading and display,stringdisplay, color management, font management, and a handful offunctionsfor rendering rectangles and getting the graphics context.UIKit doesnot include a general purpose set of drawing classes becauseseveralother alternatives (namely Quartz and OpenGL ES) are alreadypresent iniPhone OS. Printing is not supported because there is nodirect supportfor connecting printers or other print-related hardwareto an iPhoneOS-based device. Automatic color matching is also notprovided. Forinformation about drawing in iPhone OS, see ?Coordinate Systems? later in this article and "Graphics and Drawing" in iPhone OS Programming Guide.
                    

绘图和打印支持
UIKit 中的绘图功能很好的支持了UIKit类中的要求。这些支持包含图形加载和显示,字符串显示,颜色管理,字体管理,和一些函数用来绘制矩形和他里面的内容。 UIKit不包括通常的一些绘图函数,因为在iPhone中已经包括了2个绘图框架(Quartz和OpenGLES)。在iPhone操作系统平台上打印不被支持因为他没有直接的支持链接到打印机或者和打印相关的设备上。自动颜色匹配也没有支持。想要了解更多有关iPhone的绘图可以看本文后面的坐标系统和在iPhone开发指南中的图形和绘画。


Text support
Thetextsupport in iPhone OS is geared towards composing email and notes.TheUIKit classes let applications display and edit simple stringsandsomewhat more complex HTML content. The more advanced text layoutandglyph generation features that you would find in an advancedwordprocessor are not included in iPhone OS because they are lessrelevantfor the mobile environment.
                    

文本支持
在iPhone中email和记事本需要文本的支持。UIKit类让应用程序显示编辑简单的字符串和一些复杂的HTML内容。一些高级的文本输出的方法或者类似文本编辑器一样的功能不会包括在iphone中因为他们和移动平台关系不大。


Document support
IniPhoneOS, applications typically have only one window and do not useseparatedocument objects or document windows. Therefore, any filesopened by theapplication are managed by the application directly andused to updatethe content of its window.
                    

文档支持
在iPhone中,应用程序只有一个窗口并且不使用分离的文档对象或者文档窗口。因此任何文档的打开都是由应用程序直接打开显示在窗口上的


Controls and cells
Controlsin UIKit do not use cells. Cells are used in Mac OS X as a lightweightalternative to views. Because views in UIKit are themselves verylightweight objects, cells are not needed. Despite the namingconventions, the cells designed for use with the UITableView class are actually based on the UIView class.
                    
控制和单元
在UIKit中的控制器并没有使用单元。单元只是Mac OS X中的一个轻量的框架。因为UIKit本身就是一个轻量的框架了,所以不需要单元了。忽略命名规则,单元中的UITableView类也是基于UIView类的。


Table views
The UITableView class in iPhone OS can be thought of as a cross between the NSTableView and NSOutlineViewclassesin the AppKit framework. It uses features from both of those AppKitclasses to create a more appropriate tool for displaying data on asmaller screen. The UITableView class displays a singlecolumn at a time and allows you to group related rows together intosections. It also is a means for displaying and editing hierarchicallists of information. For more information about the UITableView class, see UITableView Class Reference. 


表格视图
在AppKit框架中的UITableVie类可以看成是贯通NSTableVie和NSOutlineViewclasses类的桥梁。她使用了AppKit中的一些特性创建了一些合适的方法来在小的视图中显示数据。UITableVie类显示了一个带有滚动条的分组显示数据的区域。这意味着她是用来处理分层型的数据列表的。先要了解更多UITableVie类的信息,参考UITableVie类参考。    




                    Menus
Menusare another user interface paradigm that is not supported in iPhoneOS.Nearly all applications written for iPhone OS have a much smallercommand set than a comparable Mac OS X application, and so menus aregenerally unnecessary. For those few commands that are needed, atoolbar or set of buttons is usually more appropriate. For data-basedmenus, a picker or navigation controller interface is often moreappropriate.


菜单
在iPhone OS中是不支持菜单的。因为iPhone的应用程序通常比Mac OS小的多,所以菜单并不太重要。对着这样的小程序来说,一个工具栏或者一个导航界面就足够了。对于给予数据的菜单,一个提示框或导航控制器通常来够用了。


Core Animation layers
IniPhone OS, every drawing surface is backed by a Core Animation layerandimplicit animation support is provided for many view-relatedproperties.Because of the built-in animation support, you usually donot need touse Core Animation layers explicitly in your code. Mostanimations canbe performed simply by changing the desired property ofthe affectedview. The only time you might need to use layers directlyis when youneed precise control over the layer tree or when you needfeatures notexposed at the view level. For information about how CoreAnimationlayers are integrated into the drawing model of iPhone OS,see iPhone Application Programming Guide. 


核心动画层
在 iPhone中,每一个绘图面都是基于核心动画层的并且其中的动画支持许多基于视图的属性。因为基于内部的动画至此后,你通常不需要去直接使用核心动画层,大多数动画你可以通过改变视图中的一些你想要的属性进行。只有你真正需要控制一些更深层次的细节而视图层没有提供这些特性的时候你需要使用动画层。更多有关核心动画层的内容你可以参考iphone OS中的绘图模块,见iPhone程序开发指南


Changes to Other Frameworks

(来自其他框架的改变)

Table 3-3 lists the key differences in other frameworks found in iPhone OS.

(表格3列出了iPhone操作系统中和其他框架中的一些关键的不同点)

AddressBook.framework
Thisframework contains the interfaces for accessing user contacts. IniPhoneOS, the interfaces of this framework are written in C insteadofObjective-C. For more information, see Address Book Framework Reference.

通信录框架
这个框架是用来访问用户的一些信息的,在iPhone操作系统中,这个框架的接口是基于C的而不是基于Objective-C的,更多有关的信息,请看通信录架构参考。

AudioToolbox.framework
AudioUnit.framework
CoreAudio.framework
TheiPhone OS versions of these frameworks provide support primarilyforrecording, playing, and mixing of single and multichannel audiocontent.More advanced audio processing features and custom audio unitplug-insare not supported. One addition for iPhone OS, however, is theabilityto trigger the vibrate option for iPhone devices. Forinformation on howto use the audio support, see Audio and Video TechnologiesiPhone Application Programming Guide in



音频工具框架
音频单元框架
核心音频框架
在 iPhoneOS版本中的这些框架是用来为录音,播放,混音做支持的。更多一些高级的音频的应用和自定义音频插件不被支持。在iPhone中还有一个特别的应用,为震动设备提供支持。需要了解更多信息,有关如果使用音频,你可以参考"应用程序开发指南"中的"iPhone中的音频和视频技术"。


CFNetwork.framework
Thisframework contains the Core Foundation Network interfaces. IniPhone OS,the CFNetwork framework is a top-level framework and not asubframework.Most of the actual interfaces remain unchanged, however.For moreinformation, see CFNetwork Framework Reference.



CFNetwork框架
这个框架包含了 Core Foundation Network接口。在iPhone中,CFNetwork框架是一个顶层框架,没有子结构。大多数的接口被毫无更改的保留了。需要更多信息,请参考CFNetwork框架参考。


CoreGraphics.framework
Thisframework contains the Quartz interfaces. In iPhone OS, theCoreGraphics framework is a top-level framework and not a subframework.Youcan use Quartz to create paths, gradients, shadings, patterns,colors,images, and bitmaps in exactly the same way you do in Mac OS X.Thereare a few Quartz features that are not present in iPhone OS,however,including PostScript support, image sources and destinations,QuartzDisplay Services support, and Quartz Event Services support. Formoreinformation, see Core Graphics Framework Reference.


CoreGraphics框架
这个框架包含了Quartz接口。在iPhone操作系统中,核心图形框架是顶层框架没有子结构。你可以使用和 MacOS中一样的Quartz去创建线性,倾斜,渐变,阴影,纯色,图片或者位图等。在iPhone操作系统中这里有一些Quartz的特性没有被支持,事实上,包含PostScript,源图片和指定,Quartz显示服务支持,和Quartz事件服务支持。需要了解更多信息,可以查看“核心图片框架参考”。




OpenGLES.framework
Theversion of OpenGL that comes with iPhone OS is OpenGL ES version1.1,which is a version of OpenGL designed specifically for embeddedsystems.If you are an existing OpenGL developer, the OpenGL ESinterface shouldbe familiar to you. However, the OpenGL ES interfacestill differs inseveral significant ways. First, it is a much morecompact interface,supporting only those features that can be performedefficiently usingthe available graphics hardware. Second, many of theextensions youmight normally use in desktop OpenGL might not beavailable to you inOpenGL ES. Despite these differences, you shouldstill be able toperform most of the same operations you would normallyon the desktop.If you are migrating existing OpenGL code, however, youmay have torewrite some parts of your code to use different renderingtechniques iniPhone OS. For information about the OpenGL ES support iniPhone OS, seeiPhone Application Programming Guide.



OpenGLES框架
在 iPhone中的OpenGL版本是OpenGL ES 1.1他是专门为嵌入式系统而制作的。如果你是一个OpenGL的开发人员,那么OpenGLES对你来说会很熟悉。事实上,OpenGLES的接口仍然有一些自己的定义。首先,这是一个很精简的接口用来支持那些有效的使用硬件显示图形的方法。第二许多桌面上的OpenGL的一些拓展方法也许你不能在 OpenGLES中使用。虽然有这些不同,但是大多数的操作和你在桌面版本的操作是一样的。如果你想把你的OpenGL的代码迁移到iPhone中你需要对其中的一些部分进行修改。了解更多有关OpenGL ES的信息,你可以参考iPhone 应用程序开发指南。



QuartzCore.framework
Thisframework contains the Core Animation interfaces. Most of theCoreAnimation interfaces are the same for both iPhone OS and Mac OSX.However, in iPhone OS, the classes for managing layout constraintsandsupport for using Core Image filters are not available. Inaddition,the interfaces for Core Image and Core Video (which are alsopart ofthe Mac OS X version of the framework) are not available. Formoreinformation, see Quartz Core Framework Reference.


QuartzCore框架
这个框架包含了一些核心动画的接口。iPhone上的大多数核心动画的接口和Mac OSX很相近。事实上,在iPhone中,管理内容输出支持使用核心图片滤镜的类没有被支持。另外,核心图片和核心视频接口(他们是MacOS中的以部分)没有被支持。需要了解更多的信息请参考"Quartz 核心框架参考"。



Security.framework
Thisframework contains the security interfaces. In iPhone OS, thisframeworkfocuses on securing your application data by providingsupport forencryption and decryption, pseudo-random number generation,and theKeychain. The framework does not contain authentication orauthorizationinterfaces and has no support for displaying the contentsofcertificates. In addition, the Keychain interfaces are asimplifiedversion of the ones used in Mac OS X. For information aboutthesecurity support, see iPhone Application Programming Guide.



安全框架
这个框架包含了一些安全的接口。在iPhone OS中,这个框架关心你应用程序中的数据被破解和反破解,产生仿冒的随机码,和Keychain。这个框架不包含授权和认证的接口不支持显示证书的内容。另外Keychain的接口只是在Mac OS X中使用。更多有关安全的信息请看iPhone应用程序开发指南。



SystemConfiguration.framework
Thisframework contains networking-related interfaces. In iPhone OS,thisframework contains only the reachability interfaces. You usetheseinterfaces to determine how a device is connected to the network,suchas whether it’s connected using EDGE, GPRS, or Wi-Fi.


SystemConfiguration框架
这个框架包含了和网络有关系的接口。在iPhone OS中这个框架包含了只有它可用的接口。你可以使用这些接口来决定设备是如何链接到网络的,比如它是使用EDGE,GPRS还是Wi-Fi。
群晖NAS安装HomeAssistant保姆级教程:从Docker部署到智能设备接入 本文提供了一份详尽的群晖NAS安装HomeAssistant保姆级教程,涵盖从Docker部署到智能设备接入的全过程。通过规划存储路径、配置容器环境变量和网络模式,确保系统稳定运行。教程还介绍了如何接入小米、苹果HomeKit等智能家居设备,并利用自动化与仪表盘打造本地化、高响应速度的智能中枢,实现数据隐私与远程控制的完美平衡。 阅读详情

相关推荐

RKDevTool解包和打包(Windows)

我们将修改后的打包工具存放在了RKDevTool_Release_v2.92软件压缩包的rockdev目录下,可以搭配RKDevTool的解包功能使用。双击板卡主芯片对应的bat文件,开始进行打包。红框中的内容是我们的打包工具及辅助打包的可执行文件,Image目录下存放了我们的分区镜像, package-file是分区与分区镜像文件的对应关系。将从网盘获取的Update.zip镜像解压成.img格式并重命名为update.img,也可以直接使用SDK生成的update.img镜像。

tianpu2320959696的博客 3371

linux 查看服务器序列号(S/N)

 [root@az01node021 ~]# dmidecode -t 1 # dmidecode 2.11 SMBIOS 2.7 present. Handle 0x0100, DMI type 1, 27 bytes System Information         Manufacturer: Dell Inc.         Product Name: Pow

lihui的服务器技术博客 4万+

AI大模型开发——transformer模型超全完整版(0基础可懂)

为了更深入的了解transformer模型,我们首先从transformer的诞生聊起吧。transformer在2017年由Vaswani等人首次提出,它摒弃了之前流行的循环神经网络和卷积神经网络的架构,引入了自注意力机制( Self-Attention),显著提高了处理序列数据的能力和效率。transformer模型的这种设计使其在处理长距离依赖问题时, 相比于传统的循环神经网络和长短期记忆网络(LSTM)表现得更加出色,至此, 开启了NLP技术的新篇章。

m0_74922316的博客 2128

dmidecode命令详解(获取硬件信息)

一、dmidecode简介 dmidecode允许你在Linux系统下获取有关硬件方面的信息。dmidecode遵循SMBIOS/DMI标准,其输出的信息包括BIOS、系统、主板、处理器、内存、缓存等等。 DMI(Desktop Management Interface,DMI)就是帮助收集电脑系统信息的管理系统,DMI信息的收集必须在严格遵照SMBI...

weixin_34221036的博客 748

深入解析Docker Overlay2磁盘空间占用问题及高效清理策略

本文深入解析了Docker Overlay2存储驱动导致磁盘空间占用的核心原因,包括镜像与容器残留、日志文件膨胀、应用层泄漏及驱动特性。提供了从全局检查到精准定位的完整排查方法,并给出了从常规清理到配置优化的多维度高效清理策略,帮助用户从根本上解决Docker磁盘空间问题。

data3的博客 910

避坑指南:PyTorch ConvLSTM参数配置的那些坑(hidden_dim/kernel_size/num_layers详解)

本文深度解析PyTorch ConvLSTM中hidden_dim、kernel_size和num_layers三大核心参数的配置技巧,提供实战指南和性能优化建议。通过实验数据揭示参数组合的内在规律,帮助开发者避免常见配置陷阱,提升时空序列建模效果。特别针对视频预测、气象预报等应用场景,给出黄金参数组合方案和调试技巧。

vv45678的博客 717

Django POST CSRF verification failed. Request abor

在使用Django搭建好测试环境后,写了一个提交POST表单提交留言的测试页面。 如图: 填写表单,点击“提交留言”按钮提交到服务器,却出现 Forbidden (403) CSRF verification failed. Request aborted. 由于之前使用GET方式提交表单内容测试均正常,就以为这个问题估计是配置问题没细看后边的帮助提示直接在网

lqcsp的专栏 1698

KITTI数据集下载及解析

KITTI数据集下载及解析 版本 更新时间 更新内容 作者 1 V 1.0 xxx 完成主体内容 W. Xiao 2 文章目录KITTI Dataset1 简介1.1 数据采集平台1.2 坐标系2 数据解析2.1 image文件2.2 velodyne文件2.3 calib文件2.4 label文件3 KITTI可视...

u013086672的博客 5万+

底层提取 iOS 27!iOS Forensic Toolkit 10.14 破局 iPhone 18 数据提取

可以从运行 iOS 和 iPadOS 27.0 至 27.2.1 的 iPhone 和 iPad 中提取应用程序数据,包括 iPhone 18 系列和搭载 M5 芯片的 iPad Pro。该发行版现在包含两个代理,检验人员在无线安装期间需在它们之间进行选择。元数据实用工具可直接处理 .tar 压缩包,并为两个应用程序文件夹重新创建容器元数据。在可以进行配对的情况下,将基于代理的提取与扩展逻辑获取结合起来使用。用于将两个结果合并到单个压缩包中的实用工具仍在开发中。

2302_82041293的博客 341

【Ensp】FTP服务器设置和FTP解析

大部分的多媒体多媒体应用协议,如SIP,FTP,NetMeeting协议等,使用约定的固定端口来初始化一个控制连接,再动态地选择端口用于数据传输,并且这些端口选择是不可预测的。在防火墙设置时,可以通过ASPF(应用层报文过滤)中的Server Map表来满足多通道协议的正常工作,它正常检测应用层报文信息,并动态地根据报文内容创建和删除临时的Server Map表项,以允许其它非约定端口通过防火墙。(5)我们可以在路由器或能访问ftp服务器的设备上,通过cli命令行的方式来访问ftp服务器。

进击的小小白 1879

Multisim14.3主数据库访问冲突:Windows更新KB5065426卸载与系统兼容性修复指南

本文针对Multisim14.3在Windows更新KB5065426后出现的主数据库访问冲突问题,提供了详细的解决方案。通过卸载问题更新、修复系统兼容性及调整权限设置,帮助用户快速恢复元器件库的正常访问,确保电路仿真设计的连续性。

lstm7chronicler的博客 530

iOS 27 导航栏变了什么:滚动最小化、iPhone Duo 侧边控制,以及一个开源的 UIKit 导航栏组件

iOS 27 引入导航栏滚动最小化与 iPhone Duo 侧边控制,打破自定义导航栏的布局假设。RANavigationBar 作为开源组件,统一管理高度、安全区、最小化行为及 Duo 适配,支持自动切换系统栏,确保跨设备一致体验,无需修改原有代码。

rebornace的博客 552

TC8:SOMEIPSRV_SD_MESSAGE_07-09

TTL为服务实例的生命周期。在此生命周期之后,不提供服务实例。

jasonj333 922

iPhone Duo怎么远程控制电脑?ToDesk适配版保姆级设置教程

本文介绍如何通过ToDesk实现iPhone Duo折叠屏与电脑的远程连接,高效处理工位遗留任务。步骤包括:两端安装并确保在线;Mac配置屏幕录制与辅助功能权限;手机端选择设备完成连接验证;展开或半折叠使用,结合键盘切换实现“看、点、打、传”一体化操作;通过独立文件传输通道快速发送手机图片或资料。适配折叠屏设计,兼顾显示与输入体验,适用于出差、通勤等场景下的应急办公,真正实现“电脑不在手边,也能接着干”。

kevin_blog 1万+

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

通过蓝牙将文件从 iPhone 传输到 Android

蓝牙是一种广泛使用的无线技术,它允许附近的设备无需线缆即可连接和交换数据。这使得在兼容设备之间共享文件变得非常便捷,尤其是在需要快速发送照片、视频或文档时。然而,当需要在不同的移动操作系统之间传输文件时,情况可能就没那么简单了。您能否像在两部安卓手机之间传输文件那样轻松地通过蓝牙将文件从 iPhone 传输到安卓手机呢?如果您对此感到疑惑,请继续阅读,了解您需要知道的内容,并探索一些在两台设备之间共享文件的实用方法。

Digitally的博客 166

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

对接自定义 HTTP 认证源:服务器端开发手册

设备端 webauthd 的 http 认证源把登录请求直接 POST 给你自己的服务器,不经 MonkFish云端与 RADIUS。本篇面向服务器端开发方:网关侧硬约束(连接超时 2 秒、总超时 1~60 秒、不重试、应答 64KB 上限)、接口契约(请求与应答字段、sign 算例、plain/md5、MAC 免密、±300 秒防重放)、Python 单文件示例服务、云端 WrtHub-UI 六字段推送与设备 UCI 速查、记账 Start/Interim/Stop

xaOctopus的博客 453

ET2012新版免狗免安装绿色软件

ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,

iPhone Duo 应用适配完整指南:从 SDK、自适应布局、铰链到 App Store 发布合规

iPhone Duo 是 Apple 2026 年发布的首款可折叠 iPhone(7.6 英寸内屏 + 5.4 英寸外屏、A20 Pro、iOS 27)。本文基于 20+ 份官方文档梳理应用适配全链路:三档 SDK 差异、官方三步流程、代码反模式与修复、尺寸类与不对称安全区、保留区域、排列视图、垂直控制栏、铰链与多场景、相机适配、App Store 截屏规格与 2027 年 4 月强制节点,并附 40+ API 速查表与 44 项验收清单。

Mazy's Blog 178

通过 Wi-Fi Aware 直接将 ESP 设备连接到 iPhone——全新的跨平台 P2P 标准

iOS 26 为 iPhone 12 及更新机型带来了 Wi-Fi Aware™ 支持,使兼容设备能够安全地相互发现、配对并直接通信。该功能无需接入点 (Access Point),也不会影响 iPhone 通过 Wi-Fi 进行的网络连接。本文将介绍如何设置 ESP 设备和 iPhone,使两者能够通过 Wi-Fi Aware 完成配对并建立连接。

乐鑫 Espressif 333

Go请求HTTPS报证书不受信任:RootCAs、系统根与主机名检查清单

Go程序能连上端口,却报x509证书错误时,先确认实际Transport,再区分系统根、显式RootCAs、名称验证与HTTP业务结果。本文按官方文档整理排查清单,不用跳过验证掩盖信任问题。

谁呀!的博客 419

C++ 小数输出控制 笔记

C++中使用<iomanip>控制小数输出,关键为setiosflags(ios::fixed)与setprecision(n)。开启fixed后,setprecision(n)表示小数点后保留n位;否则表示总有效数字位数。适用于需保留小数的题目(如折扣计算、样例含小数点),但整数题禁用,避免输出.0导致格式错误。注意fixed一旦启用将持续生效,建议每题独立设置。

ab123768的博客 255

App Store 1.2 UGC用户生成内容拒审完整解决方案

在iOS应用上架过程中,很多开发者会遇到Guideline 1.2‑Safety‑User‑Generated Content(1.2 UGC用户生成内容)拒审问题。很多人误以为只有社交App才会触发1.2条款;实际上评论区、用户昵称签名、玩家留言板、AI生成公开内容、排行榜自定义名字、用户头像上传,都属于UGC范畴,都有可能触发1.2审核拦截。很多跨端项目(Unity、Cocos、Flutter)、马甲包、模板类应用,不仅要面对4.3复制应用拒审,同时还会踩1.2 UGC合规坑。

fireplumewhite的博客 391

iOS 多环境打包,用 KXBuild 一个工程同时出 Ad Hoc 测试包和正式包

一个 iOS 工程同时打测试包和正式包,用一份 xcconfig 区分 Bundle ID、名称、图标和接口地址,测试包配 Ad Hoc 描述文件装测试机,正式包配 App Store 描述文件上架。两包 Bundle ID 不同,能同装一台手机对比。用 KXBuild 的 --xcconfig 套参数、--derivedDataDir 分开输出,一个 PowerShell 脚本一次打出两个 ipa,构建号用 -D 传。附 xcconfig 优先级和测试包装不上、装上只剩一个等常见问题。

2501_91591841的博客 258

05.6 · 闭包实战:「Get started」按钮

本文逐个拆解新手引导按钮闭包的四行代码:UIAction 为何是尾随逃逸闭包,闭包体为何在点击时才运行、所以必须在闭包内读取 view.window,弱引用 self 打断了怎样的循环引用,可选链与 guard 如何安全退出,以及与 target-action 写法的对比。

PhilZhou的专栏 545

IDA Pro 9.4 深度解析:DSC 重做、Swift ABI 落地,以及一次被低估的自动化下放

新的函数迭代器(`function_item_iterator_t`、`function_parent_iterator_t`、`function_tail_iterator_t`)、反编译输出钩子(`gen_function_header`/`gen_function_footer`)和用户自定义 microcode(`user_minsn_t` 等)也值得看一眼。- **从日志反查**。有个细节值得单独说:`__swiftthrows` 改变的不是被标注函数自己的行为,而是**所有调用者**的行为。

qq_53593099的博客 223

iOS 扩展签名怎么配置,分享扩展、通知服务扩展的描述文件和 App Groups

iOS 扩展(分享扩展、通知服务扩展)有自己的 Bundle ID 和签名。记四条:扩展 Bundle ID 以主 App 加点开头、只多一段(违反报 ITMS-90347);每个扩展有独立 App ID 和描述文件、和主 App 用同一张证书;共享数据两边开同一个 App Groups;版本号构建号与主 App 一致。用 KXBuild 添加 target,keychain 放多份描述文件按 Bundle ID 自动匹配,Ad Hoc 和 App Store 同存时按 target 指定描述文件名。

2501_91600889的博客 200
上一篇: 创建自己的cocoa framework。
下一篇: char ,unsigned char与 WCHAR
nitghost
博客等级 码龄19年 32粉丝 111原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址