Apple (iOS/Mac OSX)

tableView. contentInsetAdjustmentBehavior not working

iOS Programming - Fri, 11/16/2018 - 23:04

As what I understood from the book I'm learning from, this method, when set to .never, should tell iOS not to adjust the content area and by that the table view should be shifted upwards but that's not happening for me.

I still get the left design that you can see in here :

https://i.redd.it/vc41vro7ety11.png

I've attached the project as well if someone can be so kind to see if it's a problem of auto layout instead, I checked everything for a long time and I did exactly as instructed by the book, also I checked his project and compared it to mine and his is working good but still I can't find what's wrong in mine.

https://drive.google.com/file/d/1bik57VZ_pKr79EsbWYufhfLnyOhhsvee/view?usp=sharing

The said code line is at the RestaurantDetailViewController class at viewDidLoad method.

submitted by /u/mountSin
[link] [comments]

Microsoft slips ads into Windows 10 Mail client – then U-turns so hard, it warps fabric of reality

The Register - Fri, 11/16/2018 - 20:03
We never meant to make that widely public which is why we made a public FAQ for it

Microsoft was, and maybe still is, considering injecting targeted adverts into the Windows 10 Mail app.…

We asked the US military for its 'do not buy' list of Russian, Chinese gear. Surprise: It doesn't exist

The Register - Fri, 11/16/2018 - 18:47
El Reg drills into banned technology with Freedom-of-Info request

The US Department of Defense's "do not buy" list of foreign software and equipment turns out to be about as long as the list of bug-free Windows releases or privacy-focused Facebook apps.…

Amazon tries to ruin infosec world's fastest-growing cottage industry: Finding data-spaffing S3 buckets

The Register - Fri, 11/16/2018 - 17:12
AWS comes up with blanket policies to smother public-facing cloud storage silos

Amazon Web Services is taking steps to halt the epidemic of data leaks caused by the S3 cloud buckets it hosts from being accidentally left wide open to the internet by customers.…

Pick three people you think will replace Google Cloud CEO Greene, then forget them – because it's Thomas Kurian

The Register - Fri, 11/16/2018 - 15:35
Ex-Oracle man gets top job as another experienced woman exec quits web ads titan

Google Cloud CEO Diane Greene has quit the online ads giant, and will be replaced by ex-Oracle executive Thomas Kurian.…

Microsoft slammed in Europe for 'large scale and covert' gathering of people's info via Office

The Register - Fri, 11/16/2018 - 15:17
You've broken the GDPR, baby, Dutch govt eggheads reckon

Microsoft carried out "large scale and covert" gathering of private data through its Office subscriptions.…

Visual Studio 2017 15.9 is here! Fire up your Windows on Arm laptops. All four of you

The Register - Fri, 11/16/2018 - 14:23
Final update of beloved development adding ARM64

Microsoft devs rejoice! A new version of Visual Studio 2017 has arrived replete with fixes, tweaks and ARM64 support.…

Is iTunesConnect not working fine for you?

iOS Programming - Fri, 11/16/2018 - 14:20

Three days ago I was not able to enter in “Sales and Trends”, now I can enter but I am not able to see any data after Nov 13. Is this happening to anybody else? I know that sometimes it takes sometime to update the data, but honestly I don’t remember the last time that it was more than one day behind. Image

submitted by /u/euro02
[link] [comments]

Sharing accessibility identifiers between app and UI test sources

iOS Programming - Fri, 11/16/2018 - 14:08

Through an extension you can use an enum for your view accessibility identifiers. By adding the enum to the app target and the UI test target, you can also avoid duplicating strings. Its nice to use an enum rather than strings, but also good for avoiding errors! 🔍

// App sources extension UIAccessibilityIdentification { var viewAccessibilityIdentifier: ViewAccessibilityIdentifier? { get { fatalError("Not implemented") } set { accessibilityIdentifier = newValue?.rawValue } } } addContactButton.viewAccessibilityIdentifier = .addContactButton // Test sources extension XCUIElementQuery { subscript(key: ViewAccessibilityIdentifier) -> XCUIElement { return self[key.rawValue] } } XCUIApplication().buttons[.addContactButton].tap()

Been using it for while to interact with views in XCUI tests. Thoughts?

submitted by /u/nanocinder
[link] [comments]

The week in networking? It's SD-WAN all the way down

The Register - Fri, 11/16/2018 - 14:00
Also: Huawei cloud lands in Africa, Nokia OpenStack, Cisco Nexus BIOS bugs

Riverbed made two announcements covering its SteelHead SD-WAN solution this week – a bunch of enhancements, and subscription pricing options.…

The Quantum of car lists: Storage firm drives into autonomous vehicle data logging

The Register - Fri, 11/16/2018 - 13:00
Sells 'intelligent' chassis, removable drive magazine, StorNext base station

Quantum has stepped sideways into the autonomous vehicle testing market with a data logging system integrated with its StorNext multi-tiered workflow file management product.…

News: Spotify trying to woo back former Premium subscribers with special offer of $9.99 for three months

iLounge - Fri, 11/16/2018 - 12:46

Spotify has begun offering former Premium subscribers three months of Premium for $9.99 in an effort to win them back to the service. The offer, which is available via a special “comeback” page, appears to be going out via e-mail to Spotify users who cancelled their Premium service prior to Oct. 16, although it appears anybody can sign up, provided they meet the eligibility requirements, which note that users must have previously “subscribed…
Categories: Apple (iOS/Mac OSX)

Microsoft Surface kicks dust in face of Apple iPad Pro in Q3

The Register - Fri, 11/16/2018 - 12:00
Hold on Redmond, don't light those fireworks yet, the dominance will be shortlived

Microsoft's Surface line leapfrogged Apple's iPad Pro as the detachable tablet of choice for tech distributors in Western Europe but that top spot definitely won't be sustained, or so IDC says.…

Saving 2 different arrays that contain the same Core Data Object?

iOS Programming - Fri, 11/16/2018 - 11:11
func loadItems() { let request: NSFetchRequest<Habit> = Habit.fetchRequest() do { list = try context.fetch(request) done = try context.fetch(request) } catch { print("Error fetching data from context: \(error)") } self.tableView.reloadData() }

this causes it to freeze but when its loading only the first list its fine

submitted by /u/MARTIALIS20
[link] [comments]

Oracle snaffles up a chunk of SD-WAN market with Talari Networks buyout

The Register - Fri, 11/16/2018 - 11:00
As shareholders sign off on Big Red's big pay packet for first time in seven years

Oracle is to slurp up software-defined WAN provider Talari Networks for an undisclosed sum.…

News: Apple’s Certified Refurbished Products Online Store gets major overhaul

iLounge - Fri, 11/16/2018 - 10:28

Apple has launched a significantly redesigned version of its Certified Refurbished Products online store, bringing the new section inline with the rest of Apple’s overall design. Apple’s Certified Refurbished Products Online Store lists products that company sells as refurbished, which could range from simple open box returns to those that have been swapped out for customers and later repaired by Apple. Refurbished products sell for up…
Categories: Apple (iOS/Mac OSX)

Alphabet gives bipedal robots the Schaft 'cos no one wants to buy its creepy machine maker

The Register - Fri, 11/16/2018 - 09:58
Even Softbank balked at these tethered terrors

Google's parent company Alphabet has closed down its biped robot maker Schaft after failing to find a buyer.…

Pages