allenwong / 30daysofswift Goto Github PK
View Code? Open in Web Editor NEWA self-taught project to learn Swift.
A self-taught project to learn Swift.
Could you potentially do a little bit of subclassing by making another VC file that just does prefersStatusBarHidden
then subclass the other 3 VC's?
I want to know 100 Days of Swift's where i can download the source code,thank you very much!!!
👍
Learn swfit practice project.学习swift3.0的练手项目,每个项目都是纯代码编写,绝不拖控件。准备写40个项目。
https://github.com/flywo/SwiftPractice
Hi, I juste started learning Swift and I wonder if you are using Swift 3 or not.
Your experience should be a great start point for me.
Thxs
Project 08 - RandomGradientColorMusic 音乐文件失效
Hello, I get the error:
Ambiguous reference to member '+'
at this:
self.locationLabel.text = locality! + postalCode! + administrativeArea! + country!
any way to fix it?
I am just getting started with swift so I am not sure what the problem here is :/
EDIT:
The problem seems to be with the + administrativeArea! + country!, part I converted to swift 3.
屏幕的适配是每个屏幕都去调整的嘛?还是可以让它自动适配。我没有看到相关的代码。能解答下嘛,不胜感激。
这涨势NB啊
Hi there, excellent repository! 👏
I would love to add your slide out menu in my app, but I've struggled with it so far. The app consists of a storyboard with a navigation controller and 3 views and I want to add your slide out menu in order to point to these three views. Would you like to give me a few pointers on how to do it?
Keep up the good work! 👏
Best,
:panos
哈哈,,**我又来了,,提升下知名度,借点赞嘛。。。
如题
rt,AppDelegate 中不少有关 CoreData 的代码,尝试去掉也能运行,那第一个简单的 demo 为什么要使用 CoreData 呢?意义何在?
比如Apache2, MIT之类的。
I am trying to do a test for the updateCounter() Method however it keeps returning nil and crashing
func UpdateTimer() {
Counter = Counter + 0.1
timeLabel.text = String(format: "%.1f", Counter)
}
Here is the code I used to generate the test, and tried to use a fake UIlabel to capture the update method.
class StopWatchTests: XCTestCase {
var sut:ViewController!override func setUp() { super.setUp() sut = ViewController() let testingUIlabelFrame = CGRectMake(5, 5, 100, 100) sut.timeLabel = UILabel(frame: testingUIlabelFrame) sut.timeLabel.text = "test" } override func tearDown() { super.tearDown() sut = nil } func testUpdateTimere() { //Test that counter is incremented by one sut.Counter = 10 sut.UpdateTimer() XCTAssertEqual(sut.Counter, 11) let timelabel = sut.timeLabel.text }
Besides refactoring the logic to move the ui update to a different method - is there any way to make above work as is?
demo 在 Xcode 8.2 上提示需要转换为 Swift3
Project4的代码只实现了scrollVIew滑动,希望大神能提供实现效果图的代码!
在试运行 CustomFont project时,报错提示没有相对应的ttf字体
都快1年了,版本也没更过。提的PR也不处理
swift 都可以轻松搞定了??你他吗的还是设计师吗???
PR incoming!
Is my contact way:
QQ: 742955968 Attention :Attach your name
Email : [[email protected]] OR [email protected]
Tel : China By The iPhone 010-15210075149
Address : I live in Beijing haidian district
Thank you very much for your support
ths!
应该使用self.dismissViewControllerAnimated(true, completion: nil)吧
啧啧啧...
当连续点击 login 按钮的时候,按钮的宽度会持续增加,甚至会超过屏幕宽度
project 1 里面的button的属性设置成hidden的话,应该是会不显示吧。和demo效果应该是不一样的吧。感觉和demo效果一样的话应该用enable吧
克隆代码提示:templates not found /usr/local/git/share/git-core/templates
When login button is pressed, nothing happens, which is expected to show another welcome view controller. Hope you could fix it some time.
PS: I recommend you to group source files from https://github.com/movielala/VideoSplashKit into a folder or so, to show that it's a bundle, instead of files created by your own. Just a suggestion. :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.