Search results for

smb big sur

11,741 results found

Post

Replies

Boosts

Views

Activity

Big memory leak in iOS9 with playSoundFileNamed
I'm posting this because no one seems to discover this problem in iOS9, but it is critical.The problem is simple, every time you call sprite.runAction(SKAction.playSoundFileNamed(sound.wav, waitForCompletion: false))a little bit of memory leaks.It might not be such a big issue at first, but it will eventually slow down your games since the memory will NEVER be recycled.Reproducing this bug is easy, just call this method in scene's update function, and you can watch it eating up all your memory.The solution is simple too, replace the code with the new SKAudioNode for iOS9 and up, and you are good to go.I Think this is one thing everyone should try first to repair one's game for iOS9.
11
0
4.7k
Sep ’15
Error create Point in map
Sorry i dont't spea english very wellPlease help, i have one error in my code , i don't have apresentation one point in map (the cordenate the point is save one file ) my code :class mapViewController : UIViewController { @IBOutlet weak var mapView: MKMapView! / func getFilepath() -> String { let userDomainPaths: NSArray = NSSearchPathForDirectoriesInDomains(.DocumentDirectory, .UserDomainMask, true) let filepath: String = userDomainPaths.objectAtIndex(0) as! String return (filepath)/afMyLocation.plist } / / / override func viewDidLoad() { super.viewDidLoad() print(LOG : Map carregado com sucesso) / let FLatitude : Double? let FLongitude : Double? let filepathAux: String = self.getFilepath() if(NSFileManager.defaultManager().fileExistsAtPath(filepathAux) == true) { print(Verificou se existe arquivo - crioui cordenadas) let array: NSArray = NSArray(contentsOfFile: filepathAux)! let FLatitude : String? let FLongitude : String? FLatitude = (array.objectAtIndex(0) as? String)! FLongitude = (array.objectAtIndex
2
0
313
Sep ’15
Reply to Starting out on IOS mobile development, some suggestions?
Regardless of the machine itself, be sure to use as large a screen, if not multiple screens. This is a huge boost for your productivity. The ideal? A 30 monitor with 2560 horizontal pixels. You will be fine with any Apple machine less than a few years old (even older is fine too).I recommend the Code School iOS courses for their approchability, but they are a little dated and they also only focus on oC. But, they are a fine start.An even better option would be for them to send you to Big Nerd Ranch for a 7-day training session. This is the single smartest move that your company can make. Emphasize that. It is worth every penny they would spend.Regarding your timeline, that is impossible to answer and estimate. But note that there are two ways of building tvOS apps; one is native, and the other uses a specialized form of the typical web stack.
Topic: Business & Education SubTopic: General Tags:
Sep ’15
Action Extension for Safari: Why reacts the done button with a delay
In my content blocker app I added an action extension for Safari. When I tap on the close button of my action extensions view controller the view disappears but with a big delay. Sometimes the view starts the closing animation after 2-3 seconds and sometimes directly. I removed all of the code inside the buttons delegate method so when the user taps the button only self.extensionContext!.completeRequestReturningItems will be called where the completion block is empty. But this has the same effect.The strange thing is that I dont see this delay in other Safari extensions. Their views vanish directly when you press the close button.Has someone of you an idea what the reason is for this delay? This app and the action extension I wrote completely in Swift.
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
741
Sep ’15
Reply to Help with Understanding Core Data
The default backing store used by Core Data is indeed SQLite, but the API completely encapsulates that. So from an app programming perspective there is only Core Data. You never construct SQL queries, iterate result sets etc. - you use the Managed Object API that Core Data supplies. The fact that it uses SQLite under the hood is irrelevant. They (or you) could change it to a different backing store if you want and it should not affect your app code.No idea how people learn Core Data. 🙂 I haven't tackled it myself. So far I've just used SQLite directly (well, using the FMDB wrapper) with good results. I've been using SQL off and on for ~20 years so it's not a big jump for me. If you are starting from scratch then Core Data, even with its steep learning curve, is probably a better way to go.
Sep ’15
Xcode on iMac 5K - Screenshots needed
Hi all,That's a strange request, you'll see 🙂I'd like to buy a new iMac, with a 5K screen, because Storyboards for tvOSare too big for my old iMac.I'd like to see it in a screenshot to see if it's really easier to work on a single screen or not,with this king of Sotryboard, on this new 5K screen.Thanks in advance!Regards,AlexPS: I told you, it's a strange request 🙂
9
0
1.6k
Sep ’15
Reply to The natural numbers encoded as types
Yes, I understand the axiomatic basis of the natural numbers. I misread Jens's original post, so you can ignore what I said, but formulating a better response isn't easy (so I didn't).— I think you're correct that the Swift type system can't do on its own what was requested (deriving operations like addition).— I think that, aside from Swift's capabilities, the Peano postulates are the wrong place to start, because their definition of addition is recursive in terms of the successor function, and is therefore not computationally feasible. Neither we nor our computers add that way, because it takes too long to get to big numbers.— I think that it's more promising to try something in terms of the logarithmic representation of numbers (that is to say, in terms of digits or bits), as we do in real life. In terms of Jens's approach, this would mean using types with multiple generic parameters, each parameter representing one bit of the represented number. Any solution would involve a cooperative group of s
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’15
Reply to SKSpriteNode & iOS 9
Same problem for me, also found difference in behavior:1. If using SKShapeNode rect with corner radius the roundness of sprite in cropped area looks not so round as it should be, there is big performance slowing down and strange flickering. On device is better performance, roundness as it should be but still some flickering.2. If I set my sprits to be just a rectangle without roundness performance is bit better and no flickering but still not great overall. 3. if sprite is a texture performance is even better but still not so suitable as i only render 12 small sprites and performance is not good still..
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Sep ’15
Reply to Parallax Image on System UIButton?
Hi,yes, it's working! And it's not too much complex... :-)Just a couple of additions: it's not necessary to set clipsToBounds to NO, since it's the default setting, and it's working also with Custom buttons. The missing zoom animation when pressed it's not a big problem. If I'm not wrong it's the same behaviour of iOS (no zoom out), except from the fact that in such case the button became a little more dark to provide a feedback for the pressure. Anyway, I'll check this and share the result if positive.Many thanks for the help.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Reply to Testing Apps on iOS Devices without subscription
Hey there,I experienced the same issues.Just tried to install an application to my iPhone 6S (iOS 9.1) with XCode 7.1 beta.Nonetheless I removed/re-added my account and manually removed all existing provisioning profiles, changed the identifier, manually setup of the certificates --> it won't work.Simple and very annoying answer:If you ever were enrolled to the iOS development program, installing Apps to your device with a free membership won't work.(Just confirmed that by using a never enrolled Apple ID and everything worked perfect!)This seems to be an big issue, please (@Apple) fix this and don't punish developers which already paid for the development program years ago ..
Sep ’15
Reply to iOS MusicPlayer: suppress sine tone playback
Thanks for the reply. But it's not exactly that I want data to go nowhere, I just don't want to play the note events—my model is based on custom user events only, which I am playing (but through AudioKit, not through normal AUs). It's only a problem when working with midi files, since these will always contain standard note events, in addition to my custom user events. Anyway, I guess I'll have to shoot them off into some endpoint nether world. Is there a way to create a kind of dummy endpoint, that you know of? I just want to be sure they won't play to anything (since this could be a nasty surprise for the user). I suppose I could iterate over again and remove all the note events, but that seems like a superfluous operation... It isn't necessarily a big problem to have them there, I just don't need/want to hear them.
Topic: Media Technologies SubTopic: Audio Tags:
Sep ’15
Reply to Apple TV Example Code in Obj-C?
I really hope this is not the shape of things to come with the Apple platform.I mean no offence, but I really don't regard Swift that highly and also don't get the big fuss about it. Sure, I am able to read swift script and grasp any concept portrayed in it to certain extent, as I think anyone with more than basic understanding about computer programming will be. Granted, there do also exist ample libraries in API documentation and guide material for developing in Objective-C. Nevertheless, the absence of ad hoc code examples and solutions to specific coding problems, written in it, does make us obj-C people feel like less than first-class citizens. In my view, obj-C, like anything based in the C programming language, is the real tool of champions.Apple, please keep providing API documentation, sample code, and example solutions in Objective-C.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Can anyone tell me why so unfriendly for developers by Apple?
I am a beginner to develop apps for iOS and Mac. Previously, I got some rummers from friends and other forums saying that it's not a good job to develop anything for Apple's products and lots of ***** would be in front of me. Although I have more than 20-yr experiences on coding and system design, and never touched on Apple's stuffs before. However, due to some clients' requests, and just started working on it. And now, it's really happened to me...I tried to submit 2-3 iOS apps to iTune Connect, however, none can be approved at once. Even two of them have been rejected more than 3 times with different reasons. I am very confused as 1. Why can Apple NOT issue all questions to let me solve all them out at a time? Always placing issues one by one, and wasting LOTS of my time. Besides, one question to another always takes over a week or even 10 days...Is my time is worthless? 2. Why does Apple not review our apps frequently as Google Play (very quick response from Google)? One issue is always pending for more th
5
0
1.6k
Sep ’15