iOS NSString 查找字符的位置及字符长度

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #822e0e}p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px}p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo}p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'PingFang SC'}span.s1 {font-variant-ligatures: no-common-ligatures}span.s2 {font: 14.0px 'PingFang SC'; font-variant-ligatures: no-common-ligatures}span.s3 {font-variant-ligatures: no-common-ligatures; color: #c91b13}span.s4 {font: 14.0px Menlo; font-variant-ligatures: no-common-ligatures}span.s5 {font-variant-ligatures: no-common-ligatures; color: #000000}

问题1

[!] The dependency `AFNetworking (~> 3.1.0)` is not used in any concrete target.

最近安装cocoapods时候,出现了上面的错误。

解决方法:

platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
  pod 'AFNetworking', '~> 2.6'
  pod 'ORStackView', '~> 3.0'
  pod 'SwiftyJSON', '~> 2.3'
end

MyApp :是当前APP的名字

你可能感兴趣的:(iOS NSString 查找字符的位置及字符长度)