MichaelRich

Welcome to send messages on the right bottom!


  • Home

  • Archives

  • Categories

  • Tags

PythonTips

Posted on 2019-12-06 | Post modified: 2019-12-09 | In Python
Words count in article: 8 | Reading time ≈ 1

1.It’s a charm.

Read more »

黑团debugLog

Posted on 2019-11-23 | Post modified: 2020-01-26 | In iOS
Words count in article: 262 | Reading time ≈ 1
  1. 08下拉菜单,xib文件名和类名必须一致!差了个s,导致显示不出来!

  2. 10.3.popover消失

    1. Read more »

iOS_Causion

Posted on 2019-11-21 | Post modified: 2020-07-04 | In iOS
Words count in article: 202 | Reading time ≈ 1

1.分类里面的属性,必须单独实现get set方法.

Read more »

GitTips

Posted on 2019-10-17 | Post modified: 2021-06-04 | In iOS
Words count in article: 164 | Reading time ≈ 1

#

1.Add project to gitee

1
2
3
git remote add origin https://gitee.com/用户个性
git push origin master -f
# 强行push
Read more »

Xcode-Tips

Posted on 2019-10-12 | Post modified: 2020-09-20 | In Xcode
Words count in article: 800 | Reading time ≈ 4

Xcode-Tips

1.Plugin

1.xcode11,已经把插件放在了appstore,Xcode Extension

Xcode 8+安装Alcatraz插件管理器 https://blog.csdn.net/zhongtiankai/article/details/72598467

1、获取DVTPlugInCompatibilityUUID

$ defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID

2、将DVTPlugInCompatibilityUUID添加到插件里
$ find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add ************(第一步获取的DVTPlugInCompatibilityUUID)
————————————————
版权声明:本文为CSDN博主「米豆腐」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/zhongtiankai/article/details/72598467

sudo gem install update_xcode_plugins

update_xcode_plugins

update_xcode_plugins —unsign

Read more »

Ei conder pasa

Posted on 2019-06-25 | Post modified: 2019-06-25 | In Music
Words count in article: 186 | Reading time ≈ 1

Ei conder pasa(老鹰之歌)

I’d rather be a sparrow than a snail. Yes I would.

If I could I surely would, em~

I’d rather be a hammer than a nail. Yes I would.

If I only could, I surely would, em~

Away, I’d rather sail away like a swan, that’s here and gone.

A man gets tied up to the ground,

He gives the world its saddest sound, its saddest sound.

I’d rather be a forest than a street. Yes I would.

If I could, I surely would.

I’d rather feel the earth beneath my feet.Yes I would.

If I only could, I surely would.

Away, I’d rather sail away like a swan, that’s here and gone.

A man gets tied up to the ground,

He gives the world its saddest sound, its saddest sound.

La LaLa LaLa LaLa La~ LaLaLa~

LaLaLa~ LaLaLa~

La LaLa LaLa LaLa La~ LaLaLa~

LaLaLa~ LaLaLa~

秘鲁纪念革命英雄 TupacAmaro化为雄鹰之歌.

I’m listening a version by Andy Williams.

Rules of iOS development

Posted on 2019-03-17 | Post modified: 2019-03-24 | In iOS
Words count in article: 68 | Reading time ≈ 1

Rules of iOS development

  1. Keep a class small - 83.
  2. TableViewCell reusing may cause a problem, when common cell is not set correctly.83
  3. TableView use model instead of indexPath, stabler when needs change.84
  4. Block property must use copy.84
  5. When we debug and change code, the program is running with old code.
  6. CollectionView only alloc two cells,we can use it to create a view scrolling inifinitly.

HYweibo Debug Log

Posted on 2019-03-17 | Post modified: 2020-06-07 | In iOS
Words count in article: 1.2k | Reading time ≈ 7

Weibo debug log

  1. tapping retweeted text is not calling touches began

    1. on iPhone we cannot lunch so we disabled debug in scheme. Causing we think didn’t triger.

    2. Because we used notification to call didSelectRow

    3. we couldnot call didSelectRow before so we used notification

  1. Repost API is forbiden.

    1. 2019-03-17 17:04:45
  2. 1.Button IBAction was not being called

    1. 1.1 Button titles can’t be changed

    2. 1.2 Reinstall app titles are changed, still can’t call IBActions

    3. 1.3.2019-03-17 11:43:23

Read more »

HYweibo Development Record

Posted on 2018-11-23 | Post modified: 2020-06-28 | In iOS
Words count in article: 1.2k | Reading time ≈ 7

1.HYweibo envirment setup

Read more »

SetupHexoBlogOnCentos7.5

Posted on 2018-12-07 | Post modified: 2018-12-13 | In CentOS
Words count in article: 833 | Reading time ≈ 5

1.Let’s setup our brand new CentOS7.5 server supplied by TencentCloud to host our hexo blog! Contains : nginx, node.js, Git, hexo, https: !

Read more »
1…3456

MichaelRich

52 posts
13 categories
27 tags
E-Mail
© 2021 MichaelRich | Site words total count: 27.5k