Skip to content
View LieonShelly's full-sized avatar
🎯
Focusing
🎯
Focusing
  • Chengdu,Sichuan,China
Block or Report

Block or report LieonShelly

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Kingfisher源码解读,代码片段 Kingfisher源码解读,代码片段
    1
    ///ImageView+Kingfisher.swift
    2
    /// 设置图片内部方法
    3
    func setImage(
    4
            with source: Source?,
    5
            placeholder: Placeholder? = nil,
  2. Option Pattern 在 Swift 中使用,用于改善可选项的... Option Pattern 在 Swift 中使用,用于改善可选项的 API 设计,向已有类型中以类型安全的方式添加“存储”属性
    1
    protocol PersonOption {
    2
        associatedtype Value
    3
        static var defaultValue: Value { get }
    4
    }
    5
    
    
  3. iOS自动订阅代码片段 iOS自动订阅代码片段
    1
    //
    2
    //  IAPService.swift
    3
    //  FacePro
    4
    //
    5
    //  Created by lieon on 2021/6/7.
  4. mask的用法 mask的用法
    1
      
    2
            /**
    3
             # mask的用法
    4
                - mask是遮罩,它会挡住父视图的渲染
    5
                - 父视图渲染部分是mask不透明的像素点; mask透明部分,父视图部分就会不显示
  5. 在Macos中查找文件 在Macos中查找文件
    1
    
    
    2
    class ExtensionFindProcess: NSObject {
    3
        
    4
        let p: Process
    5