Search results for

“smb big sur”

11,971 results found

Post

Replies

Boosts

Views

Activity

Reply to Problem with Calculator example toInt()
Maybe you are watching a tutorial intended for Swift 1.2 (or older) and using Swift 2.An old code something like:someString.toInt()should be rewritten as:Int(someString)So, one line of your code:firstnumber = Screen.text!.toInt()!should be:firstnumber = Int(Screen.text!)!You will see how you can rewrite another line.But, if you continue the old outdated tutorial, you will face at many other problems. Swift 2 was such a big change, that many Swift 1.x code got outdated.
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’15
core data big issue
So i have been strugguling wit this for over a week now and i just cant seem to find the answer.I am working with core data and everything is fine until the point where i have to delete some entries. as soon as i fetch with a predicate and delete the object, it does delete it but the probleme is its deleting EVERYTHING in all other attributes of the same entity. can anyone help me with this ?AppDelegate * appDelegate = [[UIApplication sharedApplication] delegate]; NSManagedObjectContext * context = appDelegate.managedObjectContext; NSError *error = nil; NSNumber *n = [NSNumber numberWithInt:1]; NSFetchRequest *fetch = [[NSFetchRequest alloc] init]; fetch.entity = [NSEntityDescription entityForName:@LevelCoreData inManagedObjectContext:context]; fetch.predicate = [NSPredicate predicateWithFormat:@firstTime == %@, n]; NSArray *fetchedProducts=[context executeFetchRequest:fetch error:&error]; for (NSManagedObject *product in fetchedProducts) { [context deleteObject:product]; } [appDelegate saveContext];
0
0
233
Oct ’15
App employee
Hi guys,We are helping a client to develop an app to teach their employees. It's a simple educational app.It's a big company and it would be over 9 thousand employees.My question is if this app is suitable exclusively to Enterprise program or would it be possible to place it in app store?This question was raised because this item on apple`s review guidelines: [https://developer.apple.com/app-store/review/guidelines/]2.22 Apps that arbitrarily restrict which users may use the App, such as by location or carrier, may be rejected
1
0
300
Oct ’15
[Instruments] Allocation Types
Hi,can someone please explain to me what those 'Allocation Types' mean in Instruments:All Heap & Anonymous VMAll Heap AllocationsAll VM RegionsSome big heap allocations in my app do only show up when I select 'All VM Regions'. Why do those allocations not show up under All Heap...?Any clarification would be appreciated,Gero Gerber
2
0
3.1k
Oct ’15
iOS 9 Safari crashes while reading data geting smaller!
Hi everyone,i got a big problem with Safari on iOS 9: My web-app gets a file like a .csv with about 700kB.Since iOS 9 Safari crashes while reading it but not at the first row...here a little sample:http://langer.pro/BreakSafari/breakIOSSafari.htmlcan soneone tell me why that happend after the uppdate to iOS?my data variable only gets smaller.thanks to allMarcedit:and the problem is not in the data! There is also no Problem when the data are smaller.
0
0
317
Oct ’15
Reply to Loading an .Obj model file
I came into this problem when I wanted to make my own obj loader in opengl ES or GLKIT or NinvehGL, ....Though I succeeded in loading and rendering a small object with limitted vertices, I had difficulty with big Obj files.So I Came to this problem, and found out about model IO, and then scenekit 😝Anyhow, after a minute of trial and error, I converted the obj file to scn file, and loaded with SCNscene,The code abovelet scene = SCNScene(MDLAsset: asset)as you mentioned didn't work for me with Obj file. And then I tried with SCN file directly using the scenkit, and it workedThen surprisingly scenekit worked with obj file directly. (and it automatically loaded texture / mtl)My guess is maybe ModelIO is more for exporting (and importing) For file conversion. I hope at one point they support VRML files as well.So the code that helped me : (Be sure you Obj file is in the bundle in build phase of the target settings)let scene = SCNScene(named: youfile.obj)! let sceneView = self.view as! SCNView sceneView.s
Topic: Graphics & Games SubTopic: SceneKit Tags:
Oct ’15
How to check cancelled IAP?
We’ve added an IAP on our exclusive application for customers.It’s in the type of a non-renewing subscription.Basically, if the customers purchase our products, we will extend their subscription periods.The problem is that we can’t cancel the customers’ subscriptions when they cancel their purchases. Because we don’t know who did cancel it and who did not.Therefore, if someone purposely keeps to purchase and to cancel using different accounts, it will cause a big loss for our company.In order to avoid this problem, I would like to know a way to check the refund records.
1
0
737
Oct ’15
Reply to menubar set font width
Hello,thank you very much for your answer.My problem in this point is, that I'm using swift and never learnd something about objective-c (big mistake).import Cocoa @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate { @IBOutlet weak var window: NSWindow! @IBOutlet weak var dorTime: NSMenu! var timer = NSTimer() let statusItem = NSStatusBar.systemStatusBar().statusItemWithLength(-1) func applicationDidFinishLaunching(aNotification: NSNotification) { let icon = NSImage(named: dorunicorn)! icon.template = true statusItem.image = icon statusItem.menu = dorTime statusItem.length = NSVariableStatusItemLength timer = NSTimer.scheduledTimerWithTimeInterval(0.1, target: self, selector: (getDorTime), userInfo: nil, repeats: true) } @IBAction func menuClicked(sender: NSMenuItem) { let pasteBoard = NSPasteboard.generalPasteboard() pasteBoard.clearContents() pasteBoard.writeObjects(NSArray(object: statusItem.title!) as! [NSPasteboardWriting]) } @IBAction func quitClicked(sender: NSMenuItem) { ex
Topic: UI Frameworks SubTopic: AppKit Tags:
Oct ’15
about categories and overridden methods...
Hi,some of my classes are gowing very big. I would like to use categories for code management. I would also like to override some methods like viewDidLoad inside the category and continue its implementation from there.Now in inheritance we can call [super viewDidLoad] to see to it that the actualy implementation of viewDidLoad is always called before the trailing part of the method is executed in out subclass.How can we ensure this in a category?
Topic: UI Frameworks SubTopic: AppKit Tags:
7
0
1.5k
Oct ’15
Reply to Problem with Calculator example toInt()
Maybe you are watching a tutorial intended for Swift 1.2 (or older) and using Swift 2.An old code something like:someString.toInt()should be rewritten as:Int(someString)So, one line of your code:firstnumber = Screen.text!.toInt()!should be:firstnumber = Int(Screen.text!)!You will see how you can rewrite another line.But, if you continue the old outdated tutorial, you will face at many other problems. Swift 2 was such a big change, that many Swift 1.x code got outdated.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to Check if my string is a reel word
How many words does your file contain? or How large is the file in bytes?If the number of words is less than a few tens of thousands, you can hold it in memory (use Set or NSSet).It consumes some amount of memory, but not so big as having a decompressed large image data.
Replies
Boosts
Views
Activity
Oct ’15
core data big issue
So i have been strugguling wit this for over a week now and i just cant seem to find the answer.I am working with core data and everything is fine until the point where i have to delete some entries. as soon as i fetch with a predicate and delete the object, it does delete it but the probleme is its deleting EVERYTHING in all other attributes of the same entity. can anyone help me with this ?AppDelegate * appDelegate = [[UIApplication sharedApplication] delegate]; NSManagedObjectContext * context = appDelegate.managedObjectContext; NSError *error = nil; NSNumber *n = [NSNumber numberWithInt:1]; NSFetchRequest *fetch = [[NSFetchRequest alloc] init]; fetch.entity = [NSEntityDescription entityForName:@LevelCoreData inManagedObjectContext:context]; fetch.predicate = [NSPredicate predicateWithFormat:@firstTime == %@, n]; NSArray *fetchedProducts=[context executeFetchRequest:fetch error:&error]; for (NSManagedObject *product in fetchedProducts) { [context deleteObject:product]; } [appDelegate saveContext];
Replies
0
Boosts
0
Views
233
Activity
Oct ’15
App employee
Hi guys,We are helping a client to develop an app to teach their employees. It's a simple educational app.It's a big company and it would be over 9 thousand employees.My question is if this app is suitable exclusively to Enterprise program or would it be possible to place it in app store?This question was raised because this item on apple`s review guidelines: [https://developer.apple.com/app-store/review/guidelines/]2.22 Apps that arbitrarily restrict which users may use the App, such as by location or carrier, may be rejected
Replies
1
Boosts
0
Views
300
Activity
Oct ’15
Reply to Navigate Between Buttons Simulator not working
Did you get this to work? That really is all there is to it:- Make sure Hardware > Show Apple TV Remote is on- Hold [Option]- Move/Hover (i.e., don't click) your mouse over the big empty black area of the little remote window.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to Another wave of dev kits
Congrats! You are so lucky! Hoping I'll get one too, so I can test my game on the big screen. Can't wait *fingers crossed*
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
[Instruments] Allocation Types
Hi,can someone please explain to me what those 'Allocation Types' mean in Instruments:All Heap & Anonymous VMAll Heap AllocationsAll VM RegionsSome big heap allocations in my app do only show up when I select 'All VM Regions'. Why do those allocations not show up under All Heap...?Any clarification would be appreciated,Gero Gerber
Replies
2
Boosts
0
Views
3.1k
Activity
Oct ’15
Reply to Watch OS 2 - What do the spinning dots mean?
Make sure you have resized your images to a resolution suitable for the Apple Watch. If your images are too big I've notice the Watch has trouble handling them in a timely manor.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’15
Membership buying issues
When I enrol myself for developer program of $99 as individual with my existing apple id I get big page ofwe are unable to process your requestAn unknown error occured
Replies
3
Boosts
0
Views
499
Activity
Oct ’15
iOS 9 Safari crashes while reading data geting smaller!
Hi everyone,i got a big problem with Safari on iOS 9: My web-app gets a file like a .csv with about 700kB.Since iOS 9 Safari crashes while reading it but not at the first row...here a little sample:http://langer.pro/BreakSafari/breakIOSSafari.htmlcan soneone tell me why that happend after the uppdate to iOS?my data variable only gets smaller.thanks to allMarcedit:and the problem is not in the data! There is also no Problem when the data are smaller.
Replies
0
Boosts
0
Views
317
Activity
Oct ’15
Reply to Loading an .Obj model file
I came into this problem when I wanted to make my own obj loader in opengl ES or GLKIT or NinvehGL, ....Though I succeeded in loading and rendering a small object with limitted vertices, I had difficulty with big Obj files.So I Came to this problem, and found out about model IO, and then scenekit 😝Anyhow, after a minute of trial and error, I converted the obj file to scn file, and loaded with SCNscene,The code abovelet scene = SCNScene(MDLAsset: asset)as you mentioned didn't work for me with Obj file. And then I tried with SCN file directly using the scenkit, and it workedThen surprisingly scenekit worked with obj file directly. (and it automatically loaded texture / mtl)My guess is maybe ModelIO is more for exporting (and importing) For file conversion. I hope at one point they support VRML files as well.So the code that helped me : (Be sure you Obj file is in the bundle in build phase of the target settings)let scene = SCNScene(named: youfile.obj)! let sceneView = self.view as! SCNView sceneView.s
Topic: Graphics & Games SubTopic: SceneKit Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to UIImageView adjustsImageWhenAncestorFocused with rounded corners?
I tried your approach and it's working for me.Thanks!EDIT: it rounds the corners, but it's not a good solution because if you take a rather big radius, you see the layer in the corners because that is not taken into account. I need something like the native tvOS corner radius on everything excpet the UIImageViews.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
How to check cancelled IAP?
We’ve added an IAP on our exclusive application for customers.It’s in the type of a non-renewing subscription.Basically, if the customers purchase our products, we will extend their subscription periods.The problem is that we can’t cancel the customers’ subscriptions when they cancel their purchases. Because we don’t know who did cancel it and who did not.Therefore, if someone purposely keeps to purchase and to cancel using different accounts, it will cause a big loss for our company.In order to avoid this problem, I would like to know a way to check the refund records.
Replies
1
Boosts
0
Views
737
Activity
Oct ’15
Reply to menubar set font width
Hello,thank you very much for your answer.My problem in this point is, that I'm using swift and never learnd something about objective-c (big mistake).import Cocoa @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate { @IBOutlet weak var window: NSWindow! @IBOutlet weak var dorTime: NSMenu! var timer = NSTimer() let statusItem = NSStatusBar.systemStatusBar().statusItemWithLength(-1) func applicationDidFinishLaunching(aNotification: NSNotification) { let icon = NSImage(named: dorunicorn)! icon.template = true statusItem.image = icon statusItem.menu = dorTime statusItem.length = NSVariableStatusItemLength timer = NSTimer.scheduledTimerWithTimeInterval(0.1, target: self, selector: (getDorTime), userInfo: nil, repeats: true) } @IBAction func menuClicked(sender: NSMenuItem) { let pasteBoard = NSPasteboard.generalPasteboard() pasteBoard.clearContents() pasteBoard.writeObjects(NSArray(object: statusItem.title!) as! [NSPasteboardWriting]) } @IBAction func quitClicked(sender: NSMenuItem) { ex
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Oct ’15
about categories and overridden methods...
Hi,some of my classes are gowing very big. I would like to use categories for code management. I would also like to override some methods like viewDidLoad inside the category and continue its implementation from there.Now in inheritance we can call [super viewDidLoad] to see to it that the actualy implementation of viewDidLoad is always called before the trailing part of the method is executed in out subclass.How can we ensure this in a category?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
7
Boosts
0
Views
1.5k
Activity
Oct ’15