Search results for

Swift 6

49,196 results found

Post

Replies

Boosts

Views

Activity

First Time Coding
Hey, I was hoping some of you guys could give me some links to somewhere which would help me learn to code with Swift. This is my first time coding, so I have no background experience at all.I have basically thought of an app idea, and I need to learn how to set up a link in the app so that the user would be able to call someone just by pressing a button in the app. If any of you woukd be able to give me any tips, any help at all would be appreciated.By the way, the app is for an iOS. In the future, I also plan on developing the app for watchOS.Thanks,Luke.By the wy, the app is for an iPhone 6, if that makes a difference.
3
0
758
Jun ’15
Reply to Filesystem Lab notes
@rtrouton,For SIP / the security lab: Organizations may set a requirement to remove a previously-installed Java 6 JDK (especially on upgraded computers). It appears that specific directories (that may be protected) should be deleted. Not sure if removing items from /System/Library/Java/JavaVirtualMachines/ is possible.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to First Time Coding
Seen these?ResourcesThe Swift Programming LanguageUsing Swift with Cocoa and Objective-CSwift Programming Language manualAs well,Swift has it's own forum here...And for tips on your app, visit the Dev Center to check out the Human Interface Guidelines, guides and sample apps to help get you started.Good luck.
Jun ’15
Reply to iOS 9 Beta battery life
I also had battery drain, every 3 minutes one per cent. I re-installed ios 9 beta again and now iphone 6 & 6+ work again with no power loss at all. Re-installing on iPad Air 2 now. Will check it.(BTW, I had to re-install it 2 times on iphone 6 but it's woth it)
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Swift 2 compatibility
Will Swift 2 be keeping iOS7+, OS X 10.9+ compatibility as Swift 1 or dropping any of the older versions? I expect the former but didn't see it explicitly anywhere. Just to avoid surprises.I assume it is still iOS 8+ for including dynamic libraries/frameworks in release product.The above question is for actual release later in App Store not just development environment which as we know can be different (wider or narrower) than what is supported for release.Can someone from Swift team comment/confirm?
0
0
355
Jun ’15
Moving function pointer code to Swift 2
My sqlite code doesn't compile anymore in Swift 2. The problem lines are this:let SQLITE_STATIC = sqlite3_destructor_type(COpaquePointer(bitPattern: 0)) let SQLITE_TRANSIENT = sqlite3_destructor_type(COpaquePointer(bitPattern: -1))Command clicking to Swift's import of sqlite shows this:typealias sqlite3_destructor_type = (UnsafeMutablePointer<Void>) -> VoidComing from the following in sqlite3.h:typedef void (*sqlite3_destructor_type)(void*); #define SQLITE_STATIC ((sqlite3_destructor_type)0) #define SQLITE_TRANSIENT ((sqlite3_destructor_type)-1)Anyone know how to create those two constants in Swift 2.0? Even better if there's some way to import sqlite in Swift 2 without this bridging header stuff.Rob
2
0
705
Jun ’15
Waiting for moderation of my last question, it's 9 hours ago now.
I posted a question to this new forums (in Xcode/Swift) now nine hours ago. I got this message when I pressed Post:Please note: your content was added successfully, but a moderator needs to approve it before it can be posted.And now I can only see it in Content -> Drafts, still with the above message.Anyone else experiencing this?Anyone have an idea what might be wrong?(I can't imagine that my question broke any forum rules or anything like that.)Also, apparently I have to enter the name of a place, and there is no place remotely describing the topic of this question, so I will just have to choose one that I think will be seen by a lot of people.I will now press Post and see if this question will just join the other one in Drafts or not.
11
0
2.8k
Jun ’15
Reply to Waiting for moderation of my last question, it's 9 hours ago now.
I've just rewritten and reposted the above mentioned question, and that question is now both(!) in Draft and visible in this Swift space, at least for me, can everyone see this: https://forums.developer.apple.com/thread/3909or can only I see it? Because that question also has the same warning message above it that says it can't be posted until someone approves it.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15