小编VAR*_*SAC的帖子

十二生肖邮件发送在Pharo smalltalk

我试图用CentOS机器中的黄道带与gmail smtp发送邮件.我收到以下错误.

"SSL/TLS plugin initialization failed. VM missing plugin? " 
Run Code Online (Sandbox Code Playgroud)

我已下载并将"so.SqueakSSL"与其他.so文件一起放在虚拟机目录中并使用"chmod 777 so.SqueakSSL".但仍然显示错误.我错过了什么?工作区代码是:

Gofer it
    squeaksource: 'Zodiac';
    package: 'Zodiac-Core';
    package: 'Zodiac-Tests';
    package: 'Zodiac-Extra';
    load.

  "Load extra Zinc support for Zodiac"

Gofer it
squeaksource: 'ZincHTTPComponents';
package: 'Zinc-Zodiac';
load.
| mailMessage |
mailMessage := MailMessage empty.
mailMessage setField: 'subject' toString: 'ZdcSecureSMTPClient Test'.
mailMessage body: (MIMEDocument 
                 contentType: 'text/plain' 
                 content: 'This is test from Pharo Smalltalk').
ZdcSecureSMTPClient
sendUsingGMailAccount: 'varunisacc@gmail.com' 
password: 'mypassword'
to: 'varunisacc@gmail.com' 
message: mailMessage.
Run Code Online (Sandbox Code Playgroud)

smalltalk seaside pharo gemstone

6
推荐指数
1
解决办法
777
查看次数

每行分隔符上的UITableView不需要的白线

我一直在使用以下代码进行tableview

 _comboBoxTableView = [[UITableView alloc] initWithFrame:CGRectMake(1, _selectContentLabel.frame.origin.y+_selectContentLabel.frame.size.height-1, frame.size.width+1, 48) style:UITableViewStylePlain];
_comboBoxTableView.layer.borderColor=[UIColor colorWithRed:226.0/255.0 green:226.0/255.0 blue:226.0/255.0 alpha:1].CGColor;
_comboBoxTableView.layer.cornerRadius = 10;
_comboBoxTableView.layer.borderWidth = 1.0f;
_comboBoxTableView.separatorColor = [UIColor colorWithRed:166.0/255.0 green:166.0/255.0 blue:166.0/255.0 alpha:1];
[_comboBoxTableView setSeparatorStyle:UITableViewCellSeparatorStyleSingleLine];
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述 每个分隔符左侧都有不需要的白色,如下所示.

这是一个错误吗?我用ios7.1运行它.有什么工作吗?

objective-c uitableview ipad ios ios7.1

6
推荐指数
1
解决办法
586
查看次数

标签 统计

gemstone ×1

ios ×1

ios7.1 ×1

ipad ×1

objective-c ×1

pharo ×1

seaside ×1

smalltalk ×1

uitableview ×1