Search results for

“xcode github”

95,401 results found

Post

Replies

Boosts

Views

Activity

Reply to Any news on reflection in Swift 2.0?
They showed simple enum type names printing properly during the What's New In Swift session that can be streamed from WWDC.In Swift 2 / Xcode 7 beta, it seems that enums imported from ObjC still have issues, and only simple Swift enum types are printable.let strX = this is (NSRoundingMode.RoundPlain) // this is C.NSRoundingMode enum TestBasicEnum { case Option1 case Option2 } let strY = this is (TestBasicEnum.Option1) // this is TestEnum.Option1 enum TestRawEnum: String { case Option1 = text1 case Option2 = text2 } let strW = this is (TestRawEnum.Option1) // this is TestEnum.Option1 enum TestRichEnum { case Option1 (String) case Option2 (String) } let opt = TestRichEnum.Option1(text) let strZ = this is (opt) // this is TestRichEnum
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
POST bad params with NSURLSession
Hi,I try to use NSURLSession with HTTPAdditionalHeaderMy code setting headers in requestlet URL = NSURL(string: (hostName)(uri))! let request = NSMutableURLRequest(URL: URL) request.HTTPMethod = method request.HTTPBody = NSJSONSerialization.dataWithJSONObject(params, options: nil, error: nil) request.setValue(application/vnd.myapp.v2, forHTTPHeaderField: Accept) request.setValue(application/json, forHTTPHeaderField: Content-Type) request.setValue(gzip, forHTTPHeaderField: Content-Encoding)And with POST request it's produce this on my server :Parameters: {email=>me@email.com, password=>[FILTERED], subdomain=>api, session=>{email=>me@email.com, password=>[FILTERED]}}With NSURLSession, setting headers with HTTPAdditionalHeaders of NSURLSessionConfigurationvar headers = [ Accept: application/vnd.myapp.v2, Content-Type: application/json, Content-Encoding: gzip, ] let request = NSMutableURLRequest(URL: NSURL(string: (hostName)(uri))!) request.HTTPMethod = method request.HTTPBody = NSJSONS
Topic: UI Frameworks SubTopic: AppKit Tags:
1
0
2.5k
Jun ’15
Answer to Java SE 6 problem for El Capitan
Hello! I have searched around the web for finding a solution to the Java SE 6 Runtime that cannot be installed and doesn't allow apps to work as suppose. So while searching the web I found different articles about uninstalling it and deleting the newer version...ect. Nothing worked so I thought what if you go the opposite way instead of deleting it you make your apps think that your Java SE 8u45 is your Java SE 6. Well this article finally helped me http://stackoverflow.com/questions/19563766/eclipse-kepler-for-os-x-mavericks-request-java-se-6/19594116#19594116You will have to change the code and add your version of Java and dont forget to log out and back on!!!HOPE THIS HELPS!!!
1
0
513
Jun ’15
Xcode 7 - new feature UITesting - no recording button !
I'm trying to get the User Interface Testing working with my appplication.I created a UI Test Case Class, reproduced the code shown in What's new in Xcode presentation.And somehow, I cannot find the recording button, in order to record the different actions I want to test and approve.Can you please let me know how to get this to work, I'm bashing my head over this for few hours.Thanks
6
0
6.3k
Jun ’15
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
676
Jun ’15
Xcode Code Coverage results
I've found that Xcode 7 seems to generate its code coverage results on a xccoverage file inside Logs/Test on my project's derived data folder. Is there a way to get this file name from xcodebuild? Also, is there a way to convert it to another format (gcov or Cobertura XML for example)?
Replies
9
Boosts
0
Views
17k
Activity
Jun ’15
Reply to Xcode Code Coverage results
See: QA1514: Technical Q&A QA1514: Configuring Xcode for Code Coverage...it explains how to save that file to your choice of location.You may need to use Report Bugs to make a feature request if you'd like the ability to convert/export.◅▻
Replies
Boosts
Views
Activity
Jun ’15
How do you start the watchkit 1 to 2 migration?
I started the new Xcode, after converting to new standard and Swift, nothing seems to change, it is still the same old WatchKit model (iPhone app runs code). How do I convert to WatchKit 2?
Replies
1
Boosts
0
Views
429
Activity
Jun ’15
Reply to Swift Example Code
I just wanted to know if anyone else is having trouble downloading Xcode 7? I cant seem to download it!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’15
Where is the Swift 1.2 to 2.0 Migrator ?
The Xcode 7.0 beta documentation refers to a Swift 1.2 to 2.0 Migrator, but there is no menu item in Xcode for this as far as I can tell.Has anyone used the migrator?
Replies
3
Boosts
0
Views
1.8k
Activity
Jun ’15
Xcode beta 7 stops responding when trying to verify contents. Is anyone else having this problem?
Downloaded the Xcode 7 beta but the program stops responding while gateway verifies the program. Is anyone else having this problem?
Replies
1
Boosts
0
Views
914
Activity
Jun ’15
Reply to Any news on reflection in Swift 2.0?
They showed simple enum type names printing properly during the What's New In Swift session that can be streamed from WWDC.In Swift 2 / Xcode 7 beta, it seems that enums imported from ObjC still have issues, and only simple Swift enum types are printable.let strX = this is (NSRoundingMode.RoundPlain) // this is C.NSRoundingMode enum TestBasicEnum { case Option1 case Option2 } let strY = this is (TestBasicEnum.Option1) // this is TestEnum.Option1 enum TestRawEnum: String { case Option1 = text1 case Option2 = text2 } let strW = this is (TestRawEnum.Option1) // this is TestEnum.Option1 enum TestRichEnum { case Option1 (String) case Option2 (String) } let opt = TestRichEnum.Option1(text) let strZ = this is (opt) // this is TestRichEnum
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’15
Cannot Download Xcode 7 Beta
Has anyone also come across this issue where the download link bounces you back or takes you to your apple ID profile page?
Replies
8
Boosts
0
Views
529
Activity
Jun ’15
App installation failed, Could not inspect the application package.
I am able to test my app on the simulator, but Xcode fails to install and run the app on iPhone 6 plus.My app name does not include non latin lettersCerrificates are valid.Appreciate your help.
Replies
0
Boosts
0
Views
1.6k
Activity
Jun ’15
POST bad params with NSURLSession
Hi,I try to use NSURLSession with HTTPAdditionalHeaderMy code setting headers in requestlet URL = NSURL(string: (hostName)(uri))! let request = NSMutableURLRequest(URL: URL) request.HTTPMethod = method request.HTTPBody = NSJSONSerialization.dataWithJSONObject(params, options: nil, error: nil) request.setValue(application/vnd.myapp.v2, forHTTPHeaderField: Accept) request.setValue(application/json, forHTTPHeaderField: Content-Type) request.setValue(gzip, forHTTPHeaderField: Content-Encoding)And with POST request it's produce this on my server :Parameters: {email=>me@email.com, password=>[FILTERED], subdomain=>api, session=>{email=>me@email.com, password=>[FILTERED]}}With NSURLSession, setting headers with HTTPAdditionalHeaders of NSURLSessionConfigurationvar headers = [ Accept: application/vnd.myapp.v2, Content-Type: application/json, Content-Encoding: gzip, ] let request = NSMutableURLRequest(URL: NSURL(string: (hostName)(uri))!) request.HTTPMethod = method request.HTTPBody = NSJSONS
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
1
Boosts
0
Views
2.5k
Activity
Jun ’15
Answer to Java SE 6 problem for El Capitan
Hello! I have searched around the web for finding a solution to the Java SE 6 Runtime that cannot be installed and doesn't allow apps to work as suppose. So while searching the web I found different articles about uninstalling it and deleting the newer version...ect. Nothing worked so I thought what if you go the opposite way instead of deleting it you make your apps think that your Java SE 8u45 is your Java SE 6. Well this article finally helped me http://stackoverflow.com/questions/19563766/eclipse-kepler-for-os-x-mavericks-request-java-se-6/19594116#19594116You will have to change the code and add your version of Java and dont forget to log out and back on!!!HOPE THIS HELPS!!!
Replies
1
Boosts
0
Views
513
Activity
Jun ’15
unable to understand this Xcode 9.0 idk in swift
error I'm receiving is this warrning directory not found for option '-F/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks’I have no idea why this is coming is this related to framework ?
Replies
2
Boosts
0
Views
571
Activity
Jun ’15
XCode 7 Wireless debugging
Is it possible to debug my app wirelessly via local LAN in XCode 7 ?
Replies
0
Boosts
0
Views
1.8k
Activity
Jun ’15
Xcode 7 - new feature UITesting - no recording button !
I'm trying to get the User Interface Testing working with my appplication.I created a UI Test Case Class, reproduced the code shown in What's new in Xcode presentation.And somehow, I cannot find the recording button, in order to record the different actions I want to test and approve.Can you please let me know how to get this to work, I'm bashing my head over this for few hours.Thanks
Replies
6
Boosts
0
Views
6.3k
Activity
Jun ’15
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:
Replies
0
Boosts
0
Views
676
Activity
Jun ’15