Search results for

Swift 6

49,194 results found

Post

Replies

Boosts

Views

Activity

NSTableView dynamic cell row height?
I'm just playing around with Xcode 7 and trying some Objects in the Interface Builder Library for OS X. One problem I can't solve myself:I drag a new NSTableView to my ViewControllerScene. I can add text to the cells and I can add text in a new line, by pressing the ALT-key while hiting the Return-Key. So I have text in 2 or more lines. When I left the cell, the TableView only shows the first line, the rest of the text is invisible.How can I change the cell-height of this cell dynamicly? [If the users text have 3 lines, the height of this cell should show 3 lines height, if the users text is in the next line cell just 1 line, this row should be just big enough for 1 line.]Is there a magical attribute I don't see? Or how would I do this dynamic cell row height in Swift for NSTableView's Cells / Rows?
Topic: UI Frameworks SubTopic: AppKit Tags:
7
0
9.2k
Jun ’15
Link warning after converting project to Xcode 7
(Since there's no specific forum for the beta of Xcode 7, I'm posting this here...)After letting Xcode convert a simple Swift project to Xcode 7, and fixing the various Swift inspired build errors, I'm still seeing a link warning:ld: warning: directory not found for option '-F/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'This looks like it's coming while Xcode is linking the test target:Ld /Users/John/Library/Developer/Xcode/DerivedData/Test-aertfqgditidcgdgjozgjseufxmx/Build/Products/Debug-iphonesimulator/TestTests.xctest/TestTests normal x86_64 cd /Users/John/Dev/Test export IPHONEOS_DEPLOYMENT_TARGET=8.2 export PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin /Applications/Xcode-beta.app/Con
11
0
41k
Jun ’15
CoreMotion and iBeacons in background mode
Hello All,I’ve created application which logs motion activity of user with CoreMotion framework and M7-chip functionality (I’m using CMMotionActivityManager).Application works fine in foreground. But I need to check that event occurred in 3-7 seconds frame in background mode.And I need to range iBeacons - check entering to specified zone in background mode and activate my test for the motion event.According following review http://developer.radiusnetworks.com/2013/11/13/ibeacon-monitoring-in-the-background-and-foreground.htmlthe time for detection is about 4 minutes (in average and up to 15 minutes) in background mode.Does exist any method or workaround to grab data for motion activity and ranging iBeacon in the background with better accuracy?- I need to check that event occurred in 3-7 seconds frame and notify user.My concept application works in the following way:1. I’ve activated background mode flags for CoreLocation and Audio (it plays audio signal on event detection).2. At start it requests authorizati
2
0
5.6k
Jun ’15
Why can't I sign in to iCloud when I select "Use different Apple IDs for iCloud and iTunes?"
So, I've restored onto my iPhone 6 and started getting back into the phone.When I'm on the Apple ID screen, select Sign In with Your Apple ID then select Use different Apple IDs for iCloud and iTunes? and then enter the information - the Next button is never enabled, and no way to continue.Anyone else having the same problem? I'm sure just doing it later would likely work, it's just the on-boarding workflow that's busted.
0
0
201
Jun ’15
iOS 9 carrier name issue iPhone
Why always showing iPhone carrier name on the left top corner? I have ATT carrier. I tried to reset network settings its works, but after reboot turns back to iPhone How to fix it? Cause i dont understand when good signal, when bad... when carrier avialable, when not...iPhone 6, AT&T 
11
0
3.2k
Jun ’15
What's the proper way to get Xcode to accept a git repo with spaces in the repo name?
This worked in Xcode 6. Xcode used to replace spaces with %20 and work. I've tried with spaces, backslash before spaces, quoting the string, and double quoting the string. Xcode won't even try to hit the server, probably some parsing error. Using %20 appears to crash Xcode. In fact, I had to delete my old repo in the list from an earlier version of Xcode to even see the list in Xcode 7 beta.
0
0
193
Jun ’15
Calendar events not syncing
Watch 2, iOS9 on an iPhone 6 - Everything seems to be syncing now except my calendar. Watch app shows that the calendard is set up, all the events are on my iPhone correctly, nothing shows up on the Watch in the calendar app or in the glances or on the watch face.
20
0
3.9k
Jun ’15
Reply to Generics?
Thanks!I also managed to dig up information in the Swift - ObjC bridging book. Cool stuff. Hopefully Apple has liberally sprinkled their API with generics to reduce casting in Swift.
Topic: Programming Languages SubTopic: General Tags:
Jun ’15
Using Xcode 7 for production apps
I want to take advantage of the new UI testing features in Xcode 7. However it's forcing me to upgrade my project to Swift 2. I'm guessing Swift 2 apps can't be submitted yet? How can I make use of Xcode 7 on a project which mixes Swift and Objective-C code while still keeping it able to submit.
13
0
2.2k
Jun ’15
use of unresolved identifier 'self'
So I'm trying to debug a swift app with LLDB and ever since I incorporated cocoapods, I get this error when trying to use po on any variables or objects.error: <EXPR>:1:1: error: use of unresolved identifier 'self'I have checked all the optimization settings for my targets and project overview and everything seems correct according to other forums posts that used to be here.This is happening with xcode 6.3.2 and 6.4 beta 3, I havent tried with xcode 7 yet because I dont want to convert my app over to swift 2 yet.From what little I have learned it might be an xcode bug, but since its really difficult to debug complex apps with random println() I'm following up and trying to make sure I didnt miss some random setting that might be affecting this.Thanks.
1
0
4.1k
Jun ’15
Reply to Phone no longer Working
Same issues here. AT&T 64gb iPhone 6. Can answer calls but no sound. Can place calls but no sound.Placing calls, once I hit the call button, the phone apps goes blank except for the red end button which is unusable. Basically, the phone app is pointless.Bluetooth DOES function just as would be expected both placing & receiving calls.Robert
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15