Apple (iOS/Mac OSX)

Having AI assistants ruling our future lives? That's so sad. Alexa play Despacito

The Register - Thu, 01/17/2019 - 04:15
It's Amazon how quickly these monopolies begin

Column At the annual spectacular of crap that we optimistically term the Consumer Electronics Show, I found myself locked into a room with Alexa.…

South Korea says mystery hackers cracked advanced weapons servers

The Register - Thu, 01/17/2019 - 03:01
No idea who could have been behind this one...

The South Korea Ministry of National Defense says 10 of its internal PCs have been compromised by North Korea unknown hackers .…

Image Carousel/Slideshow?

iOS Programming - Thu, 01/17/2019 - 02:14

Hi everyone, I'm pretty new to iOS programming and everything. I was trying out this tutorial I found on Medium, and was wondering if it's possible for me to do a smaller version of this - maybe about 1/4 of a screen size?

I've tried to scale it down - it kinda works, but it scrolls vertically too. I've also tried to disable the vertical scrolling but to no avail. :-(

Any help would be amazing and really, really appreciated!

Thank you in advance! :-)

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

Instagram Story Editor clone

iOS Programming - Thu, 01/17/2019 - 01:26

I'm trying to clone instagram story with adding resizable textviews, stickers, emoji, draw lines and shapes. I found a pod "photo-editor". It has these features but we can't change the textview font style or the placement of the add text/emoji/share buttons. Shall I try to implement these features myself from scratch or is there any library I can use?

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

What's the best way for two students to collaborate on an app that isn't going on the store?

iOS Programming - Thu, 01/17/2019 - 01:05

Sorry for the noob question. A friend and I are working on an iOS project for school (which won't submitted to the App Store). What's the best way to collaborate? Is it as simple as putting the project on GitHub? Are there any weird Xcode things that'll go out of sync? I have an Apple Developer account, but my partner doesn't.

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

Server or Firebase?

iOS Programming - Thu, 01/17/2019 - 01:01

Hi! Just wondering do most of you use your own backend or Firebase? If you use your own, what frameworks/methods you use to create or help you get started? Thanks! Please help.

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

Facebook’s ‘10 Year Challenge’ — Harmless Meme, or Training for Age-Progressive Facial Recognition?

Daring Fireball - Wed, 01/16/2019 - 23:38

Kate O’Neill, writing for Wired:

But let’s play out this idea.

Imagine that you wanted to train a facial recognition algorithm on age-related characteristics and, more specifically, on age progression (e.g., how people are likely to look as they get older). Ideally, you’d want a broad and rigorous dataset with lots of people’s pictures. It would help if you knew they were taken a fixed number of years apart — say, 10 years.

Sure, you could mine Facebook for profile pictures and look at posting dates or EXIF data. But that whole set of profile pictures could end up generating a lot of useless noise. People don’t reliably upload pictures in chronological order, and it’s not uncommon for users to post pictures of something other than themselves as a profile picture. A quick glance through my Facebook friends’ profile pictures shows a friend’s dog who just died, several cartoons, word images, abstract patterns, and more.

In other words, it would help if you had a clean, simple, helpfully labeled set of then-and-now photos.

I think it’s very fair to say we should all assume the worst with Facebook all the time now. That’s I posted my 10-year challenge to Twitter instead of Instagram.

 ★ 
Categories: Apple (iOS/Mac OSX)

What are the costs of developing an app on iOS yourself?

iOS Programming - Wed, 01/16/2019 - 22:21

I'm getting started with Android development and understand it's quite cheap to get started. However I wanted to know if I were to get into iOS later (if my apps ever find traction), what are the costs I should expect?

I know the yearly cost of around $99 is required, but I don't know anything else.

I've heard of things such as:

  • Having to use a Mac instead of a Windows PC to use the IDE to code iOS apps
  • Having to buy virtual devices to emulate if you want to test it if you don't have a real device on hand

Are any of these true? I just wanted to know some of the costs which I can expect if I ever go down the iOS road to get a feel.

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

What Is the Best Way to Display a Lot of Detailed Information?

iOS Programming - Wed, 01/16/2019 - 21:10

I'm making an app that has a master-detail split view and in the detail view I want to display a lot of information in different sections similar to the mockup attached.

I'm new to iOS and was wondering what the best way to implement this would be. I'm not sure if a regular tableview would be customizable enough to achieve this or if there was a cocoapod that could do something similar.

https://i.redd.it/ldibasno6wa21.jpg

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

Three quarters of US Facebook users unaware their online behavior gets tracked

The Register - Wed, 01/16/2019 - 21:08
You mean they are collecting our opinions to sell ads? Who would have guessed it?

Most Facebook users have no idea that the ad biz compiles data profiles of their online activities and interests, according to research conducted by the non-profit Pew Research Center.…

Core Data JSON Seed Uniques only - iOS Swift

iOS Programming - Wed, 01/16/2019 - 21:03

Hey guys, I am working on a new problem and wanted any insight people could give to make this process as efficient as possible.

The problem to solve:

I want to seed a core data entity with 500 initial objects from JSON at app launch and ensure only unique items exist. (after 2 app launches I should still have 500 objects, not 1000)

How I plan to go about this:

  1. Embed JSON in app
  2. Parse Json into a dict
  3. Convert dicts to NSManagedObjects with a UUID
  4. Fetch request each UUID to see if it exists
  5. if exists: do nothing, else: save to core data.

Does anyone know if I can get around doing 500 fetches to check if the object already exists? Another idea is that I could not do any fetches and mark the core data attribute to overwrite object if they are exactly the same. Does anyone know which method is more efficient? Or is there an option I am yet to think of?

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

Do you feel 'lucky', well, do you, punk? Google faces down magic button patent claim

The Register - Wed, 01/16/2019 - 19:48
Israeli company was 'feeling lucky' but lost out

Google has won a patent dispute over its famous "I'm feeling lucky" button that immediately connects a user to its top-raking search link with a single click.…

$24m in fun bux stolen from crypto-mogul. Now he fires off huge fraud charge. Like, RICO, say?

The Register - Wed, 01/16/2019 - 19:29
Lawsuit claims coin thief was part of a gang targeting crypto whales

The victim of a $24m cryptocurrency heist is suing his assailants in what is believed to be the first ever RICO claim involving digital currency.…

Foursquare question.

iOS Programming - Wed, 01/16/2019 - 18:50

How do you do fellow devs?

Around six months ago, I developed an application that uses a Firebase database. The app's main selling point is that it shows some niche locations and very specific info about them. So far, I have added most of those places to the app but it takes a lot of time to build a database so I thought that maybe I could just pull those locations from the FourSquare API and I will instantly have all of those locations instead of having to add them.

However that "specific information" that I mentioned, can be modified by the users and saved to Firebase. If I wanted to replicate all the functionality of the app, does the Foursquare API gives me some space to save my own data which would be attached to those locations? or would I have to keep on using Firebase and pretty much pull information from two databases ?

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

How would I go around animating a portion of a custom view or CGLayer?

iOS Programming - Wed, 01/16/2019 - 17:33

I am looking for general idea on how I should approach this problem.

Let's say I have a custom view where I override the drawRect to do custom drawing. This custom drawing could be a 5x5 grid (25 squares/cells) where each cell has it's own text in it. How can I do animations such that a portion of this grid gets animated.

For example, I was all the squares in the second row and ones in fourth columns to animate rotate 360 degrees.

I am not allowed to use CollectionViews for this, I need to do my own custom drawing. So far all animations I have used are for rotating entire views. Haven't done any where I can animate portion of a view.

Some general ideas or documentations would be useful. Thank you!

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

Hey, you know the first plant to ever have grown on the Moon? Yeah, well, it's dead already

The Register - Wed, 01/16/2019 - 17:28
The poor cotton seedling froze to death as temperatures plunged during the lunar night

The budding cotton seed hailed as the first plant to ever grow on the Moon, has, erm, died.…

I made a free camera app that supports fixed shutter speed with auto-ISO, background replacement & remote operation

iOS Programming - Wed, 01/16/2019 - 17:14

Blueprint

I love Halide (popular camera app for iOS) but it is missing one feature I need: the ability to set a shutter speed and have the ISO chosen automatically by the app. I need this because I often take photos of moving subjects that come out blurry with the stock Camera app (and Halide), so I need to tell the app, "Hey use a higher ISO so the subject isn't blurry - but I don't have time to figure out what ISO it should be, please pick it for me". Hopefully Halide will add this feature soon 🙌

The app is called "BluePrint for Wifibooth", and you can get it free from the App Store. Linky link: https://itunes.apple.com/app/apple-store/id1127641254?pt=526346&ct=reddit1&mt=8

Things this app can do:
- set a shutter speed and auto-pick the ISO for you
- exposure bias: tell the app that the photo should be brighter or darker than "normal"
- background replacement ("green screen"): on a dual-camera iPhone, or on the iPhone XR, uses the portraitEffectsMatte to cut out the human subject and place it on a background image of your choice
- other camera controls like Auto Exposure Lock, flash etc
- share camera of one iOS device and use it on another iOS device. For example, you can share your iPhone camera to your iPad (you need to run BluePrint on your iPad too -- or Wifibooth). This works with the live-video feed too (under the covers, it is auto-negotiating H.264 -> HEVC if both devices are capable of HEVC)

Originally this app was just a small companion for my bigger app, Wifibooth, to help it print over bluetooth -- that's why it (still) has a weird/outdated app icon (and where the name comes from too). But over time this app has grown, and now I feel like it should start to be its own thing. So i'm collecting feedback and thinking whether this should be a (real) standalone camera app... if you have ideas or criticism let me have it (i'm fully aware the "design" isn't great, because it was designed by me!)

I'm planning to keep the app free, and am thinking about open-sourcing it. The only reason I haven't open-sourced it already is because there's one small part that cannot be open-sourced, so it would take me time to make a clone of this app that is missing that part and still compiles & runs. In the meantime if you have any questions about how to do anything in the app i'm happy to share how I did it!

Thanks in advance for your feedback, hope this can help someone.

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

Pages