let session = NSURLSession.sharedSession() //1 let downloadTask = session.downloadTaskWithURL( url, completionHandler: { [weak self] url, response, error in // 2 // return } ) Please explain the meaning of [weak self] inside closure . what if we dont declare it as [weak self] ? Thanks /

Member Avatar
+0 forum 0

Here is the screenshot of a view That I hope to get in my ios app.. The ViewControlelr is embedded on a UIScrollView.as you can see, in the beginning there are 4 important UIViews, namely-"View1", "View2","FixedView" and "SEARCH". The UIScrollView must have size height limit at FixedView. When the "+" button is clicked A new View (View3) is to be added, bringing FixedView further down (increasing the size of the UIScrollView in the process). The Search Button is to be pinned at the bottom of the screen. There is a "-" button now that would bring the ViewController back to …

Member Avatar
+0 forum 0

#import "Person.h" @class Asset; //i have used import "Asset.h" which contains definition for asset @interface Employee : Person { int employeeID; NSMutableArray *assets; } @property int employeeID; - (void)addAssetsObject:(Asset *)a; - (unsigned int)valueOfAssets; @end I got this snippet from objective c book. In the second line , author has used @class. I have implemented with import "Asset.h" Please explain the difference between two and common scenarion where we prefer @class. Many Thanks.

Member Avatar
+0 forum 0

how to large fonts size in viber

Member Avatar
+0 forum 0

I have 1 TB Toshiba hard drive which wouldn't mount. My Mac gives an error message that the drive is unreadable and need to be initialized. First I tried to repair using Disk Utility but that option won't work for me at all. I also tried safe boot and I was unsuccessful in that case also. Please help me!! I am using MacBook Pro with OS X 10.9

Member Avatar
+0 forum 0

I'm just trialing affinity designer for Mac and left me just say it does more or less everything photoshop and illustrator does at a fraction of the price $49.00. Wow... Not only that but it imports existing photoshop and illustrator file with almost 100% integrity. Looks like I can say goodbye to creative cloud license. Has anyone trialled it?

Member Avatar
+0 forum 0

hi I just want to go into youtoube with my asus g75 laptop running ubuntu 14.04 trusty,and I put inside a Vbox with osx10.9 , but I dont know why if I let press the checkbox to use my speakers , I can't hear anything

Member Avatar
+0 forum 0

I have been programming on a PC with 101 key keyboard for almost thirty years now. Surprise, when this type of keyboard turned out to be very poorly supported by OSX on a Mac Mini. as you know, on the mac mini you have to attach your own keyboard. This is fine by me. I have a laptop and a mac mini on a KVA switch so I can use both. My main problem turned out to be that many of the keyboard habits I developed no longer worked, since they either use the CTRL key (on a PC keyboard …

Member Avatar
+0 forum 0

can i have a code for vab to shotdown the MAC os.

Member Avatar
+0 forum 0

I purchased a used 2011 MacBook Pro laptop. It ran OK for a week but begin to slow down and now boots very slowly. I checked the drive spaces and found it has sufficient hard drive memory. Should I upgrade RAM. Currently it has 4 GB. I heard there are software that can speed up Mac. I havne't used any of them in my lifetime. DO they really speedup Mac? Waiting for ans. Thanks.

Member Avatar
+1 forum 0

Can I use ibeacon on my app development that would read and write to a device that has BLE?

Member Avatar
+0 forum 0

As we know, every time you sync iDevice with iTunes, it will automatically make a backup of your iDevice contents including photos, SMS, reminders, contacts and more. Therefore, as long as you have ever synced your iPhone 4/4S/5 with iTunes, you can get the lost messages from iPhone backup files created by iTunes.

Member Avatar
-1 forum 0

While installing my iphone 4s I encountered a problem. I bought it today ... 1. I can't sign into my apple id on IMESSAGE TAB/SCREEN 2. I can't send SMS but I can receive them also I can call other mobile numbers (WIFI and 3G works for me so I can surf the net) 3. IMESSAGE and FACETIME are having problems for activation (waiting for activation) I tried the following: 1. Reboot 2. Reset Network Settings & Erase all content and settings 3. Log off from iTunes Store & App Store and Icloud (I restart phone afterwords) 4. Date & …

Member Avatar
+0 forum 0

It suddenly disappeared I can't find it anymore. Please help ;) regards hasbuy

Member Avatar
+0 forum 0

i need to develope the pdf annotator and sticky note. i need to store the position of annotator and sticky note in sqlite beacuse when i reload the pdf need to show the annotation and notes. please send the sample code.

Member Avatar
+0 forum 0

I am looking to buy a MAC PC for my home, so can you please tell me that Wwhich MAC device should be best for me?

Member Avatar
+0 forum 0

I have made a python script that takes path of a folder and dispalys images in gallery or slideshow made in pyqt? So how do I add a right click menu of the folder in finder to pass the same folder path as argument to python script ?

Member Avatar
+0 forum 0

I run Snow Leopard and am wanting a free pdf print driver/editor that will turn a collection of images/files into a single pdf file as simply as possible. A friend running Windows and Prima PDF says all he has to do is select a bunch of images, right click and choose Print and then Prima and the images will be collated into that single pdf.

Member Avatar
+0 forum 0

Hello, I'm really interested in developing apps for iOS. I do already have everything setup and I'm ready to start programming. What I'm curious about is; Is it worth buying the apple developer account already? I don't have anything ready to release yet, but I have read that they also have a lot of starter material in the developing forums which you only have access to if you pay for the apple developer account. I don't want to pay 99$ for something I don't really need yet, or isn't worth paying for? Do any of you have experience with this? …

Member Avatar
+0 forum 0

It seems like a simple, straightforward question, but I've been monkeying around for way too long trying to get a folder to execute simple folder action scripts to no avail. I know I have them attached, Folder Action Setup app indicates that Folder Actions are enabled, I went in and changed permissions. I don't know what else to do. I can get automator workflows to execute. Thats it. That isn't good enough for me because A) I want to know I can write my own script to do whatever without having to rely on Automator. Its a "Folder Action Script". …

Member Avatar
+0 forum 0

Apple has captured the market of elite. However, in the middle and lower class markets Huawei (Chinese phone company) is giving tough time to apple. Can Huawei outclass iPhone? Huawei has already introduced the slimmest smartphone and the first water and dust proof smartphone of the world.

Member Avatar
+0 forum 0

We are proud to announce the first public release of Cassiopeia for MacOSX. Cassiopeia is a scientific wordprocessing and database-based document management system featuring * scientific word processing with focus on content * a super efficient equation editor (based on MathML content markup) * a symbolic algebra system with automatic equation simplification * a 2D graph module * a simulation module * management of documents in a relational database * a bibliography repository * multi user system for co-editing in a group * LaTeX export for printing * HTML export for WWW publishing Get a first impression of what Cassiopeia …

Member Avatar
+0 forum 0

i m using macbook pro osx crashed i m stuck in disk utility 320gb hd ( 1 partition name Mac osx install esd ) wich is below hitachi) showing capacity 319.21, available ,used 4.43 gb if i m erasing 320 hd it showing me disk erase failed with error : couldn't unmount disk there is 1 more option called disk1 ( total capacity 1.26 gb ) below it mac os x base system ( capacity 1.26 gb , available 110.9 mb , used 1.15 gb ) how should i install osx lion via usb.? kindly help me

Member Avatar
+0 forum 0

okay so basically i open up iphoto today and it comes up with some bar saying something about creating a new libary, i didnt think much of it so i just clicked creat new library thinking it was normal and then when i go back on iphoto every image and video everything on there is gone....PLEASE HELP!

Member Avatar
+0 forum 0

Please recommend App for Mac - allowing getting together targets, ideas and resulting Actions To Do, and managing Getting Things Done..

Member Avatar
+0 forum 0

I have just bought a macbook air and have set up all my email accounts except one - my btinternet account [bt/yahoo]. Each time I try to set it up it defaults to an a imap account which I do not want. I have tried editing it once it is set up but that does not work as it still thinks its an imap account. I am sure some of you out there know better. I called Apple last night and they said it can't be done. There is no provision of a check box to set up account manually. …

Member Avatar
+0 forum 0

I have already items store in my Spinner combobox . i saved one of them item into database . now i am trying to retrieve data from datbase to specific their places successful to get data into edittext checkbox but fail to get item into spinner as reshow which is already added just i want show that what was i saved How ?

Member Avatar
+0 forum 0

Hi, I just experienced this issue after upgrading Xcode to 4.3.3, and thought the fix might be useful to others. The original fix is posted [here](https://devforums.apple.com/thread/141685) and modified [here](http://stackoverflow.com/questions/9325804/xcode-4-3-organizer-crash). Create the file readcert.m with the following code: #import <Security/Security.h> #import <Foundation/Foundation.h> void checkCerts () { OSStatus status; const void *keys[] = { kSecClass, kSecReturnRef, kSecMatchLimit }; const void *values[] = { kSecClassCertificate, kCFBooleanTrue, kSecMatchLimitAll }; CFDictionaryRef query = CFDictionaryCreate(NULL, keys, values, 3, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); CFArrayRef results; if ((status = SecItemCopyMatching((CFDictionaryRef) query, (CFTypeRef *)&results)) != noErr) { NSLog(@"Failed to copy certificates: %d", status); return; } CFIndex count = CFArrayGetCount(results); CFIndex i; …

Member Avatar
+1 forum 0

Now...as my life continues i look back thinking how it all began... I personally want to thank Steve jobs( sorely missed) and want to thank Apple for all the wonderful years of thought , influence and innovation they have gien us . Apple, Microsoft, Intel and most im portant of all ...The ELECTRONICS INDUSTRY ....for without them we would have never gotten this far ....Thank you daniweb.....i eagerly and happily await the next 25 years of innovation...what will we do next???????

Member Avatar
+0 forum 0

Does anyone know how to resolve this other than a complete reboot? I'm restarting both my work desktop and personal laptop on an almost daily basis, which is irritating, to put it politely: **Couldn't register com.your.App with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger.** Thanks, Matt

Member Avatar
+0 forum 0

The End.