原文地址:http://stackoverflow.com/questions/24002369/how-to-call-objective-c-code-from-swift Using Objective-C Classes in Swift(在swift中使用oc) ** If you have an existing class that you'd like to use, perform Step 2 and then skip to Step 5. (For some cases,…
配置python+mod_wsgi+apache 时 在浏览器中访问服务器时报错:Invalid HTTP_HOST header: 'XXXXX'. You may need to add u'XXXXX' to ALLOWED_HOSTS,在setting.py中添加ALLOWED_HOSTS['*"]无效的原因:是apache没有配置ServerName localhost:80 .配置完成后,解决了以上的问题 故障表现的现象是:使用localhost 访问apache是ok的,单无法使…