Search results for

file uri scheme

78,567 results found

Post

Replies

Boosts

Views

Activity

Maze example not working
Hello guys,I'm trying to run the Maze example, but it isn`t allocating the graph GKGridGraph.The line with problem is the one belowGKGridGraph *graph = [GKGridGraph graphFromGridStartingAt:(vector_int2){0, 0} width:AAPLMazeWidth height:AAPLMazeHeight diagonalsAllowed:NO];(file AAPLLevel.m, funcion init).I've tried to change the way it allocates (using [[GKGridGraph alloc] initFromGridStartingAt ...], but did't work either.Thanks.
3
0
744
Jun ’15
compile error generated swift to objective-c header
I'm seeing two compile errors in the Objective-C header that Xcode generates for my swift class. I see this using Xcode 6.3.2 and 7.0 beta./Users/marc/Library/Developer/Xcode/DerivedData/VEO_iOS-agqlvygcyfcdvadpahyaxsamxmsp/Build/Intermediates/VEO_iPad.build/Debug-iphonesimulator/VEO_iPad.build/DerivedSources/VEO_iPad-swift.h:17:24: Typedef redefinition with different types ('uint_least16_t' (aka 'unsigned short') vs 'char16_t')/Users/marc/Library/Developer/Xcode/DerivedData/VEO_iOS-agqlvygcyfcdvadpahyaxsamxmsp/Build/Intermediates/VEO_iPad.build/Debug-iphonesimulator/VEO_iPad.build/DerivedSources/VEO_iPad-swift.h:18:24: Typedef redefinition with different types ('uint_least32_t' (aka 'unsigned int') vs 'char32_t')The problem is that uint_least16_t and uint_least32_t are defined in my generated *-Swift.h header and also in a file called __config.Any ideas?TIA,Marc
0
0
648
Jun ’15
I have created a gitignore file but xCode is not using it so I get merge source code errors, what have I done wrong ?
I have been compiling my App for a couple of years now no problem and it has been using my gitignore quite happily.All of a sudden something has gone wrong and now, when I try to merge a branch back to master I get an error related to xcuserdata, which it should be ignoring.I therefore assume that xCode is no longer fidning my gitignore file.My gitignore file is called default.gitignore.Where in xCode do I define where to look for my gitignore file ? I have forgotten and can't seem to find a reference telling me where to find it.Any guidance much appreciated.Thanks,Guy
1
0
3.1k
Jun ’15
Creating an IBOutlet or IBAction from a UIButton within a UITableViewCell subclass in a static UITableView
Hello,I'm trying to create an IBOutlet from a UIButton that lives in a UITableViewCell subclass in a static UITableView. I've set the custom class for the appropriate cell in my storyboard. I've added the UIButton as a subview of that cell's content view. However, I can't control+drag from the storyboard into my custom cell swift file. Is there any way to accomplish this?I'm working in Xcode 6.Thank you.
2
0
3.3k
Jun ’15
Xcode 7 - can not create local repository, commit files.
I have downloaded and installed Xcode 7.0b (7A120f), and created new project with the Source control - Create Git repository on.However, after the project is created I see the local branch is missing and I can not commit files (Commit files does nothing).What has been noted:1. When Xcode is started the following error is presented: Couldn’t communicate with a helper application.2. When I open the Source control - Commit, I can see Loading remotes... (should be No Remotes Available).PS: Xcode 6 is working fine wit git (git version 2.3.7 (Apple Git-57)).Will be glad for any help to fix it.
10
0
7.7k
Jun ’15
Universal 2D Game Assets and Absolute Node Positioning
I have a question regarding universal game assets and absolute positioning of a SKNodes in Sprite Kit (iOS 8+).I will try to present my problem through an example as follows:Imagine a 2D top down game with a SKSpriteNode which represents a house. A house has multiple child SKSpriteNodes which represent chairs, desk, sofa, etc.I have 3 versions of house asset:1x - 200 x 200px (Non-retina iPads),2x - 400 x 400px (Retina iPhones and iPads),3x - 600 x 600px (iPhone 6 Plus).Important: Child nodes (chairs, desk, etc.) positions are defined in a .plist file. Something like this (JSON representation):children: [ { position = {20,20}; }, ... ]Since the position is defined in points and not in pixels, everything gets positioned like expected according to device screen scale. For 1x devices the position stays {20,20}, for 2x position is {40,40} and for 3x the position is {60,60}.Problem:The problem is that 200x200px and 400x400px assets are way to small for iPad devices to achieve similar look and feel on all d
0
0
537
Jun ’15
MapKit for osx
I need to use MapKit in an OSX app I'm writing for my engineering thesis (I'm studying geodesy and cartography). So no commercial use at all. Is there any way to access MapKit framwork without paying for developer's program? I know about university iOS program but the app wouldn't make any sense for ios device (it performs complicated geodetic calculations, can read data from txt file and save reports). Using mapkit would be a perfect way to visualize results.
0
0
305
Jun ’15
Reply to ios 9 beta 1 fix battery
First of all, battery issues are not rare in betas. Apple is making it very clear that you shouldn't install these releases on devices other than for development.And secondly, these forums isn't the right place to post improvements or requesting bug fixes, here we discuss the problems and what can be done to improve the issues.When requesting new features, improvements and filing bugs, please go to http://bugreport.apple.com and file a radar.Happy bug hunting!
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15