V2EX abellee 的所有回复 第 1 页 / 共 8 页
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX    abellee    全部回复第 1 页 / 共 8 页
回复总数  145
1  2  3  4  5  6  7  8  
2020-06-24 22:25:39 +08:00
回复了 lyhiving 创建的主题 macOS MacOS Big Sur Beta 升级记录贴
@chztv 下哪个?没有 Big Sur 的描述文件啊
2020-05-25 14:04:03 +08:00
回复了 iOrz 创建的主题 Notion 照抄 Notion 界面、代码、接口的产品:寒舟 hanzhou.work
这哪还是抄袭啊 这就是大自然的搬运工啊
2017-06-10 02:45:31 +08:00
回复了 Adminmaster 创建的主题 问与答 哎,创业创业,连房子都租不起,还创个 P
不管你在哪 必定是租了场地办公的吧?
如果是商住两用的 你可以跟房东商量
如果你不是商住两用的 一个是去找下有没可以借的地址 二个是找找有没可以短租的 进去把地址给税局看下就完了 他们不能天天去核实吧
办法总比困难多 这种压力往肚子里咽就好
既然迈出了这一步 坚持下去 说不定上天指引你做的创业决定 只要你坚持到最后 就会有收货
加油 后面困难还很多
2017-03-25 10:34:33 +08:00
回复了 WINGO 创建的主题 MacBook Pro 2016NBP, 15 寸,出现新问题
@oroge 叫数码雾屏是吗 ;)
2017-03-20 18:37:11 +08:00
回复了 abellee 创建的主题 iOS 关于一个游戏社区的构思,欢迎各位来拍板子
@tieshu 不好意思 手机打的- -!
2017-03-20 11:53:14 +08:00
回复了 abellee 创建的主题 iOS 关于一个游戏社区的构思,欢迎各位来拍板子
@westy 你们原来在做哪方面的社区 能大概聊下吗?
再是 我觉得只要有了流量 最后最简直 直接 有效的变现方式就是广告吧
2017-03-20 11:11:22 +08:00
回复了 abellee 创建的主题 iOS 关于一个游戏社区的构思,欢迎各位来拍板子
@westy 我想 解决了 1 2 不是问题吧
2017-03-17 15:32:19 +08:00
回复了 vic2012 创建的主题 macOS macOS 上有靠谱的第三方输入法吗?
我倒是想用系统自带的 但那个五笔不是一般的难用
2017-03-17 15:23:14 +08:00
回复了 abellee 创建的主题 iOS 关于内存泄漏问题
@acumen
@paradoxs
@dangyuluo
@zhongdong
@XDDD
@expkzb
@eato

上示例代码了
2017-03-16 23:18:03 +08:00
回复了 abellee 创建的主题 iOS 关于内存泄漏问题
@zhongdong
push 自定义数据类
长驻界面 -----------------------------------------------> 新界面
pop 新界面的 deinit 被调用,即释放
长驻界面 <----------------------------------------------- 新界面

就这么个过程,但在新界面释放后, PleakSniffer 报了个自定义数据类 可能内存泄漏的提示
2017-03-16 23:12:36 +08:00
回复了 abellee 创建的主题 iOS 关于内存泄漏问题
@zhongdong 不好意思 我想说的意思其实就是传值,从一个长驻界面,传一下自定义的数据类到新的视图里,新的视图里会暂存一下。
新视图的 deinit 已经被调用了的,我的理解也就是已经释放了。
但传进来的数据类报了可能内存泄漏
2017-03-11 23:54:44 +08:00
回复了 thekll 创建的主题 程序员 那些做共享单车的就没考虑乱停车问题吗?
都停哪了?杭州感觉还好啊 都停在路边 有人停路中间了?
2017-03-11 23:51:29 +08:00
回复了 abellee 创建的主题 iOS 关于 UITableViewCell 重用的问题
@laoyur 已经放弃用原生的 改成 asdk 了
2017-03-11 02:30:19 +08:00
回复了 abellee 创建的主题 iOS 关于 UITableViewCell 重用的问题
@loveuqian 一样有这些问题吧
2017-03-11 00:49:22 +08:00
回复了 abellee 创建的主题 iOS 关于 UITableViewCell 重用的问题
@Elethom
hugging 跟 compression resistance 这两个在 SnapKit 里有的吗?我就看到一个 priority
还是通过自己去定义这两个,比如 hugging 是 500 , compression resistance 是 700 这样?
2017-03-10 23:54:47 +08:00
回复了 abellee 创建的主题 iOS 关于 UITableViewCell 重用的问题
@Elethom 惭愧,真心不是很熟 priority 在这方面的应用,我查下资料看看。或者你有没好一点的资料分享下看看,先谢过了。
2017-03-10 23:48:38 +08:00
回复了 abellee 创建的主题 iOS 关于 UITableViewCell 重用的问题
解决了:
最后报的那个错是说一堆的约束想打破图片容器里某一个约束,这里可能是我想多了,
就是在处理 UIScrollView 或 UITableViewCell 的 contentView 的时候,我会把最后一个视图的 bottom 约束到 contentView 的 bottom ,以告知 contentView 该怎么拉伸,
而 ImageCell 实际就是一个 UIView ,我也做了这样的处理,反而出错了,我直接把这条约束去掉就 ok 了
2017-03-10 23:32:13 +08:00
回复了 abellee 创建的主题 iOS 关于 UITableViewCell 重用的问题
@kera0a 我现在改了一种方式,就是在 setModal 里,开始就把缓存里的约束,也就是上一个 cell 可能已经设置了的约束 deactivate 掉,怎么滚都显示对了,然后还是报下面的错

Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<SnapKit.LayoutConstraint:[email protected]#110 \U00c1\U00c6\U00c4\U00ca\U220f\U220f.UIView:0x7faac0e43ce0.left == UITableViewCellContentView:0x7faac0c34920.left + 10.0>",
"<SnapKit.LayoutConstraint:[email protected]#110 \U00c1\U00c6\U00c4\U00ca\U220f\U220f.UIView:0x7faac0e43ce0.top == UITableViewCellContentView:0x7faac0c34920.top + 10.0>",
"<SnapKit.LayoutConstraint:[email protected]#111 \U00c1\U00c6\U00c4\U00ca\U220f\U220f.UIView:0x7faac0e43ce0.width == 40.0>",
"<SnapKit.LayoutConstraint:[email protected]#122 UILabel:0x7faac0e3a1e0.left == \U00c1\U00c6\U00c4\U00ca\U220f\U220f.UIView:0x7faac0e43ce0.right + 10.0>",
"<SnapKit.LayoutConstraint:[email protected]#123 UILabel:0x7faac0e3a1e0.top == \U00c1\U00c6\U00c4\U00ca\U220f\U220f.UIView:0x7faac0e43ce0.top>",
"<SnapKit.LayoutConstraint:[email protected]#127 UILabel:0x7faac0e3a360.left == UILabel:0x7faac0e3a1e0.left>",
"<SnapKit.LayoutConstraint:[email protected]#136 \U00c1\U00c6\U00c4\U00ca\U220f\U220f.ImageCell:0x7faac0e445d0.left == UILabel:0x7faac0e3a360.left>",
"<SnapKit.LayoutConstraint:[email protected]#137 \U00c1\U00c6\U00c4\U00ca\U220f\U220f.ImageCell:0x7faac0e445d0.right == UITableViewCellContentView:0x7faac0c34920.right>",
"<SnapKit.LayoutConstraint:[email protected]#147 UILabel:0x7faac0e3ec10.bottom == UITableViewCellContentView:0x7faac0c34920.bottom - 10.0>",
"<NSLayoutConstraint:0x7faac0d77800 'UIView-Encapsulated-Layout-Width' H:[UITableViewCellContentView:0x7faac0c34920(375)]>",
"<NSLayoutConstraint:0x7faac0d77ae0 'UIView-Encapsulated-Layout-Height' V:[UITableViewCellContentView:0x7faac0c3920(87.22)]>",
"<SnapKit.LayoutConstraint:[email protected]#60 UIView:0x7faac0f300d0.height == \U00c1\U00c6\U00c4\U00ca\U220f\U220f.ImageCell:0x7faac0e445d0.width * 0.333333343267441 - 10.0>",
"<SnapKit.LayoutConstraint:[email protected]#78 UIView:0x7faac0f300d0.top == \U00c1\U00c6\U00c4\U00ca\U220f\U220f.ImageCell:0x7faac0e445d0.top>",
"<SnapKit.LayoutConstraint:[email protected]#84 UIView:0x7faac0f300d0.bottom == \U00c1\U00c6\U00c4\U00ca\U220f\U220f.ImageCell:0x7faac0e445d0.bottom>",
"<SnapKit.LayoutConstraint:[email protected]#226 \U00c1\U00c6\U00c4\U00ca\U220f\U220f.ImageCell:0x7faac0e445d0.top == UILabel:0x7faac0e3a1e0.bottom + 10.0>",
"<SnapKit.LayoutConstraint:[email protected]#270 UILabel:0x7faac0e3ec10.top == \U00c1\U00c6\U00c4\U00ca\U220f\U220f.ImageCell:0x7faac0e445d0.bottom + 10.0>"
)

Will attempt to recover by breaking constraint
<SnapKit.LayoutConstraint:[email protected]#84 UIView:0x7faac0f300d0.bottom == ∏∏.ImageCell:0x7faac0e445d0.bottom>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2017-03-10 23:29:14 +08:00
回复了 abellee 创建的主题 iOS 关于 UITableViewCell 重用的问题
@kera0a 我不知道是不是 remake 跟先 remove 再 make 是不一样的?
我试了 remove 再 make 显示是正常的,但还是会报错。一定要用 remake 吗?
2017-03-10 23:27:43 +08:00
回复了 abellee 创建的主题 iOS 关于 UITableViewCell 重用的问题
@kera0a
是这样的 一个 cell 里有 头像 昵称 文字 展开 图片 以及时间 开始的时候我是分成了两个,一个是专门显示文字的,一个是有图片的,两种 cell ,但是需求是 除了头像 昵称 及时间,其它都可能隐藏 /显示,所以即使分成两个,也避免不了上面的问题,所以现在我干脆就弄一起。

再一个是 我查了文档是说,如果我先 make 了 left right top ,我想再新增加一个约束,是用 make ,但是如果是想更新 left right top 这三者,我应该是用 updateConstraints 吧?
再就是 remake 实际也是先 remove 再 make ,那我先 removeConstraints 再 makeConstraints 应该是一样的吧?
1  2  3  4  5  6  7  8  
关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     5785 人在线   最高记录 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 26ms UTC 02:18 PVG 10:18 LAX 18:18 JFK 21:18
Do have faith in what you're doing.
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86