Search results for

Swift 6

49,205 results found

Post

Replies

Boosts

Views

Activity

UIKeyboardTypeDecimalpad
When use UIKeybaordTypeDecimalPad in iOS8 or above will get minor problem for the keybord, the point position is not in the central of the key. Detailed question description please refer http://stackoverflow.com/questions/26965001/xcode-6-1-ios-8-keyboard-decimal-pad-is-not-properly
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
663
Jun ’15
Reply to Battery Use Worse
I had the same issue with battery drain on day one - after 7 hours I had only about 10% battery. But I used Siri about more than 10 times and scribbled a little bit.Today on day two I had more than 70% battery left after 6 hours - which is quite good :-) The first hour I was all the time on 100% then it droppped to 99% which I was asthonished about :-p But i didn't used Siri or Scribbles just read notifications I recieved, checked the time and used navigation for 5 minutes.Don't know if the difference is just because of Siri and Scribble or maybe some setup processes were in background on day one.Let's see how the battery is draining the next days.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Swift 2 REPL
HiWhere can I find the swift 2 REPL? I'm now running Mac OSX v10.11 with XCode 7 installed and running, but when I use the swift command in Terminal it tells me its using swift 1.2.Thanks in advance,Rugen Heidbuchel
1
0
392
Jun ’15
Reply to iOS 9b1: Podcast app crashes on startup
Hi,seeing the same thing here. Also tried to delete all podcasts by removing them from the sync in iTunes. I haven't tried to reinnstalling, but attached is the crash-log.Incident Identifier: B5F20F2E-F1DF-469D-B710-8DEE3DC9104BCrashReporter Key: fb29f236715284e01c3ca12533f80c13bbf8eb99Hardware Model: iPhone7,2Process: Podcasts [425]Path: /Applications/Podcasts.app/PodcastsIdentifier: com.apple.podcastsVersion: 967.2 (2.3)Code Type: ARM-64 (Native)Parent Process: launchd [1]Date/Time: 2015-06-10 13:18:56.56 +0200Launch Time: 2015-06-10 13:18:55.55 +0200OS Version: iOS 9.0 (13A4254v)Report Version: 105Exception Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYTriggered by Thread: 7Filtered syslog:None foundLast Exception Backtrace:0 CoreFoundation 0x182f93f44 0x182e6c000 + 12122281 libobjc.A.dylib 0x197faff2c 0x197fa8000 + 325562 CoreFoundation 0x182f93e8c 0x182e6c000 + 12120443 Foundation 0x183e10f0c 0x183e04000 + 530044 Podcasts 0x100171198 0x10
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Swift and Mathematics
Perhaps I am misunderstanding your question, but all mathematical functions fromhttps://developer.apple.com/library/ios/documentation/System/Conceptual/ManPages_iPhoneOS/man3/math.3.html#//apple_ref/doc/man/3/mathare available in Swift, for example:import Foundation let x = sin(M_PI/2) let y = atan2(0.0, 1.0) let z = exp(1.0) let p = pow(2.0, 3.0)
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
SCNSceneSource.entryWithIdentifier not working with Xcode 7.0 and Swift 2.0
With Xcode 6.3.2 and Swift 1.3 Collada (DAE) files were loaded and entries found (e.g. animation) by using SCNSceneSource.entryWithIdentifier. With Xcode 7.0 and Swift 2.0, the file is loaded (SCNSceneSource.identifiersOfEntriesWithClass work) but no entries are found.Tried with MacOSX, iOS apps and several files.Her is the codelet sceneSource = SCNSceneSource(URL: url!, options: nil) let animationIDs = sceneSource.identifiersOfEntriesWithClass(CAAnimation.self) as [String] let animation : CAAnimation? = sceneSource.entryWithIdentifier(Name, withClass: CAAnimation.self)First two lines work and return identifiers including the one label Name. Line 3 returns only nil. Same code worked before with Xcode 6.3.2 and Swift 1.3
1
0
906
Jun ’15
Trying to use side-by-side full screen mode in El Capitan
I am trying to use side-by-side full screen mode in El Capitan. I honestly don't know if I am missing something or if it does not work for me. If I click and hold down the green light button in the Safari menu bar, I do not see a way to pick a side of the screen. I can either let it go or continue to hold. Dragging seems to have no effect.I see these messages in the Console, making me think that something is not working properly:6/10/15 10:09:49.002 AM WindowServer[200]: _CGXRemoveWindowFromWindowMovementGroup: window 0x33c is not attached to window 0x33e 6/10/15 10:09:55.407 AM WindowServer[200]: _CGXRemoveWindowFromWindowMovementGroup: window 0x33c is not attached to window 0x33e 6/10/15 10:09:58.800 AM WindowServer[200]: _CGXRemoveWindowFromWindowMovementGroup: window 0x33c is not attached to window 0x33eJohn
0
0
198
Jun ’15
Reply to iOS 9 Beta battery life
Same here - iPhone 6 w/ ios9 beta installed - phone was in bag when I went home from work around 6PM. When I put it in the bag it was just taken off the charger and was at 100%. At 7:30AM I went to look at my meetings for the morning and it just showed the low/no battery graphic.Yes I know it's a beta. Yes I'm aware of the crap that beta's can bring - I've been through four of these cycles now. I just want to add my experience.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Crash with NSOpenPanel and XCode 7
Using El Capitan and XCode 7, the following trivial snippet of code causes a Swift related exception to be thrown:func openDocument(sender: AnyObject?) { let panel = NSOpenPanel(); let types = [ abc, def ] panel.allowedFileTypes = types; panel.runModal(); }The exception is [Swift._SwiftDeferredNSArray supportsSecureCoding]: unrecognized selector sent to class 0x1002de2c0. And it is triggered when assigning types to allowedFileTypes.
3
0
770
Jun ’15
Reply to iOS 9 Beta battery life
ssame problem here, both on iPhone 6 and the Apple Watch (not yet upgraded to Watch OS 2). Burned through a full, nearly new iPhone 6 in 5 hours without actually using the phone for anything except with the watch. Watch battery gone in 4 hours. Did a complete reset of watch, and set up phone from scratch. Not so much battery problem on iPad Air.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15