Skip to content

四号程序员

Keep It Simple and Stupid

  • Home
  • 读过的书
  • 从0到1实战微服务架构(第2版)

SnapKit如果高度要稍后才能确定,如何设置才能保证不冲突

Leave a reply

代码如下:

注意priority high是关键
class YYCell: UITableViewCell {
fileprivate var tvHeightConstraint: Constraint? = nil
....
fileprivate func setupUI() {
textView.snp.makeConstraints { (make) in
make.top.equalToSupervi[......]

继续阅读

This entry was posted in iOS and tagged autolayout, high, ios, priority, snapkit, 优先级, 冲突 on 2017-03-03 by coder4.

iOS 10新的通知机制中如何添加图片

Leave a reply

1、新建Target

iOS 10新的通知机制中如何添加图片

iOS 10新的通知机制中如何添加图片

2、实现UNNotificationServiceExtension

我这里用的是swift
//
// NotificationService.swift
// NotificationServiceExtension
//
// Created by Heyuan Li on 17/2/26.
// Copyright © 2017年 fenbi. All rights reserved.
//

import Us[......]

继续阅读

This entry was posted in iOS and tagged 10, ios, 图片, 通知 on 2017-02-26 by coder4.

svg转AndroidDrawable的库

Leave a reply

https://github.com/inloop/svg2android

https://github.com/a-student/SvgToVectorDrawableConverter[......]

继续阅读

This entry was posted in Android on 2017-02-18 by coder4.

svg转pdf的库

Leave a reply

http://xmlgraphics.apache.org/batik/

http://cairosvg.org/

http://www.inkscape.org/

svg2pdf[......]

继续阅读

This entry was posted in Linux on 2017-02-18 by coder4.

How to Install and Configure Postfix as a Send-Only SMTP Server on Ubuntu 16.04

Leave a reply

关于如何配置postfix,只作sender用

How to Install and Configure Postfix as a Send-Only SMTP Server on Ubuntu 16.04 [......]

继续阅读

This entry was posted in Linux and tagged postfix, sender on 2017-02-17 by coder4.

Post navigation

← Older posts
Newer posts →

Categories

  • Android
  • C && C++
  • Go
  • iOS
  • Java
  • Linux
  • Mac
  • NLP
  • opencv
  • Perl
  • PHP
  • Python
  • RPC
  • Ruby
  • Visual C++ && C#
  • Windows
  • Wordpress
  • 前端技术
  • 大数据技术
  • 心情随笔
  • 搜索技术
  • 数据库技术
  • 未分类
  • 机器学习
  • 笔面题
  • 算法&数据结构
  • 网络&网络模拟
  • 计算机技术
  • 设计

Tags

  • Android
  • C
  • CentOS
  • c语言
  • Debian
  • docker
  • go
  • gtk
  • Hadoop
  • Hive
  • ios
  • Java && J2EE
  • Java && J2EE
  • Java核心技术
  • KVM
  • Linux
  • MySQL
  • nginx
  • Oracle
  • PHP
  • Python
  • Python Essential Reference
  • shell
  • socket
  • Ubuntu
  • VC
  • windows
  • 严蔚敏
  • 中文
  • 乱码
  • 卷2
  • 字符串
  • 安装
  • 实现
  • 排序
  • 教程
  • 数据结构
  • 核心技术
  • 算法
  • 算法技术手册
  • 编译
  • 读书笔记
  • 递归
  • 配置
  • 重读
Proudly powered by WordPress