Skip to content
View MikasaAckerman's full-sized avatar
🏠
Working from home
🏠
Working from home
Block or Report

Block or report MikasaAckerman

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. CorePracticeDemo CorePracticeDemo Public

    Swift

  2. Swift2垂直旋转+放大动画代码 Swift2垂直旋转+放大动画代码
    1
    //
    2
    //  TurnAnimation.swift
    3
    //  TurnAnimation
    4
    //
    5
    //  Created by 王渊博 on 15/12/2.
  3. Swift3二维码界面的阴影view Swift3二维码界面的阴影view
    1
    // customized rect
    2
    let viewBounds = CGRect()
    3
    let scanRectView = CGRect()
    4
    
    
    5
    let bezierPath = UIBezierPath.init(roundedRect: viewBounds, cornerRadius: 0)
  4. Swift3顺时针旋转+收缩动画 Swift3顺时针旋转+收缩动画
    1
    func roundAnimation() {        
    2
            let animationRotation = CABasicAnimation.init()
    3
            animationRotation.keyPath = "transform.rotation.z"
    4
            animationRotation.toValue = NSNumber.init(value: Float(M_PI) * 5)
    5
            animationRotation.duration = 2
  5. line-sdk-ios-swift line-sdk-ios-swift Public

    Forked from line/line-sdk-ios-swift

    Provides a modern way of implementing LINE APIs

    Swift

  6. UICollectionViewCell stops in middle... UICollectionViewCell stops in middle of bounds.width
    1
    override func targetContentOffset(forProposedContentOffset proposedContentOffset: CGPoint, withScrollingVelocity velocity: CGPoint) -> CGPoint {
    2
            
    3
            let rectBounds: CGRect = collectionView!.bounds
    4
            let halfWidth: CGFloat = rectBounds.width * CGFloat(0.50)
    5
            let proposedContentOffsetCenterX: CGFloat = proposedContentOffset.x + halfWidth